Warning: Undefined array key "cperpage" in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 230

Warning: Undefined variable $output in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 300

Warning: Undefined variable $fixed_tags in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 301

Warning: Undefined variable $isshowdots in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 302

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 305

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 308

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 311

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $more_text_link in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320
HACMP&Cluster的常用命令 – 理想社会

HACMP&Cluster的常用命令

H

1、查看HACMP配置情况
# /usr/es/sbin/cluster/utilities/cllscf 显示群集拓朴
# /usr/es/sbin/cluster/utilities/cllsclstr 显示群集定义
# /usr/es/sbin/cluster/utilities/cllsnode 按节点显示拓朴信息
# /usr/es/sbin/cluster/utilities/cllsnw 按网络名称显示拓朴信息
# /usr/es/sbin/cluster/utilities/cllsif 按网卡显示拓朴信息
# /usr/es/sbin/cluster/utilities/clshowres 显示资源组信息

2、查看cluster运行情况
/usr/sbin/cluster/clstat

3、启动HACMP
# smitty clstart

4、停止HACMP:
# smitty clstop
注:有三种停止方式:
graceful:只停止本节点上HACMP的运行,并释放由本节点管理的资源(允许其它节点接管)。
graceful with takeover:停止本节点上HACMP的运行,释放资源,让其他节点接管。
forced:停止本节点上HACMP的运行,但不释放资源。

5、查看Cluster的进程状态:
# ps -ef | grep cluster

6、查看Cluster的日志及错误信息:
# tail -f /tmp/hacmp.out
# more /var/adm/cluster.log

7、查看Cluster运行的历史记录:
# cd /usr/sbin/cluster/history
注:此目录下存放着每天的Cluster运行记录

8、查看Cluster运行时的网络情况及资源组的使用情况:
HACMP启动之前:
# netstat -i
此时应可以看到boot和standby地址
# lsvg -o
此时只能看到本地的VG
HACMP启动之后:
# netstat -i
此时应可以看到service和standby地址
# lsvg -o
此时应可以看到本地的VG及共享VG

Cluster的配置参数:
参数名称参数值
Cluster ID
Cluster Name
Node Name
Resource Group Name
Node RelationshipCascadingcascading
Participating Node Names
Service IP label
Filesystems
Filesystems Consistency Checkfsckfsck
Filesystems Recovery MethodSequentialsequential
Volume Groups
Application Servers
Start s cript
Stop s cript

检查心跳线是否已经配置好:
1、在两台上分别输入如下命令:
S85_1# cat /etc/hosts >/dev/tty0
S85_2# cat

About the author

Add comment

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

By now163

Your sidebar area is currently empty. Hurry up and add some widgets.