This section provides the procedure for testing 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, become an administrator that provides solaris.cluster.read authorization.
Use the following command:
# clresourcegroup create lhtestgroup # clreslogicalhostname create -g lhtestgroup logicalhostname # clresourcegroup online lhtestgroup
The IP address that is hosted on the device on which an IPMP group is configured.
# ipadm show-if -o all
# ipadm show-if -o all
The resource group (lhtestgroup) should fail over to the secondary node.
Use the following command:
# clnode status lhtestgroup
# clresourcegroup switch -n nodename lhtestgroup
In these commands, nodename is the name of the original primary node.
Use the following command:
# clnode status lhtestgroup