HP-UX MC/SG Cluster 구성하기
IT,PC,모바일,스마트폰 정보와 팁 그리고 제품리뷰와 생활정보
HP-UX MC/SG Cluster 구성하기
# mknod /dev/vglock c 64 0x100000
# vgcreate /dev/vglock /dev/dsk/cxtxdx
node1 root
node2 root
Begin
checking the nodes...
Warning:
Unable to determine local domain name for node1
Looking
for other clusters ... Done
Gathering
configuration information ..
Gathering
storage information ..
Found 93
devices on node node1
Found 93
devices on node node2
Analysis
of 186 devices should take approximately 10 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 3
volume groups on node node1
Found 3
volume groups on node node2
Analysis
of 6 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
.....
Gathering
Network Configuration ....... Done
.
.
Writing
cluster data to test_pa_db_cluster.asc.
# cd /etc/cmcluster/node1_pkg1
# cmmakepkg -s node1_pkg1.cntl
# cmmakepkg -p node1_pkg1.conf
# grep
-Ev "^$|^#" *.conf
PACKAGE_NAME node1_pkg1
PACKAGE_TYPE FAILOVER
FAILOVER_POLICY CONFIGURED_NODE
FAILBACK_POLICY MANUAL
NODE_NAME node1
NODE_NAME node2
AUTO_RUN YES
LOCAL_LAN_FAILOVER_ALLOWED YES
NODE_FAIL_FAST_ENABLED NO
RUN_SCRIPT /etc/cmcluster/node1_pkg1/node1_pkg1.cntl
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
SUBNET 192.168.0.1
# cmapply -C mcsg_db_cluster.asc -P ./node1_pkg1/node1_pkg1.conf -P ./node2_pkg1/node2_pkg1.conf
# cmviewcl