Creating equivalency

Equivalency is a collection of resources that provides the same functions. For example, network adapters can be defined as equivalency so that if one network adapter goes offline, the other network adapter can take over.

Procedure

  1. Run the lsrsrc IBM.NetworkInterface command. This command shows that the IP resource is bound on eth0 (this variable will be used later).
    [root@dmc-1 ~]# lsrsrc IBM.NetworkInterface

  2. Run the following command (on primary node) to bind the virtual IP to the two IPs for the primary and secondary nodes. The eth0 variable was determined in previous step (root authority needed):
    [root@dmc-1 ~]# mkequ netequ IBM.NetworkInterface:eth0:dmc-1,eth0:dmc-2
  3. Display the equivalency information by using the following command:
    [root@dmc-2 ~]# lsequ -e netequ