Hub/Switch Installation Guide

Appendix G High Availability
568 September 2002 HPSS Installation Guide
Release 4.5, Revision 2
The answer tothis problem willdepend fromsite tosite, but one goodway to make this work isto
have a set of intermediate scripts between the crontab file and the commands it executes. These
scriptscouldtest forthe existenceofanyprerequisitefilesand/orfile systemsandonly executethe
associated command ifall the prerequisites aremet. This is exactlythe strategy we recommendfor
the crontab entries for the sfs_backup_util in Section G.7: Metadata Backup Considerations on page
569.
G.6 Monitoring and Maintenance
G.6.1 clstat
Onequick waytoget anoverview ofacluster’scurrentstatusis using/usr/sbin/cluster/clstat. This
utility will report on which nodes are currently a part of the cluster and what interfaces are
currently available on them (boot, service, standby). It can run in either ASCII mode or X mode
depending on what services are available and how it is invoked. Below is a sample ASCII output:
Figure H-17 sample output from ‘clstat -a’
In order for clstat to work, the clinfo daemon must be running. When cluster services are started,
there is an option to start clinfo or not. The default is not to start it, so it will have to be started
purposely in order for clstat to be utilized.
See the clstat man page for more information.