小编给大家分享一下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
以上是“ORACLE 10G RAC如何启动与关闭”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。