Setting up IP addresses for RLINKs on each cluster

Creating objects with the vradmin command requires resolvable virtual IP addresses that set network RLINK connections as host names of the primary and secondary sites.

To set up IP addresses for RLINKS on each cluster

  1. Using the following command, determine whether a node is the CVM master or the slave:
      # vxdctl -c mode

    You must configure rlinks on the CVM master node.

  2. For each RVG running on each cluster, set up a virtual IP address on one of the nodes of the cluster. These IP addresses are part of the RLINK.

    The example assumes for the cluster on the primary site:

    • The public network interface is bge0:1

    • The virtual IP address is 10.10.9.101

    • The net mask is 255.255.255.0

    • # ifconfig bge0:1 plumb
        # ifconfig bge0:1 inet 10.10.9.101 netmask 255.255.255.0
        # ifconfig bge0:1 up

  3. Use the same commands with appropriate values for the interface, IP address, and net mask on the secondary site.

    The example assumes for the secondary site:

    • The public network interface is bge0:1

    • virtual IP address is 10.11.9.102

    • net mask is 255.255.255.0

  4. Define the virtual IP addresses to correspond to a host name in the virtual cluster on the primary site and a host name in the virtual cluster on the secondary site.

    Update the /etc/hosts file on all the nodes on both the primary and secondary sites.

    The examples assume:

    • clus1 has IP address 10.10.9.101

    • clus2 has IP address 10.11.9.102

  5. Use the ping command to verify the links are functional.