您好,登录后才能下订单哦!
[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
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。