Monday, January 27, 2014

Sun Cluster 3.3 Commands

ome Sun Cluster 3.3 commands 


1. Cluster


The command to use is cluster

# cluster status: the status of the cluster nodes.
# cluster show: Displays the cluster parameters.
# cluster shutdown: shuts down the cluster.
# cluster list: list of cluster nodes configured

2. Management of a resource group


The command to use is CLRG

# CLRG list: list of resource groups.
# CLRG list RG: RG group list.
# CLRG status: the status of resource groups.
# CLRG status RG: RG group status.
# CLRG remaster +: reinstate the resources groups to their preferred nodes.
# CLRG switch-n NODE RG: RG group moves to the node NODE.
# CLRG evacuate-n NODE RG: Move all resources NODE node to the other node.
# CLRG offline RG: stop all resources in the group.
# CLRG online RG: starts all resources in the group.
# RG CLRG restart: restarts all the resources of the group.
# CLRG manage RG: Password group under the control of the cluster.
# CLRG unmanage RG: pass the group beyond the control of the cluster.
# CLRG show RG-v: displays the properties of RG Group.

3. Resource Management


The command to use is clrs

# clrs list: list all resources.
# clrs list: list all the resources of the group RG.
# clrs status: the status of all resources.
# RS clrs status: the status of the RS resources.
# clrs RG-g status: the status of all resources group RG.
# clrs disable RS: RS resource stops.
# clrs enable RS: RS resource starts.
# clrs monitor RS: starts monitoring the resource RS.
# clrs unmonitor RS: stop monitoring the resource RS.
# clrs clear-f STOP_FAILED RS: removes the flag STOP_FAILED RS resource.
# clrs show-v RS: displays the properties of the resource RS.
# clrs set-p property = value RS: Changes the value of the property by value proprité

To add a value to a property already defined, it is possible to use + = instead of =

4. Management Logical Hosts


The command to use is clrslh

# clrslh list: list all logical hosts.
# clrslh status: the status of all logical hosts.
# clrslh disable LH: LH stop resource.
# clrslh enable LH: LH starts resources.
# clrslh monitor LH: LH starts monitoring.
# clrslh unmonitor LH: LH stops monitoring.
# LH clrslh clear: removes the error flag of LH.
# clrslh show LH: displays the properties of LH

No comments: