Oracle® Solaris Cluster 4.2 Hardware Administration Manual

Exit Print View

Updated: July 2014, E39726–01
 
 

How to Test Public Network Redundancy

If you perform this test, you can verify that IP addresses failover from one adapter to another adapter within the same IPMP group.

Ensure that the /etc/netmasks file has IP-address subnet and netmask entries for all logical hostnames. If necessary, edit the /etc/netmasks file to add any missing entries.

Before You Begin

To perform this procedure, assume a role that provides solaris.cluster.read RBAC authorization.

  1. Create a logical hostname resource group which is the failover hostname to use the IPMP groups on the system.

    Use the following command:

    # clresourcegroup create lhtestgroup
    # clreslogicalhostname create -g lhtestgroup logicalhostname
    # clresourcegroup online lhtestgroup
    logicalhostname

    The IP address that is hosted on the device on which an IPMP group is configured.

  2. Determine the adapter on which the logicalhostname exists.
    # ipadm show-if -o all
  3. Disconnect one public network cable from the adapter you identified in Step 2.
  4. If there are no more adapters in the group, skip to Step 7.
  5. If there is another adapter in the group, verify that the logical hostname failed over to that adapter.
    # ipadm show-if -o all
  6. Continue to disconnect adapters in the group, until you have disconnected the last adapter.

    The resource group (lhtestgroup) should fail over to the secondary node.

  7. Verify that the resource group failed over to the secondary node.

    Use the following command:

    # clnode status lhtestgroup
  8. Reconnect all adapters in the group.
  9. From the initial primary node, return ownership of the resource group to the initial primary node.
    # clresourcegroup switch -n nodename lhtestgroup

    In these commands, nodename is the name of the original primary node.

  10. Verify that the resource group is running on the original primary node.

    Use the following command:

    # clnode status lhtestgroup