Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2585132
  • 博文数量: 323
  • 博客积分: 10211
  • 博客等级: 上将
  • 技术积分: 4934
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-27 14:56
文章分类

全部博文(323)

文章存档

2012年(5)

2011年(3)

2010年(6)

2009年(140)

2008年(169)

分类: 系统运维

2009-02-25 21:51:49

记录一些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.
阅读(1238) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~