AIX PowerHA (HACMP) Commands
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
|
|
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的更多相关文章
- (转)PowerHA完全手册(一,二,三)
PowerHA完全手册(一) 原文:http://www.talkwithtrend.com/Article/39889-----PowerHA完全手册(一) http://www.talkwitht ...
- 双机倒换(NewStartHA,SKYbility,hacmp,hp unix双机)
1.Suse linux (NewStartHA): # cli cli:~>service-migrate Select service to migrate: ...
- RAC的QA
RAC: Frequently Asked Questions [ID 220970.1] 修改时间 13-JAN-2011 类型 FAQ 状态 PUBLISHED Appli ...
- Configuring SSL for SAP Host Agent on UNIX
https://help.sap.com/viewer/141cbf7f183242b0ad0964a5195b24e7/114/en-US/8d12f7b9244b44219bd14d619d3a2 ...
- AIX下解决POWERHA的脑裂问题
一.安装创建并发vg时必需的软件包clvm包,该包安装.升级.后必须重启os clvm包的描述:Enhanced Concurrent Logical Volume Manager 软件包在aix61 ...
- 通过 SSH 隧道方式图形化连接 AIX 服务器
跳转到主要内容 登录 (或注册) 中文 [userid] IBM ID: 密码: 保持登录. 单击提交则表示您同意developerWorks 的条款和条件. 查看条款和条件. 需要一个 IBM ID ...
- HACMP 学习笔记--转载自wangjialiang-csdn博客
An41 教程: Ha: 初始阶段的规划最重要 第一部分:概念和模型 Ha 目标:掩盖和消除计划和非计划的宕机 Eliminate SPOF :消除单节点故障, single point of fai ...
- aix 常用命令
官网上的介绍: AIX 常用命令汇总 http://www.ibm.com/developerworks/cn/aix/library/au-dutta_cmds.html 我们先SSH 到AIX 系 ...
- AIX 5L 系统管理技术 —— 存储管理——卷组
卷组 在安装系统时,就会创建一个rootvg卷组.包含自带硬盘(内置硬盘)和系统逻辑卷,一个系统只能有一个rootvg卷组.一般情况下rootvg卷组最好只包含自带硬盘. 一.创建卷组 在创建卷组之前 ...
随机推荐
- MSSQL复制表操作
1:复制表结构及数据到新表 select * into 目的数据库名.dbo.目的表名 from 原表名 select * into my0735home.dbo.infoMianTest from ...
- 用java实现单链表
对于一个单链表来说,要求有最基本的数据节点以及一些重要的方法. 方法应该有增删改查.定位.输出.获取链表长度.排序.链表读入.链表输出.下面是我用java写的单链表 public class List ...
- NLP(三)_统计语言模型
概念 统计语言模型:是描述自然语言内在的规律的数学模型.广泛应用于各种自然语言处理问题,如语音识别.机器翻译.分词.词性标注,等等.简单地说,语言模型就是用来计算一个句子的概率的模型 即P(W1,W2 ...
- 51nod 1503 多线程dp
http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1503 1503 猪和回文 题目来源: CodeForces 基准时间限制 ...
- OSI七层模型及应用
应用层:提供访问网络服务的接口.例如telnet. 表示层:提供数据格式转化服务.例如压缩和解压缩. 会话层:提供回话实体的连接服务,进行访问验证和会话管理.例如服务器验证用户登录和断点续传. 传输层 ...
- 通过ISBN获取豆瓣详细书籍资料
手里有四十几万的图书馆书籍的isbn编号,通过isbn去请求豆瓣书籍的详细资料. # -*- coding: utf-8 -*- # @Time : 18-10-2 下午10:27 # @Author ...
- Superset 初探
安装都是借鉴的别人的,已经剪裁下来.到自己文件夹里了. 下面介绍.如何启动superset ,BI 分析工具.这是我以前的强项.应该没问题. 问题: 安装好了之后,再打开localhost 就拒绝访问 ...
- Tiny210用户手册笔记
核心板 CPU 处理器: Samsung S5PV210,基于 CortexTM-A8,运行主频 1GHz 内置 P ...
- python django框架(一)
s4day63内容回顾: 1. 安装 2. 创建用户 + 授权 3. 连接 - 数据库 终端创建数据库(字符编码) - 数据表 终端 ORM pymysql create ...)engine=inn ...
- 用百度地图API打造方便自己使用的手机地图
有钱人咱就不说了,因为偶是个穷银--因为穷,所以去年买的Huawei C8650+到现在还在上岗,对于没有钱买好的配置的手机的童鞋来说,类似于百度,谷歌,高德等商家的地图在自己的机器上跑起来确实是有点 ...