您也可使用 SunPlex Manager GUI 來完成此程序。請參閱 SunPlex Manager 線上說明,以取得詳細資訊。
要完成這個程序,請指定一個由節點共用之磁碟裝置的裝置 ID (DID)。請使用 scdidadm 指令來查看 DID 名稱的清單。請參閱 scdidadm (1M) 線上援助頁,以取得其他資訊。
請參閱 scsetup(1M) 及 scconf(1M) 線上說明手冊,以取得此程序中所使用指令的資訊。
成為叢集上任何節點的超級使用者。
輸入 scsetup 公用程式。
# scsetup |
顯示 Main Menu。
要使用法定裝置,請鍵入 1 (法定)。
顯示 Quorum Menu。
要新增法定裝置,請鍵入 1 (新增法定磁碟)。
請依指示進行,同時輸入要當作法定裝置的裝置名稱。
確認法定裝置新增成功。
# scstat -q |
下列範例顯示 scconf 指令,這是由 scsetup 新增法定裝置和驗證步驟時所產生的。
Become superuser on any cluster node. [Execute the scsetup utility:] # scsetup Select Quorum>Add a quorum disk. Answer the questions when prompted. [Verify that the scconf command completed successfully:] scconf -a -q globaldev=d20 Command completed successfully. Quit the scsetup Quorum Menu and Main Menu. [Verify the quorum device is removed:] # scstat -q -- Quorum Summary -- Quorum votes possible: 4 Quorum votes needed: 3 Quorum votes present: 4 -- Quorum Votes by Node -- Node Name Present Possible Status --------- ------- -------- ------ Node votes: phys-schost-1 1 1 Online Node votes: phys-schost-2 1 1 Online -- Quorum Votes by Device -- Device Name Present Possible Status ----------- ------- -------- ------ Device votes: /dev/did/rdsk/d3s2 1 1 Online Device votes: /dev/did/rdsk/d4s2 1 1 Online |