Sun Cluster 3.0 시스템 관리 안내서

3.4.5 디스크 디바이스 그룹에서 노드 제거 방법(VERITAS Volume Manager)

이 프로시저를 사용하여 VxVM(VERITAS Volume Manager)를 실행하는 기존 클러스터 디스크 디바이스 그룹(디스크 그룹)에서 클러스터 노드를 제거하십시오.

  1. 제거될 노드가 멤버인 디스크 디바이스 그룹을 판별하십시오.


    # scstat -D
    
  2. 현재 클러스터 멤버 노드에 대해 수퍼유저가 되십시오.

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


    # scsetup
    

    기본 메뉴가 나타납니다.

  4. 3(디바이스 그룹 및 볼륨)을 입력하여 디스크 디바이스 그룹을 재구성하십시오.

  5. 5(VxVM 디바이스 그룹에서 노드 제거)를 입력하여 VxVM 디스크 디바이스 그룹에서 노드를 제거하십시오.

    프롬프트를 따라 디스크 디바이스 그룹에서 클러스터 노드를 제거하십시오. 다음에 대한 정보가 필요하게 됩니다.

    VxVM 디바이스 그룹

    노드 이름

  6. 노드가 VxVM 디스크 디바이스 그룹으로부터 제거되었는지 확인하십시오.


    # scstat -D	
      ...
      Device group name: devicegroupname
      Device group type: VxVM
      Device group failback enabled: no
      Device group node list: nodename
      Diskgroup name: diskgroupname
      ...

3.4.5.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 option 3:]
*** Main Menu ***
    Please select from one of the following options:
      ...
      3) Device groups and volumes
      ...
    Option: 3
[Select option 5:]
*** Device Groups Menu ***
    Please select from one of the following options:
      ...
      5) Remove a node from a VxVM device group
      ...
    Option:  5
[Answer the questions to remove the node:]
>>> Remove a Node from a VxVM Device Group <<<
    ...
    Is it okay to continue (yes/no) [yes]? yes
    ...
    Name of the VxVM device group from which you want to remove a node?  dg1
    Name of the node to remove from this group?  phys-schost-4
    Is it okay to proceed with the update (yes/no) [yes]? yes
 
scconf -r -D name=dg1,nodelist=phys-schost-4
 
    Command completed successfully.
    Hit ENTER to continue: 

[Quit the scsetup Device Groups Menu and Main Menu:]
    ...
    Option:  q
[Verify that the node was removed:]
# scstat -D
  ...
  Device group name: 		dg1
  Device group type: 	VxVM
  Device group failback enabled: 	no
  Device group node list: 	phys-schost-3
  Diskgroup name: 	dg1
  ...