os:hpux:admin:cluster
HP-UX Cluster Management
개념
두개이상의 노드(머신)에 자원을 공유하는 방법이다.
파일경로
/etc/cmcluster.conf
/etc/cmcluster/*
/var/adm/cmcluster/*
/etc/rc.config.d/cmcluster
MC/SG(ServiceGuard)
부팅시 자동 기동여부 확인하기
root@soafdb1 /var/adm/cmcluster$ grep AUTOSTART /etc/rc.config.d/cmcluster
AUTOSTART_CMCLD=1
설정이름 | 값 | 부팅시적용 | default |
AUTOSTART_CMCLD | 0 | 수동적용 | default |
AUTOSTART_CMCLD | 1 | 자동적용 | |
명령어
실행명령
cmruncl
cmrunnode
cmrunpkg
설정보기
cmviewconf
cmviewcl
root@soafdb1 /var/adm/cmcluster$ cmviewcl
CLUSTER STATUS
soafdb up
NODE STATUS STATE
soafdb1 up running
PACKAGE STATUS STATE AUTO_RUN NODE
racpkg1 up running enabled soafdb1
NODE STATUS STATE
soafdb2 up running
PACKAGE STATUS STATE AUTO_RUN NODE
racpkg2 up running enabled soafdb2
종료
cluster node 종료
# cmhaltnode -f
Disabling package switching to all nodes being halted.
Warning: Do not modify or enable packages until the halt operation is completed.
Halting Package racpkg2.
Warning: Cluster reconfiguration occurred while halting package racpkg2. Package might have halted sucessfully.
Check the syslog and pkg log files for more detailed information.
Halting cluster services on node soafdb2.
..
Successfully halted all nodes specified.
Halt operation complete.
os/hpux/admin/cluster.txt · 마지막으로 수정됨: 2012/01/19 01:31 저자 starlits