Installation guide
132 Chapter 8:Cluster Administration
clu2 Up 1 Good
=================== H e a r t b e a t S t a t u s ===================
Name Type Status
------------------------------ ---------- ------------
clu1 <--> clu2 network ONLINE
=================== S e r v i c e S t a t u s =======================
Last Monitor
Restart
Service Status Owner Transition Interval Count
------------- -------- ------------- ---------------- ------------
nfs1 started clu1 16:07:42 Feb 27 15 0
nfs2 started clu2 00:03:52 Feb 28 2 0
nfs3 started clu1 07:43:54 Feb 28 90 0
To monitor the cluster and display status at specific time intervals, invoke clustat with the -i
time
command-line option, where time specifies the number of seconds between status snapshots.
8.2 Starting and Stopping the Cluster Software
Start the cluster software on a cluster system by invoking the cluster start command located in
the System V /etc/rc.d/init directory. For example:
/sbin/service cluster start
Stop the cluster software on a cluster system by invoking the cluster stop command located in
the System V /etc/rc.d/init directory. For example:
/sbin/service cluster stop
The previous command will cause the cluster system’s services to "failover" to the other cluster sys-
tem.
8.3 Removing a Cluster Member
It may become necessary to temporarily remove a member system from the cluster. For example, if a
cluster system experiences a hardware failure, that system will have to be rebooted but prevented from
rejoining the cluster in order to perform maintenance on the system.
Use the /sbin/chkconfig utility to be able to boot a cluster system, without allowing it to rejoin
the cluster. For example:
/sbin/chkconfig --del cluster