Setup environment first:
export EIAM_HOME=/opt/CA/SharedComponents/EmbeddedEntitlementsManager
export JAVA_HOME=$EIAM_HOME/jre
export PATH=$EIAM_HOME/jre/bin:$PATH
On the primary EEM server:
- cd $EIAM_HOME/bin
- run 'java -jar eiam-clustersetup.jar'
- Type Y and press Enter
- Type 'remove' and press Enter
- Type the number corresponding to the secondary CA EEM Server that you want to remove and press Enter
- Type Y and press Enter
- If you have more than one secondary EEM server, repeat steps previous 3 steps for each additional server until they are all removed.
- Type 'list' and press Enter to confirm that the primary EEM server is the only one listed.
- Type 'resetprimary' and press Enter
- Press Enter to accept the default DSA port 509 unless you are using an alternate port. If using an alternate port, enter that port first and then press enter.
- Select [1] Internal failover mechanism for the HA mode
- Type 'Y' and press Enter
- Once the prompt returns, type 'exit' and press Enter
On each secondary EEM server
- cd to $EIAM_HOME/bin
- run 'java -jar eiam-clustersetup.jar'
- Type 'Y' and press Enter
- Type 'resetprimary' and press Enter
- Press Enter to accept the default DSA port 509 unless you are using an alternate port. If using an alternate port, enter that port first and then press enter.
- Select [1] Internal failover mechanism for the HA mode
- Type 'Y' and press Enter
- Type 'exit' and press Enter
Restart iGateway and DXserver services if needed.
Login to each EEM URL to make sure all EEM nodes function properly. EEM servers can now be upgraded. Once the upgrade is done, we can put them back in multi-write again.
Setup environment again:
export EIAM_HOME=/opt/CA/SharedComponents/EmbeddedEntitlementsManager
export JAVA_HOME=$EIAM_HOME/jre
export PATH=$EIAM_HOME/jre/bin:$PATH
On the primary EEM server:
- cd $EIAM_HOME/bin
- run 'java -jar eiam-clustersetup.jar'
- Type Y and press Enter
- Type 'add' and press Enter
- Type the FQDN of the secondary EEM server and press Enter
- Press Enter to accept the default DSA port 509 unless you are using an alternate port. If using an alternate port, enter that port first and then press enter.
- Type Y and press Enter
- Repeat the previous four steps to add another secondary server to the primary server
On each secondary EEM server:
- cd $EIAM_HOME/bin
- run 'java -jar eiam-clustersetup.jar -p <fullyqualifiedhostname_of_primaryserver>'
- Type the EiamAdmin password and press Enter
- Type Y and press Enter
- Type 'sync' and press Enter
- Type the number corresponding to the current hostname (name of secondary server you are on)
- Select [2] [DELTA] secondary node is being synced to update configurations
- Type Y and press Enter
Restart iGateway and DXserver services if needed.
Login to each EEM URL to make sure all EEM nodes function properly. To test the customer, you could make a minor change to the description of a policy on one EEM node, to see if the change shows up on the other server. Delete it change on the other server, to make sure its reflected the same way on the first server.