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

ProcedureSPARC: 장치 그룹에서 노드를 제거하는 방법(VERITAS Volume Manager)

VERITAS Volume Manager(VxVM) 장치 그룹(디스크 그룹)의 기본 노드 목록에서 클러스터 노드를 제거하려면 다음 절차를 수행합니다.

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

  1. 노드가 아직 그룹의 구성원인지 그리고 그룹이 VxVM 장치 그룹인지를 확인합니다.

    장치 그룹 유형이 VxVM이면 VxVM 장치 그룹임을 나타냅니다.


    phys-schost-1% cldevicegroup show devicegroup
    
  2. 현재 클러스터 구성원 노드에서 수퍼유저 또는 solaris.cluster.read solaris.cluster.modify RBAC 인증을 제공하는 역할로 전환합니다.

  3. clsetup 유틸리티를 시작합니다.


    # clsetup
    

    주 메뉴가 표시됩니다.

  4. 장치 그룹을 재구성하려면, 장치 그룹 및 볼륨 옵션에 해당하는 번호를 입력합니다.

  5. VxVM 장치 그룹에서 노드를 제거하려면 VxVM 장치 그룹에서 노드를 제거하는 옵션에 해당하는 번호를 입력합니다.

    화면의 메시지에 따라 장치 그룹에서 클러스터 노드를 제거합니다. 다음 정보를 묻는 메시지가 나타납니다.

    • VxVM 장치 그룹

    • 노드 이름

  6. 하나 또는 여러 VxVM 장치 그룹에서 노드가 제거되었는지 확인합니다.


    # cldevicegroup show devicegroup
    

예 5–23 SPARC: 장치 그룹에서 노드 제거(VxVM)

이 예에서는 phys-schost-1 노드를 dg1 VxVM 장치 그룹에서 제거하는 것을 보여줍니다.


[Determine the VxVM device group for the node:]
# cldevicegroup show dg1

=== Device Groups === 

Device Group Name:                        dg1
  Type:                                     VXVM
  failback:                                 no
  Node List:                                phys-schost-1, phys-schost-2
  preferenced:                              no
  numsecondaries:                           1
  diskgroup names:                             dg1
[Become superuser and start the clsetup utility:]
# clsetup
 Select Device groups and volumes>Remove a node from a VxVM device group.

Answer the questions when prompted. 
You will need the following information.
  Name:            Example:
  VxVM device group name    dg1
  node names                phys-schost-1

[Verify that the cldevicegroup command executed properly:]
 cldevicegroup remove-node -n phys-schost-1 dg1
 
    Command completed successfully.
Dismiss the clsetup  Device Groups Menu and Main Menu.
[Verify that the node was removed:]
# cldevicegroup show dg1

=== Device Groups === 

Device Group Name:                        dg1
  Type:                                     VXVM
  failback:                                 no
  Node List:                                phys-schost-2
  preferenced:                              no
  numsecondaries:                           1
  device names:                             dg1