Some resource group cluster commands are: |
* clrt register resource-type : Register a
resource type. * clrt register -n node1name,node2name resource-type : Register a resource type to specific nodes. * clrt unregister resource-type : Unregister a resource type. * clrt list -v : List all resource types and their associated node lists. * clrt show resource-type : Display all information for a resource type. * clrg create -n node1name,node2name rgname : Create a resource group. * clrg delete rgname : Delete a resource group. * clrg set -p property-name rgname : Set a property. * clrg show -v rgname : Show resource group information. * clrs create -t HAStoragePlus -g rgname -p AffinityOn=true -p FilesystemMountPoints=/mountpoint resource-name * clrg online -M rgname * clrg switch -M -n nodename rgname * clrg offline rgname : Offline the resource, but leave it in a managed state. * clrg restart rgname * clrs disable resource-name : Disable a resource and its fault monitor. * clrs enable resource-name Re-enable a resource and its fault monitor. * clrs clear -n nodename -f STOP_FAILED resource-name * clrs unmonitor resource-name : Disable the fault monitor, but leave resource running. * clrs monitor resource-name : Re-enable the fault monitor for a resource that is currently enabled. * clrg suspend rgname : Preserves online status of group, but does not continue monitoring. * clrg resume rgname : Resumes monitoring of a suspended group * clrg status : List status of resource groups. * clrs status -g rgname |
Saturday, January 16, 2016
SUN cluster commands
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment