Sunday, April 10, 2016

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 en... thumbnail 1 summary
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

Remove host using eaccmd command



6 comments

  1. Hi Ajay,

    I have a doubt.
    I changed the existing hostname to new hostname in all endeca services. I backup the state folder and restart all the services.I just re-Initialised the endeca-app. I try to login in EndecaXM for the App. Not able to view the Experience Manager, EAC admin console,Reports,Search Tools,Application Settings. just showing the blank page. not able to find in log.

    kindly help me
    Thanks

    ReplyDelete
    Replies
    1. Hi Mohan,

      Which host name has changed in terms of mdex, ITL or everything in one box?What are different places where you made changes?

      Thanks,
      Ajay Agrawal

      Delete
    2. Machine hostname had changed.so, i changed hostname in endeca services also. everything in one box.In PF,TF,CAS and in endeca App script folder(XML files)

      Delete
    3. This happens whenever you do not have any Endeca Application created. was endeca application re-initialization successful. Seems like Application creation failed.

      I hope this helps.

      Thanks,
      Ajay Agrawal

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. The main issue is, what do you do in the event that you overlook the password yourself? Is the record always blocked off?, Can You recoup the Lost Password? password removal

    ReplyDelete

Text Widget