HP-UX常见问题解答(3)
发表于:2007-07-04来源:作者:点击数:
标签:
双机热备份软件(MC/Lock Manager)的几个常用命令 MC/Lock Manager (Multi-Computer/Lock Manager) 是惠普公司推出专门用 来保护关键业务应用免遭软、硬件故障影响的特殊应用软件。 使用MC/Lock Manager,多个节点(系统)被组织成一个企业群集,为局域网(LAN)
双机热备份软件(MC/Lock Manager)的几个常用命令
MC/Lock Manager (Multi-Computer/Lock Manager) 是惠普公司推出专门用 来保护关键业务应用免遭软、硬件故障影响的特殊应用软件。
使用MC/Lock Manager,多个节点(系统)被组织成一个企业群集,为局域网(LAN) 上的客户机提供高可用性的服务。
MC/Lock.Manager监控程序监控每一个节点的状态,并且对出现的故障很快 做出反应,使对应用程序的影响减小到最低。
Abbreviations: CN = cluster_name NN = node_name PN = package_name
Explainations: ... = multiple o
clearcase/" target="_blank" >ccurences | = OR [descriptor] = optional
1. 如何手动启动MC/Lock Manager?
Start Lock Manager daemons and form a new cluster
#cmruncl [-f] [-v] [-n NN...]
[-f] Force cluster startup without warning message
[-v] Verbose output
[-n ] specific name(s) of node(s) to
2. 单点启动后如何加入另一个节点?
Start Lock Manager daemon on node(s) and join a cluster
cmrunnode [-v] [NN...]
[-v] Verbose output
3. 如何实现节点切换?
切换分两种:本地切换 ( Local Switch ) 和 切换 ( Switch )
当主节点出现网卡故障 ( MAC address or Hardware State Down ) 时,首 先会进行本地切换,备份网卡开始工作;如果此时备份网卡也有故障, 则系统会进行切换,备份节点接管系统工作。
可以手工模拟这些故障以进行故障诊断或检测。
4. 如何监测 Cluster 运行状态?
view information about the current Lock Manger cluster
cmviewcl [-v] [-n NN]... [-p PN]... [-l {package|cluster|node}]
[-v] Verbose output
[-n] View information only about the specific node_name(s).
[-p] package_name... View information only about the specific package_name(s).
[-l] pkg|clus|node Display only package, cluster or node specific information.
5. 如何停止 Cluster 运行?
halt Lock Manager cluster daemons
cmhaltcl [-f] [-v]
[-f] Force the cluster to shu
tdown even if packages are currently running.
[-v] Verbose output
6. 如何停止运行某个节点而 Cluster 在其它节点继续运行?
halt Lock Manager daemon on node(s) and leave the cluster
cmhaltnode [-f] [-v] [NN...]
[-f] Force the node to halt even if there are packages running on it.
[-v] Verbose output
7. 如何在 Running Cluster 中运行某一个包?
run a Lock Manager package
cmrunpkg [-n NN] [-v] PN...
[-n ] Act on a specific node.
[-v] Verbose output
8. 如何停止一个运行中的包?
halt a Lock Manager package
cmhaltpkg [-n NN] [-v] PN...
[-n ] Act on a specific node.
[-v] Verbose output
9. 如何改变一个包的切换属性?
enable or disable switching attributes for a Lock Manager package
cmmodpkg [-v] [-n NN]... {-e|-d} PN...
[-v] Verbose output
[-n ] Modify attributes on specific node(s) - else globally mod.
-e enable
-d disable
PN - package(s) whose switching attributes are changed
原文转自:http://www.ltesting.net