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

예—원하는 보조 노드 수 변경

다음은 장치 그룹(dg-schost-1)에 대한 보조 노드 수를 구성할 때 scsetup에 의해 생성되는 scconf 명령의 예입니다. 이 예에서는 전에 디스크 그룹과 볼륨을 만들었다고 가정합니다.


# scconf -c -D name=phys-host-1,nodelist=phys-schost-1:phys-schost-2,phys-schost-3\
preferenced=true,failback=enabled,numsecondaries=1

# scconf -p | grep Device
Device group name:                             dg-schost-1
   Device group type:                          SDS/SVM
   Device group failback enabled:              yes
   Device group node list:                     phys-schost-1, phys-scost-2, phys-schost-3 
   Device group ordered node list:             yes
   Device group desired number of secondaries: 1
   Device group diskset name:                  dg-schost-1

다음은 null 문자열 값을 사용하여 보조 노드의 기본 개수를 구성하는 예입니다. 기본값이 변경될 경우에도 장치 그룹이 기본값을 사용하도록 구성됩니다.


# scconf -c -D 
name=diskgrp1, nodelist=host1:host2:host3,
preferenced=false,failback=enabled,numsecondaries=
 # scconf -p | grep Device
Device group name:                             dg-schost-1
   Device group type:                          SDS/SVM
   Device group failback enabled:              yes
   Device group node list:                     phys-schost-1, phost-2, phys-schost-3
   Device group ordered node list:             yes
   Device group desired number of secondaries: 1
   Device group diskset name:                  dg-schost-1