Sun Cluster 3.0 시스템 관리 안내서

4.1.2 정족수 디바이스 제거 방법

정족수 디스크가 제거되면, 정족수 확립을 위한 투표에 더 이상 참여하지 않습니다. 모든 두 개의 클러스터는 적어도 하나의 정족수 디바이스가 구성되어야 한다는 것에 유의하십시오. 이것이 클러스터에 있는 마지막 정족수 디바이스인 경우, scconf(1M)는 구성으로부터 디바이스를 제거하는 데 실패하게 됩니다.


주 -

제거하려는 디바이스가 클러스터에 있는 마지막 정족수 디바이스인 경우, "4.1.3 클러스터에서 마지막 정족수 디바이스 제거 방법" 프로시저를 참조하십시오.


  1. 클러스터의 노드에 대해 수퍼유저가 되십시오.

  2. 제거된 정족수 디바이스를 판별하십시오.


    # scconf -pv | grep Quorum
    
  3. scsetup(1M) 유틸리티를 실행하십시오.


    # scsetup
    

    기본 메뉴가 나타납니다.

  4. 정족수 디바이스에서 작업하려면 1(정족수)을 입력하여 정족수 메뉴에 액세스하십시오.

  5. 2(정족수 디스크 제거)를 입력하여 정족수 디바이스를 제거하십시오.

    제거 프로세스 동안 표시되는 질문에 응답하십시오.

  6. scsetup을 종료하십시오.

  7. 정족수 디바이스가 제거되었는지 확인하십시오.


    # scstat -q
    

4.1.2.1 예제-정족수 디바이스 제거

이 예에서는 두 개 이상의 정족수 디바이스가 구성된 클러스터에서 정족수 디바이스를 제거하는 방법을 보여줍니다.


[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