记录一些HACMP的常用命令(针对hacmp5.3以前的版本),省得用smit一层层进菜单了。
clshowsrv –v
查询HACMP子系统的状态
clRGinfo
显示资源组目前的状态
cllscf/cltopinfo
显示集群拓扑结构信息
clshowres
显示资源组的配置信息
cllsnw、cllsif
显示集群网络信息
clstat(需要启动clinfoES服务)
显示集群内所有节点运行情况
/usr/sbin/snap –e
collects the hacmp data.
/usr/sbin/rsct/bin/dhb_read –p devicename –r/-t
test the link status of the disk heartbeating path.
clpasswd
Changes a user’s password on each node in the cluster.
cllsdisk
Lists PVIDs of accessible disks in a specified resource chain
cllsvg
List volume groups accessible in a specified resource chain.
cllsparam
Lists runtime parameters.
cl_clstop
Stops cluster services on nodes running C-SPOC.
cl_lsfs
Displays shared filesystem attributes for all cluster nodes.
cl_lsgroup
Displays group attributes for all cluster nodes.
cl_lslv
Displays shared logical volume attributes for cluster nodes.
cl_lsuser
Displays user account attributes for all nodes.
cl_lsvg
Displays shared volume group attributes for cluster nodes.
阅读(1303) | 评论(0) | 转发(0) |