您不需是超級使用者便可列出配置。不過,您需要 solaris.cluster.read 授權。
此程序提供長形式的 Sun Cluster 指令。大多指令也有短的形式。除了指令名稱有長形式和短形式之分外,指令本身是相同的。如需指令及其短形式的清單,請參閱附錄 ASun Cluster 以物件為導向的指令。
請使用以下清單中的方法之一。
請參閱 Sun Cluster Manager 線上說明,以取得詳細資訊。
使用 cldevicegroup show 列出所有叢集中裝置群組的配置。
使用 cldevicegroup show devicegroup 列出單一裝置群組的配置。
使用 cldevicegroup status devicegroup 判定單一裝置群組的狀況。
使用 cldevicegroup status + 判定叢集中所有裝置群組的狀況。
以這些指令中的任何一個來使用 -v 選項以取得更多詳細資訊。
# cldevicegroup status + === Cluster Device Groups === --- Device Group Status --- Device Group Name Primary Secondary Status ----------------- ------- --------- ------ dg-schost-1 phys-schost-2 phys-schost-1 Online dg-schost-2 phys-schost-1 -- Offline dg-schost-3 phys-schost-3 phy-shost-2 Online |
# cldevicegroup show dg-schost-1 === Device Groups === Device Group Name: dg-schost-1 Type: SVM failback: yes Node List: phys-schost-2, phys-schost-3 preferenced: yes numsecondaries: 1 diskset names: dg-schost-1 |