Sun Cluster 3.0 12/01 시스템 관리 안내서

3.3.15 디스크 장치 그룹에서 노드를 제거하는 방법(VERITAS Volume Manager)

이 절차를 사용하면 VxVM(VERITAS Volume Manager)을 실행하는 기존 클러스터 디스크 장치 그룹(디스크 그룹)에서 클러스터 노드를 제거할 수 있습니다.

  1. 제거할 노드가 속한 디스크 장치 그룹을 확인하십시오.


    # scstat -D
    

  2. 현재 클러스터 구성원 노드에 대하여 수퍼유저가 되십시오.

  3. scsetup 유틸리티를 실행하십시오.


    # scsetup
    

    Main Menu가 표시됩니다.

  4. 디스크 장치 그룹을 다시 구성하려면 4(장치 그룹 및 볼륨)를 입력하십시오.

  5. VxVM 디스크 장치 그룹에서 노드를 제거하려면 5(VxVM 장치 그룹에서 노드 제거)를 입력하십시오.

    화면의 메시지에 따라 디스크 장치 그룹에서 클러스터 노드를 제거하십시오. 다음 정보를 묻는 메시지가 나옵니다.

    VxVM 장치 그룹

    노드 이름

  6. 노드가 VxVM 디스크 장치 그룹에서 제거되었는지 확인하십시오.


    # scconf -p | grep Device
    

3.3.15.1 예: 디스크 장치 그룹에서 노드 제거(VxVM)

이 예에서는 dg1 VxVM 디스크 장치 그룹에서 phys-schost-4라는 노드를 제거합니다.


[Determine the disk device group for the node:]
# scstat -D
  -- Device Group Servers --
                       Device Group  Primary        Secondary
                       ------------  -------        ---------
  Device group servers: dg-schost-1  phys-schost-1  phys-schost-2
[Become superuser and execute the scsetup utility:]
# scsetup
 Select Device groups and volumes>Remove a node from a VxVM device group.
Answer the questions when prompted. 
You will need the following information.
  You Will Need:            Example:
  VxVM device group name    dg1
  node names                phys-schost-1
[Verify that the scconf command executed properly:]
 
scconf -r -D name=dg1,nodelist=phys-schost-4
 
    Command completed successfully.
Quit the scsetup Device Groups Menu and Main Menu.
[Verify that the node was removed:]
# scconf -p | grep Device
  Device group name:                 dg1
    Device group type:               VxVM
    Device group failback enabled:   no
    Device group node list:          phys-schost-3
    Device group diskset name:    	dg1