You can use the pnmptor(1M) and pnmrtop(1M) commands to check the status of local backup groups only, and the pnmstat(1M) command to check the status of local or remote backup groups.
Run the pnmptor(1M) command to find the backup group to which an adapter belongs.
The pnmptor(1M) command maps a pseudo adapter name that you supply to a real adapter name. In this example, the system output shows that pseudo adapter name nafo0 is associated with the active adapter hme2:
phys-hahost1# pnmptor nafo0 hme2 |
Run the pnmrtop(1M) command to find the active adapter associated with a given backup group.
In this example, the system output shows that adapter hme1 belongs to backup group nafo0:
phys-hahost1# pnmrtop hme1 nafo0 |
Run the pnmstat(1M) command to determine the status of a backup group.
Use the -c option to determine the status of a backup group on the local host:
phys-hahost1# pnmstat -c nafo0 OK NEVER hme2 |
Use the following syntax to determine the status of a backup group on a remote host:
phys-hahost1# pnmstat -sh remotehost -c nafo1 OK NEVER qe1 |
It is important to use the -s and -h options together. The -s option forces pnmstat(1M) to communicate over the private interconnect. If the -s option is omitted, pnmstat(1M) queries over the public interconnect. Both remotehost and the host on which you run pnmstat(1M) must be cluster members.
Whether checking the local or remote host, the pnmstat(1M) command reports the status, history, and current active adapter. See the man page for more details.