雙機熱備份軟件(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