oracle 10G rac启动与关闭正常顺序
[root@node-rac1 ~]# su - oracle
关闭node-rac1
[oracle@node-rac1 ~]$ cd /app/crs/product/10201/crs/bin/
[oracle@node-rac1 bin]$ ./srvctl stop instance -d racdb -i racdb1
[oracle@node-rac1 bin]$ ./srvctl stop asm -n node-rac1
[oracle@node-rac1 bin]$ ./srvctl stop nodeapps -n node-rac1
关闭node-rac2
[oracle@node-rac1 bin]$ ./srvctl stop instance -d racdb -i racdb2
[oracle@node-rac1 bin]$ ./srvctl stop asm -n node-rac2
[oracle@node-rac1 bin]$ ./srvctl stop nodeapps -n node-rac2
启动node-rac1
[oracle@node-rac1 bin]$./srvctl start nodeapps -n node-rac1
[oracle@node-rac1 bin]$./srvctl start asm -n node-rac1
[oracle@node-rac1 bin]$./srvctl start instance -d racdb -i racdb1
启动node-rac2
[oracle@node-rac1 bin]$./srvctl start nodeapps -n node-rac2
[oracle@node-rac1 bin]$./srvctl start asm -n node-rac2
[oracle@node-rac1 bin]$./srvctl start instance -d racdb -i racdb2
查看RAC状态
[oracle@node-rac1 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE ONLINE node-rac1
ora....C1.lsnr application ONLINE ONLINE node-rac1
ora....ac1.gsd application ONLINE ONLINE node-rac1
ora....ac1.ons application ONLINE ONLINE node-rac1
ora....ac1.vip application ONLINE ONLINE node-rac1
ora....SM2.asm application ONLINE ONLINE node-rac2
ora....C2.lsnr application ONLINE ONLINE node-rac2
ora....ac2.gsd application ONLINE ONLINE node-rac2
ora....ac2.ons application ONLINE ONLINE node-rac2
ora....ac2.vip application ONLINE ONLINE node-rac2
ora.racdb.db application ONLINE ONLINE node-rac2
ora....b1.inst application ONLINE ONLINE node-rac1
ora....b2.inst application ONLINE ONLINE node-rac2
本文出自 “飛鴻沓膤” 博客,请务必保留此出处http://jxzhfei.blog.51cto.com/1382161/1536318
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。