查看当前集群的状态
bash-2.05# hvdisp -a
Local System: gx-sv01-dbRMS
Configuration: /opt/SMAW/SMAWRrms/build/config.us
Resource Type HostName State StateDetails
-----------------------------------------------------------------------------
gx-sv02-dbRMS SysNode Online
gx-sv01-dbRMS SysNode Online
UserApp_Sybase userApp Online
Machine001_UserApp_Sybase andOp gx-sv02-dbRMS
Machine000_UserApp_Sybase andOp gx-sv01-dbRMS Online
ManageProgram000_Cmd_sybase gRes Online
UserApp_App userApp Standby
UserApp_App userApp gx-sv02-dbRMS Online
Machine001_UserApp_App andOp gx-sv01-dbRMS Offline
Machine000_UserApp_App andOp gx-sv02-dbRMS
ManageProgram000_Cmd_App gRes Offline
Ipaddress000_Gls_sybase gRes Online
MountPoint006_Fsys_sybase gRes Online
MountPoint005_Fsys_sybase gRes Online
MountPoint004_Fsys_sybase gRes Online
MountPoint003_Fsys_sybase gRes Online
MountPoint002_Fsys_sybase gRes Online
MountPoint001_Fsys_sybase gRes Online
Ipaddress000_Gls_App gRes Standby
bash-2.05# hvcm -a
The user has invoked the hvcm command with the -a flag on a host where RMS is already running, sending request to start all remaining hosts.
切换主备
hvswitch UserApp_App gx-sv02-dbRMS
没有评论:
发表评论