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
- Using the following command, determine whether a node is the CVM master or the slave:
# vxdctl -c mode
You must configure RLINKs on the respective node.
- For each Replicated Volume Group (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 public_NIC1:2
The virtual IP address is 10.10.9.101
The net mask is 255.255.255.0
# ifconfig en0 10.10.9.101 netmask 255.255.255.0 \
broadcast 10.180.95.255 alias
# ifconfig en0 up
- 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 public_NIC1:1
virtual IP address is 10.11.9.102
net mask is 255.255.255.0
- 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.
- Use the ping command to verify the links are functional.