Sun Cluster 3.0 系統管理手冊

4.1.2 如何移除 Quorum 裝置

quorum 磁碟被移除後,它將不再參與建立 quorum 的「投票』。請注意,所有二節點的叢集都要求至少配置一個 quorum 裝置。如果它是叢集上的最後一個 quorum 裝置,scconf(1M) 從配置移除裝置將會失敗。


註解 -

如果您要移除的裝置是叢集中的最後一個 quorum 裝置,請參閱程序 "4.1.3 如何從叢集移除最後一個 Quorum 裝置"


  1. 成為叢集中某個節點的超級使用者(superuser)。

  2. 決定要移除的法定裝置。


    # scconf -pv | grep Quorum
    
  3. 執行 scsetup(1M) 公用程式。


    # scsetup
    

    出現「主功能表」。

  4. 輸入 1(Quorum)來使用 quorum 裝置。

  5. 輸入 2(移除 quorum 磁碟)來移除 quorum 裝置。

    在移除程序期間回答顯示的問題。

  6. 退出 scsetup

  7. 確認 quorum 裝置移除成功。


    # scstat -q
    

4.1.2.1 範例-移除 Quorum 裝置

這個範例顯示如何從配置二個或以上 quorum 裝置的叢集移除一個 quorum 裝置。


[Become superuser on a node and place the node to be removed in maintenance state.]
[Determine the quorum device to be removed:]
# scconf -pv | grep Quorum
[Execute the scsetup utility:]
# scsetup
[Select option 1:]
*** Main Menu ***
    Please select from one of the following options:
      1) Quorum
       ...
    Option:  1
[Select option 2:]
*** Quorum Menu ***
    Please select from one of the following options:
       ...
      2) Remove a quorum disk
       ...
    Option:  2
[Answer the questions when prompted:]
 >>> Remove a Quorum Disk <<<
    ...
    Is it okay to continue (yes/no) [yes]? <Return>
    Which quorum disk do you want to remove (d<N>)?  d4
    Is it okay to proceed with the update (yes/no) [yes]? <Return>
 
scconf -r -q globaldev=d4
 
    Command completed successfully.
    Hit ENTER to continue: 
[Quit the scsetup Quorum Menu and Main Menu:]
    ...
    Option:  q
[Verify the quorum device is removed:]
# scstat -q
 
-- Quorum Summary --
 
  Quorum votes possible:      3
  Quorum votes needed:        2
  Quorum votes present:       3
 
-- 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  Owner
                 -----------         ------- -------- ------  -----
  Device votes:  /dev/did/rdsk/d3s2  1        1       Online  phys-schost-1