The hastat(1M) program displays the current state of the configuration. The program displays status information for the hosts, logical hosts, private networks, public networks, data services, local disks, and disksets, along with the most recent error messages. The hastat(1M) program extracts Sun Cluster-related error messages from the /var/adm/messages file and outputs the last few messages from each host if -m is specified. Because the recent error messages list is a filtered extract of the log messages, the context of some messages might be lost. Check the /var/adm/messages file for a complete list of the messages. The following pages show an example of output from hastat(1M):
# hastat -m 10 HIGH AVAILABILITY CONFIGURATION AND STATUS ------------------------------------------- LIST OF NODES CONFIGURED IN <ha-host1> CLUSTER phys-host1 phys-host2 CURRENT MEMBERS OF THE CLUSTER phys-host1 is a cluster member phys-host2 is a cluster member CONFIGURATION STATE OF THE CLUSTER Configuration State on phys-host1: Stable Configuration State on phys-host2: Stable UPTIME OF NODES IN THE CLUSTER uptime of phys-host1: 12:47pm up 12 day(s), 21:11, 1 user, load average: 0.21, 0.15, 0.14 uptime of phys-host2: 12:46pm up 12 day(s), 3:15, 3 users, load average: 0.40, 0.20, 0.16 |
LOGICAL HOSTS MASTERED BY THE CLUSTER MEMBERS Logical Hosts Mastered on phys-host1: ha-host-1 Loghost Hosts for which phys-host1 is Backup Node: ha-host2 Logical Hosts Mastered on phys-host2: ha-host2 Loghost Hosts for which phys-host2 is Backup Node: ha-host1 LOGICAL HOSTS IN MAINTENANCE STATE None STATUS OF PRIVATE NETS IN THE CLUSTER Status of Interconnects on phys-host1: interconnect0: selected interconnect1: up Status of private nets on phys-host1: To phys-host1 - UP To phys-host2 - UP Status of Interconnects on phys-host2: interconnect0: selected interconnect1: up Status of private nets on phys-host2: To phys-host1 - UP To phys-host2 - UP STATUS OF PUBLIC NETS IN THE CLUSTER Status of Public Network On phys-host1: bkggrp r_adp status fo_time live_adp nafo0 le0 OK NEVER le0 Status of Public Network On phys-host2: bkggrp r_adp status fo_time live_adp nafo0 le0 OK NEVER le0 |
STATUS OF SERVICES RUNNING ON LOGICAL HOSTS IN THE CLUSTER Status Of Registered Data Services q: Off p: Off nfs: On oracle: On dns: On nshttp: Off nsldap: On Status Of Data Services Running On phys-host1 Data Service HA-NFS: On Logical Host ha-host1: Ok Status Of Data Services Running On phys-host2 Data Service HA-NFS: On Logical Host ha-host2: Ok Data Service "oracle": Database Status on phys-host2: SC22FILE - running; No Status Method for Data Service "dns" RECENT ERROR MESSAGES FROM THE CLUSTER Recent Error Messages on phys-host1 ... Recent Error Messages on phys-host2 ... |