Solaris Volume Manager 장치 그룹의 잠재적인 기본 노드 목록에서 클러스터 노드를 제거하려면 이 절차를 따릅니다. 제거할 노드가 있는 각 장치 그룹에 대하여 metaset 명령을 반복합니다.
다른 노드가 활성 클러스터 구성원이고 이 중 하나 이상에 디스크 세트가 있는 경우에는 클러스터 외부에서 부트된 클러스터 노드에 metaset —s setname —f -t를 실행하면 안 됩니다.
이 절차에서는 장문형 Sun Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다. 명령 및 단문형 명령의 목록을 보려면 부록 A, Sun Cluster 객체 지향 명령를 참조하십시오.
노드가 여전히 장치 그룹에 속해 있는지와 장치 그룹이 Solaris Volume Manager 장치 그룹인지를 확인합니다.
장치 그룹 유형 SDS/SVM은 Solaris Volume Manager 장치 그룹을 나타냅니다.
phys-schost-1% cldevicegroup show devicegroup |
어느 노드가 현재 장치 그룹의 기본 노드인지 확인합니다.
# cluster status -t devicegroup |
현재 수정할 장치 그룹이 있는 노드에서 수퍼유저로 전환합니다.
장치 그룹에서 노드의 호스트 이름을 삭제합니다.
# metaset -s setname -d -h nodelist |
장치 그룹 이름을 지정합니다.
-h를 사용하여 확인한 노드를 장치 그룹에서 삭제합니다.
제거할 하나 또는 여러 노드의 노드 이름을 지정합니다.
업데이트를 완료하는 데 몇 분이 걸릴 수 있습니다.
명령이 실패하면 명령에 -f(강제 실행) 옵션을 추가합니다.
# metaset -s setname -d -f -h nodelist |
제거할 잠재적인 기본 노드에서 각 장치 그룹에 대해 단계 4를 반복합니다.
노드가 장치 그룹에서 제거되었는지 확인합니다.
장치 그룹 이름은 metaset로 지정한 디스크 세트 이름과 일치합니다.
phys-schost-1% cldevicegroup list -v devicegroup |
다음은 장치 그룹 구성에서 호스트 이름 phys-schost-2를 제거하는 예입니다. 이 예에서는 지정된 장치 그룹의 잠재적인 기본 노드인 phys-schost-2를 제거합니다. cldevicegroup show 명령을 실행하여 노드가 제거되었는지 확인합니다. 제거된 노드가 더 이상 화면의 텍스트에 표시되지 않는지 확인하십시오.
[Determine the Solaris Volume Manager device group for the node:] # cldevicegroup show dg-schost-1 === Device Groups === Device Group Name: dg-schost-1 Type: SVM failback: no Node List: phys-schost-1, phys-schost-2 preferenced: yes numsecondaries: 1 diskset name: dg-schost-1 [Determine which node is the current primary for the device group:] # cldevicegroup status dg-schost-1 === Cluster Device Groups === --- Device Group Status --- Device Group Name Primary Secondary Status ----------------- ------- --------- ------ dg-schost-1 phys-schost-1 phys-schost-2 Online [Become superuser on the node that currently owns the device group.] [Remove the host name from the device group:] # metaset -s dg-schost-1 -d -h phys-schost-2 [Verify removal of the node:] phys-schost-1% cldevicegroup list -v dg-schost-1 === Cluster Device Groups === --- Device Group Status --- Device Group Name Primary Secondary Status ----------------- ------- --------- ------ dg-schost-1 phys-schost-1 - Online |