Sun Cluster 系統管理指南 (適用於 Solaris 作業系統)

範例—移除法定裝置

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


Become superuser on any 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 Quorum>Remove a quorum disk.
Answer the questions when prompted.
[Verify that the scconf command completed successfully:]
 
scconf -r -q globaldev=d4
 
    Command completed successfully.
Quit the scsetup Quorum Menu and Main Menu.
[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
                 -----------         ------- -------- ------
  Device votes:  /dev/did/rdsk/d3s2  1        1       Online