[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
oracle 10G rac启动与关闭正常顺序,布布扣,bubuko.com
原文:http://jxzhfei.blog.51cto.com/1382161/1536318