Solaris OS용 Sun Cluster 시스템 관리 안내서

Procedure쿼럼 장치 노드 목록을 수정하는 방법

clsetup(1CL) 유틸리티를 사용하여 노드를 추가하거나 기존 쿼럼 장치의 노드 목록에서 노드를 제거할 수 있습니다. 쿼럼 장치의 노드 목록을 변경하려면 쿼럼 장치를 제거하고 제거한 쿼럼 장치에 대한 노드의 물리적 연결을 수정한 후에 쿼럼 장치를 다시 클러스터 구성에 추가해야 합니다. 쿼럼 장치가 추가되면 clquorum(1CL)가 디스크에 연결된 모든 노드에 대하여 노드와 디스크 사이의 경로를 자동으로 구성합니다.

이 절차에서는 장문형 Sun Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다. 명령 및 단문형 명령의 목록을 보려면 부록 A, Sun Cluster 객체 지향 명령를 참조하십시오.

  1. 클러스터의 아무 노드에서나 수퍼유저 또는 solaris.cluster.modify RBAC 인증을 제공하는 역할로 전환합니다.

  2. 변경하는 쿼럼 장치의 이름을 확인합니다.


    # clquorum list -v
    
  3. clsetup 유틸리티를 시작합니다.


    # clsetup
    

    주 메뉴가 표시됩니다.

  4. 쿼럼 옵션에 해당하는 번호를 입력합니다.

    쿼럼 메뉴가 표시됩니다.

  5. 쿼럼 장치를 제거하는 옵션에 해당하는 번호를 입력합니다.

    지침을 따릅니다. 제거할 디스크의 이름을 묻는 메시지가 표시됩니다.

  6. 쿼럼 장치에 대한 물리적 노드 연결을 추가하거나 삭제합니다.

  7. 쿼럼 장치 추가 옵션에 해당하는 번호를 입력합니다.

    지침을 따릅니다. 쿼럼 장치로 사용할 디스크의 이름을 묻는 메시지가 표시됩니다.

  8. 쿼럼 장치가 추가되었는지 확인합니다.


    # clquorum list -v
    

예 6–6 쿼럼 장치 노드 목록 수정

다음은 clsetup 유틸리티를 사용하여 쿼럼 장치 노드 목록에 노드를 추가하거나 목록에서 노드를 제거하는 방법입니다. 이 예에서는 쿼럼 장치 이름이 d2이고, 절차가 완료되면 쿼럼 장치 노드 목록에 다른 노드가 추가됩니다.


[Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node in the cluster.]

[Determine the quorum device name:]
# clquorum list -v
Quorums            Type
-------            -----
d2                 scsi
sc-phys-schost-1   node
sc-phys-schost-2   node
sc-phys-schost-3   node

[Start the clsetup utility:]
# clsetup

[Type the number that corresponds with the quorum option.]
.
[Type the number that corresponds with the option to remove a quorum device.]
.
[Answer the questions when prompted.]
[You will need the following information:]

   Information:			Example:
   Quorum Device Name: 	d2

[Verify that the clquorum command completed successfully:]
 clquorum remove d2
     Command completed successfully.

[Type the number that corresponds with the Quorum option.]
.
[Type the number that corresponds with the option to add a quorum device.]
.
[Answer the questions when prompted.]
[You will need the following information:]

   Information         Example:
   quorum device name     d2

[Verify that the clquorum command was completed successfully:clquorum add d2
     Command completed successfully.

Quit the clsetup utility.

[Verify that the correct nodes have paths to the quorum device. 
In this example, note that phys-schost-3 has been added to the 
enabled hosts list.]
# clquorum show d2 | grep Hosts
=== Quorum Devices ===

Quorum Device Name:		d2
   Hosts (enabled):		phys-schost-1, phys-schost-2, phys-schost-3

[Verify that the modified quorum device is online.]
# clquorum status d2
=== Cluster Quorum ===

--- Quorum Votes by Device ---

Device Name       Present      Possible      Status
-----------       -------      --------      ------
d2                1            1             Online[Verify the quorum device is removed:]
# clquorum list -v
Quorums            Type
-------            -----
sc-phys-schost-1   node
sc-phys-schost-2   node
sc-phys-schost-3   node