aix hacmp oracle 双机集群实施步骤,AIX+HACMP+Oracle双机集群项目

(13)测试B801单机双实例是否能正常手工启停

B801# varyonvg datavg801

B801# varyonvg datavg802

B801# /etc/801dbstart

B801#/etc/802dbstart

B801#ps -ef | grep ora

B801#set | grep SID

B801#sqlplus sys/vvk as sysdba

SQL>shutdown immediate;

B801#ps -ef | grep ora

B801#export Oracle_SID=ora102

B801#set | grep SID

B801#sqlplus sys/vvk as sysdba

SQL>shutdown immediate;

B801#ps -ef | grep ora

B801#varyoffvg datavg801

B801#varyoffvg datavg802

(14)测试B802单机双实例是否能正常手工启停

B801# varyonvg datavg801

B801# varyonvg datavg802

B801# /etc/801dbstart

B801#/etc/802dbstart

B801#ps -ef | grep ora

B801#set | grep SID

B801#sqlplus sys/vvk as sysdba

SQL>shutdown immediate;

B801#ps -ef | grep ora

B801#export ORACLE_SID=ora101

B801#set | grep SID

B801#sqlplus sys/vvk as sysdba

SQL>shutdown immediate;

B801#ps -ef | grep ora

B801#varyoffvg datavg801

B801#varyoffvg datavg802

(15)启用HA接管数据库资源,并再次进行HA测试,测试HA切换时能否正常接管和启停数据库。

B801# smit clstart(now)

B801#ifconfig -a

B801#lsvg -o

B801#ps -ef | grep ora

B801#lsnrctl status listener_ora101

B802# smit clstart(now)

B802#ifconfig -a

B802#lsvg -o

B802#ps -ef | grep ora

B802#lsnrctl status listener_ora102

B802#smit clstop

B801#ifconfig -a

B801#lsvg -o

B801#ps -ef | grep ora

B801#lsnrctl status listener_ora101

B801#lsnrctl status listener_ora102

B802#smit clstart(now)

B802#ifconfig -a

B802#lsvg -o

B802#ps -ef | grep ora

B802#lsnrctl status listener_ora102

B801#ifconfig -a

B801#lsvg -o

B801#ps -ef | grep ora

B801#lsnrctl status listener_ora101

B801#smit clstop(takeover)

B802#ifconfig -a

B802#lsvg -o

B802#ps -ef | grep ora

B802#lsnrctl status listener_ora101

B802#lsnrctl status listener_ora102\0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值