Solaris Volume Manager 장치 그룹의 잠재적인 기본 노드 목록에서 클러스터 노드를 제거하려면 이 절차를 따릅니다. 제거할 노드가 있는 각 장치 그룹에 대해 metaset 명령을 반복합니다.
![]() | 주의 - 다른 노드가 활성 클러스터 구성원이고 그 중 하나 이상이 디스크 세트를 소유하고 있는 경우에는 클러스터 외부에서 부트되는 클러스터 노드에서 metaset —s setname —f -t 명령을 실행하지 마십시오. |
phys-schost# 프롬프트는 전역 클러스터 프롬프트를 반영합니다. 전역 클러스터에서 이 절차를 수행합니다.
이 절차에서는 장문형 Oracle Solaris Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다.
장치 그룹 유형 SDS/SVM은 Solaris Volume Manager 장치 그룹을 나타냅니다.
phys-schost-1% cldevicegroup show devicegroup
# cldevicegroup status devicegroup
# metaset -s setname -d -h nodelist
장치 그룹 이름을 지정합니다.
-h를 사용하여 확인한 노드를 장치 그룹에서 삭제합니다.
제거할 노드의 노드 이름을 지정합니다.
명령이 실패하면 명령에 –f(강제 실행) 옵션을 추가합니다.
# metaset -s setname -d -f -h nodelist
장치 그룹 이름은 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 [Assume the root role 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