Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cluster commands set

Status
Not open for further replies.

ahmedmt1981

Technical User
Nov 22, 2006
20
AE
Dears
is there any documents explains briefly cluster command set
thanks for you support
 
I am sure there are some documents on the Sun web pages. But here are a few commands to get you going -


SUN CLUSTER 2.2 SYSTEMS
haswitch Physical Logical Switches logical host to physical machine (push or pull)
scadmin switch <cluster> Physical Logical Switches logical host to physical machine (push or pull)
hareg Show registered applications (Oracle?)
hastat Monitor status
pnmstat -l Status NAFO Groups
scconf Check configuration status
scadmin startcluster Physical < cluster> Start cluster with first physical host
scadmin startnode Adds second node to cluster
scadmin stopnode Removes node from cluster – removing last host stops cluster
scdidadm status did devices

To access annex from admin station - tip /dev/term/a -9600
To access server via annex - telnet annex 5002 or 5003


SUN CLUSTER 3 SYSTEMS
/usr/cluster/bin/..
pnmstat -l Status NAFO Groups
scshutdown -y -g0 Shutdown cluster and both servers (to OK prompt)
scswitch –e -j <res> Start resource
scswitch -e -M -j <res> Start monitoring on resource
scswitch –n -j <res> Stop resource
scswitch -n -M -j <res> Stop monitoring on resource
scswitch -S –h <from node> Switch all RG from node
scswitch -z -h <destination_nodename> -g <res-gr> Switches RG to physical machine (push or pull)
scswitch -Z Switch all RG to their primary nodes
scswitch -Z -g < res-gr> Bring group online on primary node
sccheck like hacheck in 1.3
scstat Monitor status
scstat -g Monitor status of RG and resources
scstat -i Monitor status of IPMP groups
scstat -n Monitor status of nodes
scstat -W Monitor status of private interconnects
scrgadm Resource group admin (like hareg)
scrgadm –p Show existing config
scrgadm –pvv Show existing config (verbose, verbose)
scrgadm –p -g <res-gp> Show existing config for resource group
scrgadm –p -j <res> Show existing config for resource
scrgadm –r -j <res> Remove resource
scrgadm –l –g <res-gp> -y Pingpong_interval=60 set monitoring period, during which failures count as one
scdidadm status did devices

Hope they help.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top