After you create nodes in the secondary data center by using the OVA file exported from the primary data center, configure the nodes.

About this task

Follow these steps for each node in the secondary data center.

Procedure

Update IP tables.
  1. Verify that the /usr/local/horizon/conf/flags/enable.rabbitmq file exists.

    touch /usr/local/horizon/conf/flags/enable.rabbitmq

  2. In the /usr/local/horizon/scripts/updateiptables.hzn file, update the IP addresses of all nodes in the secondary data center.
    1. vi /usr/local/horizon/scripts/updateiptables.hzn

    2. Find and replace the ALL_IPS line. Specify the IP addresses delimited by a space.

      ALL_IPS="Node1_IPaddress Node2_IPaddress Node3_IPaddress"

    3. Open ports by running this script.

      /usr/local/horizon/scripts/updateiptables.hzn

  3. Configure the nodes for Elasticsearch, RabbitMQ, and Ehcache replication and verify that they are set up correctly.

    See the instructions in Modify the Primary Data Center for Replication and apply them to the nodes in the secondary data center.

    Note that the cron jobs are already disabled.