PowerHA(HACMP) Commands
How to start cluster daemons (options in that order:
 clstrmgr, clsmuxpd, broadcast message, clinfo, cllockd)
clstart -m -s -b -i -l
How to show cluster state and substate (depends on clinfo)
 clstat
SNMP-based tool to show cluster state
 cldump

Similar to cldump, perl script to show cluster state
 cldisp

How to list the local view of the cluster topology
 cltopinfo
How to list the local view of the cluster subsystems
 clshowsrv -a
How to show all necessary info about HACMP
 clshowsrv -v
How to show HACMP version
 lslpp -L | grep cluster.es.server.rte
How to verify the HACMP configuration
 /usr/es/sbin/cluster/diag/clconfig
-v -O                                                                  
                                 
How to list app servers configured including start/stop scripts
 cllsserv
How to locate the resource groups and display their status
 clRGinfo -v
How to rotate some of the log files
 clcycle
A cluster ping program with more arguments
 cl_ping
Cluster rsh program that take cluster node names as argument
 clrsh
How to find out the name of the local node
 get_local_nodename
rHow to check the HACMP ODM
 clconfig
How to put online/offline or move resource groups
 clRGmove
How to list the resource groups
 cllsgrp
How to create a large snapshot of the hacmp configuration
 clsnapshotinfo
How to show short resource group information
 cllsres
How to list the cluster manager state
 lssrc -ls clstrmgrES
Cluster manager states

  • ST_NOT_CONFIGURED Node never started
  • ST_INIT Node configured but down - not  running
  • ST_STABLE Node up and running
  • ST_RP_RUNNING
  • ST_JOINING
  • ST_BARRIER
  • ST_CBARRIER
  • ST_VOTING
  • ST_RP_FAILED Node with event error
How to show heartbeat information
 lssrc -ls topsvcs
How to check logs related to hacmp
 odmget HACMPlogs
How to list all information from topology HACMP
 lssrc -ls topsvcs
How to show all info about group
  lssrc -ls grpsvcs
How to list the logs
 cllistlogs
How to list the resources defined for all resource group
 clshowres
How to show resource information by resource group
 clshowres -g'RG'
How to show resource information by node
 clshowres -n'NODE'
How to locate the resource groups and display status (-s)    
 clfindres
How to list interface name/interface device   name/netmask      associated with a specified ip label / ip address of a specific 
node
 clgetif
Cluster verification utility
 clverify
How to list cluster topology information
 cllscf
X utility for cluster configuration
 xclconfig
X utility for hacmp management 
 xhacmpm
X utility for cluster status
 xclstat
How to force shutdown cluster immediately without releasing resources
 lclstop -f -N
How to do graceful shutdown immediately with no takeover
 clstop -g -N
How to do graceful shutdown immediately with takeover
 clstop -gr -N
How to sync the cluster topology
 cldare -t
How to do the mock sync of topology
 cldare -t -f
How to sync the cluster resources
 cldare -r
How to do the mock sync of resources
 cldare -r -f
How to list the name and security level of the cluster
 cllsclstr
How to list the info about the cluster nodes
 cllsnode
How to list info about node69
 cllsnode -i node69
How to list the PVID of the shared hard disk for resource group dataRG
 cllsdisk -g dataRG
How to list all cluster networks
 cllsnw
How to list the details of network ether1
 cllsnw -n ether1
How to show network ip/nonip interface information
 cllsif
How to list the details of network adapter node1_service
 cllsif -n node1_service
How to list the shared vgs which can be accessed by all nodes
 cllsvg
How to list the shared vgs in resource group dbRG
 cllsvg -g dbRG
How to list the shared lvs
 cllslv
How to list the shared lvs in the resource group dbRG
 cllslv -g dbRG
How to list the PVID of disks in the resource group appRG
 cllsdisk -g appRG
How to list the shared file systems
 cllsfs
How to list the shared file systems in the resource group sapRG
 cllsfs -g sapRG
How to show info about all network modules
 cllsnim
How to show info about ether network module
 cllsnim -n ether
How to list the runtime parameters for the node node1
 cllsparam -n node1
How to add a cluster definition with name dcm and id 3
 claddclstr -i 3 -n dcm
How to create resource group sapRG with nodes n1,n2 in cascade
 claddgrp -g sapRG -r cascading -n n1 n2
Creates an application server ser1 with startscript as /usr/start and stop script as /usr/stop
 claddserv -s ser1 -b /usr/start -e /usr/stop
How to change cluster definitions name to dcmds and id to 2
 clchclstr -i 2 -n dcmds
How to change the cluster security to enhanced
 clchclstr -s enhanced
How to delete the resource group appRG and related resources
 clrmgrp -g appRG
How to remove the node node69
 clrmnode -n node69
How to remove the adapter named node69_svc
 clrmnode -a node69_svc
How to remove all resources from resource group appRG
 clrmres -g appRG
How to remove the application server app69
 clrmserv app69
How to remove all applicaion servers
 clrmserv ALL
How
to list the nodes with active cluster manager processes from cluster
manager on node node1clgetaddr node1 returns a pingable address from
node node1
 clgetactivenodes -n node1
How to list the info about resource group sapRG
 clgetgrp -g sapRG
How to list the participating nodes in the resource group sapRG
 clgetgrp -g sapRG -f nodes
How to get the ip label associated to the resource group
  clgetip sapRG
How to list the network for ip 192.168.100.2, netmask 255.255.255.0
 clgetnet 192.168.100.2 255.255.255.0
How to list the VG of LV nodelv
 clgetvg -l nodelv
How to add node5 to the cluster
 clnodename -a node5
How to change the cluster node name node5 to node3
 clnodename -o node5 -n node3

AIX PowerHA (HACMP) Commands的更多相关文章

  1. (转)PowerHA完全手册(一,二,三)

    PowerHA完全手册(一) 原文:http://www.talkwithtrend.com/Article/39889-----PowerHA完全手册(一) http://www.talkwitht ...

  2. 双机倒换(NewStartHA,SKYbility,hacmp,hp unix双机)

    1.Suse linux  (NewStartHA):                # cli cli:~>service-migrate Select service to migrate: ...

  3. RAC的QA

    RAC: Frequently Asked Questions [ID 220970.1]   修改时间 13-JAN-2011     类型 FAQ     状态 PUBLISHED   Appli ...

  4. Configuring SSL for SAP Host Agent on UNIX

    https://help.sap.com/viewer/141cbf7f183242b0ad0964a5195b24e7/114/en-US/8d12f7b9244b44219bd14d619d3a2 ...

  5. AIX下解决POWERHA的脑裂问题

    一.安装创建并发vg时必需的软件包clvm包,该包安装.升级.后必须重启os clvm包的描述:Enhanced Concurrent Logical Volume Manager 软件包在aix61 ...

  6. 通过 SSH 隧道方式图形化连接 AIX 服务器

    跳转到主要内容 登录 (或注册) 中文 [userid] IBM ID: 密码: 保持登录. 单击提交则表示您同意developerWorks 的条款和条件. 查看条款和条件. 需要一个 IBM ID ...

  7. HACMP 学习笔记--转载自wangjialiang-csdn博客

    An41 教程: Ha: 初始阶段的规划最重要 第一部分:概念和模型 Ha 目标:掩盖和消除计划和非计划的宕机 Eliminate SPOF :消除单节点故障, single point of fai ...

  8. aix 常用命令

    官网上的介绍: AIX 常用命令汇总 http://www.ibm.com/developerworks/cn/aix/library/au-dutta_cmds.html 我们先SSH 到AIX 系 ...

  9. AIX 5L 系统管理技术 —— 存储管理——卷组

    卷组 在安装系统时,就会创建一个rootvg卷组.包含自带硬盘(内置硬盘)和系统逻辑卷,一个系统只能有一个rootvg卷组.一般情况下rootvg卷组最好只包含自带硬盘. 一.创建卷组 在创建卷组之前 ...

随机推荐

  1. lua笔记之userdata

    1.一直使用框架里封装好的c库,想着自己一点一点的写些例子,学习下,以后需要c库,可以自己写了. 下边是一个简单的userdata的例子--数组操作. newarray.c #include &quo ...

  2. java 枚举类型 enum

    在java SE5中添加了枚举类型,即enum关键字.在这之前,当你需要创建一个整形常量集时,但是这些枚举值并不会必然的将其自身的取值限制在这个常量集的范围之内,因此这样做的显得不安全,也不方便使用. ...

  3. antd 表单双向绑定的研究

    痛点 在使用antd的表单时,大家觉得不够清爽,总结如下: 大量的模板语法,需要一定的学习成本. 需要手动地进行数据绑定,使用大量的onChange/setFieldsValue去控制数据. 无法通过 ...

  4. echarts的散点图

    目前页面中有一个故障数据,做成散点图的效果,打算用echarts 来实现,国内的图表类其实选择挺多的,个人觉得echarts是比较好用的,来看看它有什么优点,一时中文的,联合百度地图,很多都对国内很友 ...

  5. display:inline-block 和 float 水平排列区别?

    文档流(Document flow):浮动元素会脱离文档流,并使得周围元素环绕这个元素.而inline-block元素仍在文档流内.因此设置inline-block不需要清除浮动.当然,周围元素不会环 ...

  6. Hibernate 悲观锁,乐观锁

    业务逻辑的实现过程中,往往需要保证数据访问的排他性.因此,我们就需要通过一些机制来保证这些数据在某个操作过程中不会被外界修改,这样的机制,在这里,也就是所谓的“锁”,即给我们选定的目标数据上锁,使其无 ...

  7. Idea_00_资源贴

    一.精选资料 tengj/IntelliJ-IDEA-Tutorial IntelliJ IDEA 使用教程-极客学院 二.参考资料 eclipse&Myeclipse&Intelli ...

  8. 【CSAPP】二、信息的表示和处理

    三种重要的数字表示:无符号 . 补码 . 浮点数. [一]信息存储 最小单位是字节, 在操作系统层面,只需要关注地址.系统将存储器空间划分为更可管理的单元,存放不同的程序对象(程序数据.指令.控制信息 ...

  9. C++中关于标准输出流cout中使用递增运算符的问题

    今天听同学提起一个问题,在C++中运行下面的语句会得到什么结果: ; cout << a++ << a++ << a++; 起初我个人想当然地认为会输出012,然而 ...

  10. 限流之令牌桶算法——RateLimiter官方文档

    原文链接 作者:Dimitris Andreou  译者:魏嘉鹏 校对:方腾飞 RateLimiter 从概念上来讲,速率限制器会在可配置的速率下分配许可证.如果必要的话,每个acquire() 会阻 ...