[Linux-cluster] Cluster server maintenance

Gary Romo garromo at us.ibm.com
Thu Jul 3 12:42:37 UTC 2008

I have a two node cluster, RHEL 5, Protocol version: 5.0.1.  Can anyone
the best method, and or explain -u and -q fo the clusvcadm command to me?

Here is what I want to do:

1.  Shutdown the services running;  DBs, apps whatever...
2.  I don't want the services starting on the other node, or anywhere.
3.  We don't want any fencing to take place
4.  We do our maintenance; Patch server, whatever...
5.  Bring the services back up; DBs, apps whatever...

Now the only way I have found to do this so far is to disable the service.

# clusvcadm -d <service_name>     (and maybe that is the only answer)

Man pages do not provide much information

-u    Unlock the cluster's service managers.  This allows services to
transition again.  It will be necessary to re-enable all services in the
stopped state if this is run after clushutdown.

Also a -q or quiet operation, which I am not finding any  information

# clusvcadm -h
Resource Group Control Commands:
       clusvcadm -v                     Display version and exit
       clusvcadm -d <group>             Disable <group>
       clusvcadm -e <group>             Enable <group> on the local node
       clusvcadm -e <group> -F          Enable <group> according to
                                 domain rules
       clusvcadm -e <group> -m <member> Enable <group> on <member>
       clusvcadm -r <group> -m <member> Relocate <group> [to <member>]
       clusvcadm -q                     Quiet operation
       clusvcadm -R <group>             Restart a group in place.
       clusvcadm -s <group>             Stop <group>

Resource Group Locking (for cluster Shutdown / Debugging):
       clusvcadm -l                     Lock local resource group manager.
                                 This prevents resource groups from
                                 starting on the local node.
       clusvcadm -S                     Show lock state
       clusvcadm -u                     Unlock local resource group
                                 This allows resource groups to start
                                 on the local node.

Gary Romo
IBM Global Technology Services
Email: garromo at us.ibm.com
Text message: gromo at skytel.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080703/68bc1dac/attachment.htm>

More information about the Linux-cluster mailing list