Endeca Application : How to remove host entry from AppConfig files and EAC?
AppConfig.xml import set of XML files related to host configuration, process definition etc. LiveDgraphCluster.xml contains host and port entry related to multiple Dgraph and this file is the potential candidate to add/remove host entry.
Behaviour:-
Suppose one new MDEX host added as per need basis and after sometimes extra MDEX host needs to be removed from LiveDgraphCluster.xml.
<host id="LiveMDEXHostB" hostName="<<MDEXHost IP>>" port="8888" />
Run below command. This command does not remove any host from EAC.
./runncommand.sh --update-definition
Solution :-
--update-definition can only add Dgraphs and MDEXHosts by updating the LiveDgraphCluster.xml but not remove it.
To remove MDEXHosts, below command needs to be run explicitly
eaccmd remove-host --app CRS --host localhost
Behaviour:-
Suppose one new MDEX host added as per need basis and after sometimes extra MDEX host needs to be removed from LiveDgraphCluster.xml.
<host id="LiveMDEXHostB" hostName="<<MDEXHost IP>>" port="8888" />
Run below command. This command does not remove any host from EAC.
./runncommand.sh --update-definition
Solution :-
--update-definition can only add Dgraphs and MDEXHosts by updating the LiveDgraphCluster.xml but not remove it.
To remove MDEXHosts, below command needs to be run explicitly
eaccmd remove-host --app CRS --host localhost

Discussion (5)
Technical questions and architecture discussionsJoin the Discussion