一、关于HACMP
1、启动服务器以后,首先在P570上执行smitty clstart,然后在P520上执行smitty clstart。
2、在P570上执行lspv,查看PV状态
bash-3.00# lspv
hdisk0 00c1f2b2804e6426 rootvg active
hdisk1 00c1f2b20e5cd6e9 rootvg active
hdisk2 00c1f2b2558c5dfe datavg active
hdisk3 00c1f2b2558cb4d3 datavg active
hdisk4 00c1f2b256032e97 oravg active
hdisk5 00c1f2b25dd2236f filevaults active
3、在P570上执行ifconfig -a
bash-3.00# ifconfig -a
en2: flags=5e080863,c0
inet 10.0.1.1 netmask 0xffffff00 broadcast 10.0.1.255
inet 192.168.0.39 netmask 0xffffff00 broadcast 192.168.0.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
en4: flags=5e080863,c0
inet 192.168.0.38 netmask 0xffffff00 broadcast 192.168.0.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
en6: flags=5e080863,c0
inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
3、手动切换资源到P520:
在P570上执行:smitty clstop
Manage HACMP Services
Stop Cluster Services
* Stop now, on system restart or both now+
Stop Cluster Services on these nodes [PDM_node ] +
BROADCAST cluster shutdown? true+
*Select an Action on Resource Groups Move Resource Groups+
4、服务器需要关机维护时,首先在P570上执行smitty clstop,然后在P520上执行smitty clstop
阅读(6057) | 评论(0) | 转发(0) |