Replicate Cluster Nodes for Operations Hub

This topic describes how to replicate nodes for Operations Hub in a failover setup.

About this task

In a failover setup, you have to create and maintain identical instances of a computing node. These steps ensure that if the primary node fails, the replica (duplicate node/s) is ready to take over. In the following steps, nodes are synchronized.

Procedure

  1. Repeat all the steps described in this topic: Replicate Cluster Nodes for Proficy Authentication and Configuration Hub.
Export/Import Registry Files from Latest to Previous Installation:
  1. Export IqpTomcat and WebhmiTomcat registry files from the latest installation (Node2).
    1. Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\IqpTomcat.
    2. Right-click IqpTomcat, select Export and save on Node2.
    3. Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\WebhmiTomcat.
    4. Right-click WebhmiTomcat, select Export and save on Node2.
  2. Import IqpTomcat and WebhmiTomcat registry files to the previous installation (Node1).
    1. Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\IqpTomcat.
    2. Right-click IqpTomcat, select Rename and save as IqpTomcat_org.
    3. Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\WebhmiTomcat
    4. Right-click WebhmiTomcat, select Rename and save as WebhmiTomcat_org.
    5. Copy the exported IqpTomcat and WebhmiTomcat registry files from Node2 to the Node1 server.
    6. Double-click and add both the registry files on Node1.
Copy/Paste Hazelcast Password from IqpTomcat_org to IqpTomcat:
  1. Copy HAZELCAST_PASSWORD key value from (renamed) IqpTomcat_org.
    1. On Node1 registry editor, navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\IqpTomcat_Org\Parameters.
    2. Open the Environment key.
    3. Copy the HAZELCAST_PASSWORD value.
  2. Paste HAZELCAST_PASSWORD key value to IqpTomcat.
    1. On Node1 registry editor, navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\IqpTomcat\Parameters.
    2. Paste the HAZELCAST_PASSWORD value to overwrite the existing value.

Results

After completing the steps, you should have successfully replicated the nodes, ensuring synchronization between them.

Play video: