Tuesday, April 19, 2016

How to Update EAC after updating Endeca Application Configuration?

Endeca Application Configuration is set using AppConfig.xml and available under <<Endeca_App>>/config/script. AppConfig.xml i... thumbnail 1 summary
Endeca Application Configuration is set using AppConfig.xml and available under <<Endeca_App>>/config/script. AppConfig.xml is devided into multiple files and added as different xml under same folder.

How to Update Application Configuration

1. Navigate to <<Endeca_App>>/config/script folder.
2. Change LiveDgraphCluster.xml and updated port
  <dgraph id="DgraphA1" host-id="LiveMDEXHostA" port="17000"
          post-startup-script="LiveDgraphPostStartup">
    <properties>
      <property name="restartGroup" value="1" />
      <property name="DgraphContentGroup" value="Live" />
    </properties>
    <log-dir>./logs/dgraphs/DgraphA1</log-dir>
    <input-dir>./data/dgraphs/DgraphA1/dgraph_input</input-dir>
    <update-dir>./data/dgraphs/DgraphA1/dgraph_input/updates</update-dir>
  </dgraph>

3. Run  ./runcommand.sh --update-definition under control folder and the following output can be seen.

$ ./runcommand.sh --update-definition
[04.19.16 14:31:09] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
[04.19.16 14:31:10] INFO: Updating definitions for dgraphs in restart group '1'.
[04.19.16 14:31:10] INFO: Stopping component 'DgraphA1'.
[04.19.16 14:31:12] INFO: Updating definition for component 'DgraphA1'.
[04.19.16 14:31:16] INFO: [LiveMDEXHostA] Starting component 'DgraphA1'.
[04.19.16 14:31:35] INFO: Publishing Workbench 'live' configuration to MDEX 'DgraphA1'
[04.19.16 14:31:35] INFO: Job #: update-dgraph-1461094295257 Sending update to server  - file: /tmp/soap-mdex536313773579745758.xml
[04.19.16 14:31:36] INFO: The request to the Dgraph at localhost.localdomain:17000 was successfully sent. The return code was : 200
[04.19.16 14:31:37] INFO: Definition updated.

4. Verify the changes - Navigate to Endeca experience manager -> EAC Admin Console and expand LiveMDEXHostA component as below screen shot

Endeca Experience manager - EAC Admin console - LiveMDEX Host configuration







From Author

Was this post resolve the solution you are looking for? what do you think about this solution? Provide your comments

No comments

Post a Comment

Note: Only a member of this blog may post a comment.

Text Widget