免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1879 | 回复: 0
打印 上一主题 下一主题

MC/ServiceGuard Commands [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-12 22:15 |只看该作者 |倒序浏览

Overview
The following items are intended to assist with System Administration in an MC/ServiceGuard environment.  This information is targeted to Operations Troublshooters, System Administrators, and MCSG Administrators.  It is not a comprehensive list of Administrative tasks.  It is intended to supplement the MC/ServiceGuard documentation, and the troubleshooting information found in the student workbook from the MCSG training.  The following references apply to the A.10.10 version of  MC/ServiceGuard which works in conjunction with HP-UX version 10.20.
MC/ServiceGuard Commands
The following table contains a brief and simple explanation of the unix commands used to configure and manage MC/ServiceGuard.  See the Unix “man” pages for more information and the syntax to execute the commands

Comnmands
Supported Options
Description and Specific Options
cmapplyconf
fpvCP
Recompile and distribute Cluster binary configuration file.  
This is the Cluster “executable” file.
-f    Force the distribution of the binary file, even if one already exists.
cmcheckconf
pvCP
Syntax check the Cluster and Application Package configuration files.
cmhaltcl
fv
Halt a ServiceGuard Cluster.
-f    Halt all Application Packages, then halt the Cluster.
      If a Package halt fails, then the cluster halt also fails.
cmhaltnode
fv
Halt a ServiceGuard Node (remove it from the Cluster).
cmhaltpkg
nv
Halt a ServiceGuard Application Package.
cmhaltserv

Halt a ServiceGuard Service contained in an Application Package.
cmmakepkg
p or s
Create a ServiceGuard Application Package template file.  Two kinds are available.
-p    Create a sample ASCII package configuration file.
-s    Create a sample package control script.
cmmodnet
a or r
i
Attach (-a) or remove (-r) a relocatable IP to/from a LAN interface (IP subnet).
-i    IP address of relocatable host name.
cmmodpkg
d or e
nv
Enable (-e) or disable (-d) switching attributes for an Application Package.
May be done at the Node level (-n), or globally (no option).
cmquerycl
clnvC
Gather information from cluster Nodes and create the ASCII Cluster configuration file.
-l  lvm    Display LVM information only.
-l  net     Display network information only.
cmruncl
fnv
Start up a ServiceGuard Cluster.
-f    Force Cluster start up without warning message and prompt.
cmrunnode
v
Start up a Cluster Node (have it join an active Cluster).
cmrunpkg
nv
Start up a ServiceGuard Application Package.
cmrunserv
rR
Start up a Service in a ServiceGuard Application Package.
-r    Attempt to restart a failed Service “n” number of times before halting Package.
-R    Attempt to restart the Service an unlimited number of times.
cmviewcl
lnpv
Display current Cluster and Application Package information.
-l  cluster      Limit display to cluster information.
-l  node         Limit display to node information.
-l  package    Limit display to package information.
cmscancl
v
Gather system configuration information from nodes with MC/ServiceGuard or MC/Lock Manager installed
This command is a configuration report and diagnostic tool which gather system software and hardware configuration information from a list of nodes, or from all the nodes in a cluster
cmviewconf
v
View MC/ServiceGuard or MC/LockManager cluster configuration information
This command collects and display the cluster configuration information, in ASCII format, from the binary configuration file for an existing cluster
Command Options
The following table contains a list of the command options which are common to (and have the same meaning in) all the commands used with MC/ServiceGuard.  

Common Options
Description
-c  cluster_name
The name of the applicable MC/ServiceGuard Cluster.
-C  cluster_configuration_file
The name of the ASCII file containing the cluster configuration information
-n  node_name
The name of the specific node to use when applying the command.
-P  package_configuration_file
The name of the ASCII file containing the Application Package configuration information.
-p  package_reference_file
The name of a file containing the locations of the Application Package configuration files.
-v
Verbose option



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/16666/showart_99032.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP