After adding a secondary to the primary EEM server using eiam-clustersetup utility, the sync command from the secondary fails with an error:
C:\Program Files (x86)\CA\SC\EmbeddedEntitlementsManager\bin>java -jar eiam-clustersetup.jar -p eemserver1.cluster.comFeb 2, 2016 1:45:16 PM IclUtil itechLibInitINFO: iTechSDK initialized successfullyINFO - EIAM_HOME [C:\Program Files (x86)\CA\SC\EmbeddedEntitlementsManager\]INFO - IGW_LOC [C:\Program Files (x86)\CA\SC\iTechnology\]INFO - DXHOME [C:\Program Files (x86)\CA\Directory\dxserver/]INFO - Hostname identified as [eemserver2.example.com]EiamAdmin password :INFO - Checking server statusINFO - igateway status [started]INFO - dxserver status [started]Are you sure you want to continue? [Y/N]:Y[eemserver2.example.com]>sync=======================================================INFO - Select current machine hostname=======================================================[Authenticate Error: Authentication Failed, Identity Attempted: EiamAdmin]com.ca.eiam.SafeException: EE_SPONSORERROR iSponsor Error at com.ca.eiam.SafeContext.authenticateWithPassword(SafeContext.java:1683) at com.ca.eiam.clustersetup.FailoverUtility.fetchServerConfiguration(FailoverUtility.java:31) at com.ca.eiam.clustersetup.FailoverConfigurator.startSecondaryFailoverConfiguration(FailoverConfigurator.java:907) at com.ca.eiam.clustersetup.FailoverConfigurator.performAction(FailoverConfigurator.java:380) at com.ca.eiam.clustersetup.FailoverConfigurator.commandPrompt(FailoverConfigurator.java:356) at com.ca.eiam.clustersetup.FailoverConfigurator.main(FailoverConfigurator.java:106)ERROR - EE_SPONSORERROR iSponsor Error[eemserver2.example.com]>
CA EEM on all supported platforms
o Network firewall blocking EEM ports.
o Name lookup (DNS) issues.
Run a connection verification:
The below output is from a successful sync activity through eiam-clustersetup.jar after enabling port TCP/5250 on the Windows firewall between primary and secondary EEM servers:
C:\Program Files (x86)\CA\SC\EmbeddedEntitlementsManager\bin>java -jar eiam-clustersetup.jar -p eemserver1.example.comFeb 2, 2016 2:24:44 PM IclUtil itechLibInitINFO: iTechSDK initialized successfullyINFO - EIAM_HOME [C:\Program Files (x86)\CA\SC\EmbeddedEntitlementsManager\]INFO - IGW_LOC [C:\Program Files (x86)\CA\SC\iTechnology\]INFO - DXHOME [C:\Program Files (x86)\CA\Directory\dxserver/]INFO - Hostname identified as [eemserver2.example.com]EiamAdmin password :INFO - Checking server statusINFO - igateway status [started]INFO - dxserver status [started]Are you sure you want to continue? [Y/N]:y[eemserver2.example.com]>sync=======================================================INFO - Select current machine hostname=======================================================INFO - [1] eemserver1.example.com:509INFO - [2] eemserver2.example.com:509Select Hostname from [1 - 2] : 2INFO - Synchronization levelINFO - [1] [NEW] secondary node is being added first timeINFO - [2] [DELTA] secondary node is being synced to update configurationsSelect Synchronization mode from [1 - 2] : 1=======================================================INFO - Syncing with primary server-------------------------------------------------------Primary server Secondary server-------------------------------------------------------eemserver1.example.com eemserver2.example.com-------------------------------------------------------INFO - Re-configuring of server may lead to loss of data, it is advised to perform a backup of configuration and data store.Are you sure you want to continue? [Y/N]:yINFO - Stopping dxserver serviceINFO - Stopping igateway serviceINFO - Configuring the knowledge group fileINFO - ----------------------------------------------------INFO - The knowledge group file iTechPoz.dxg resides in the directory: C:\Program Files (x86)\CA\Directory\dxserver/\config\knowledge\itechpoz.dxgINFO - Node was removed successfullyINFO - Fetching configuration from eemserver1.example.comINFO - Adding self node [eemserver2.example.com]INFO - Generating: : C:\Program Files (x86)\CA\SC\iTechnology\iAuthority.confINFO - Generating: : C:\Program Files (x86)\CA\SC\iTechnology\iControl.confINFO - Generating: : C:\Program Files (x86)\CA\SC\iTechnology\rootcert.cerINFO - Generating: : C:\Program Files (x86)\CA\SC\iTechnology\rootcert.keyINFO - Generating certificate for host : eemserver1.example.comINFO - Generating file : C:\Program Files (x86)\CA\Directory\dxserver/config\ssld\itechpoz-trusted.pemINFO - Adding failover node [eemserver1.example.com]INFO - Generating: : C:\Program Files (x86)\CA\SC\iTechnology\iControl.confINFO - Configuring DSA itechpoz for host eemserver2.example.comINFO - Configuring the itechpoz knowledge fileINFO - ----------------------------------------------------INFO - The itechpoz knowledge file C:\Program Files (x86)\CA\Directory\dxserver/\config\knowledge\itechpoz.dxc.dxc residesin the directory: {2}INFO - Writing the itechpoz knowledge fileINFO - Configuring DSA itechpoz-eemserver1.example.com for host eemserver1.example.comINFO - Configuring the itechpoz-eemserver1.example.com knowledge fileINFO - ----------------------------------------------------INFO - The itechpoz-eemserver1.example.com knowledge file C:\Program Files (x86)\CA\Directory\dxserver/\config\knowledge\itechpoz-eemserver1.example.com.dxc.dxc resides in the directory: {2}INFO - Writing the itechpoz-eemserver1.example.com knowledge fileINFO - Configuring the knowledge group fileINFO - ----------------------------------------------------INFO - The knowledge group file iTechPoz.dxg resides in the directory: C:\Program Files (x86)\CA\Directory\dxserver/\config\knowledge\itechpoz.dxgINFO - Configuring the settings fileINFO - ----------------------------------------------------INFO - C:\Program Files (x86)\CA\Directory\dxserver/\config\settings\itechpoz.dxcINFO - Clearing secondary server dsa-dbINFO - Starting dxserver serviceINFO - Starting igateway serviceINFO - Run [status] to get server details.[eemserver2.example.com]>exitC:\Program Files (x86)\CA\SC\EmbeddedEntitlementsManager\bin>
EEM Failover Configuration: