[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] Cluster server maintenance

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

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 about.

# 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 failover
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 manager.
This allows resource groups to start
on the local node.

Gary Romo
IBM Global Technology Services
Email: garromo us ibm com
Text message: gromo skytel com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]