標籤:oracl10g rac
[[email protected] ~]# su - oracle
關閉node-rac1
[[email protected] ~]$ cd /app/crs/product/10201/crs/bin/
[[email protected] bin]$ ./srvctl stop instance -d racdb -i racdb1
[[email protected] bin]$ ./srvctl stop asm -n node-rac1
[[email protected] bin]$ ./srvctl stop nodeapps -n node-rac1
關閉node-rac2
[[email protected] bin]$ ./srvctl stop instance -d racdb -i racdb2
[[email protected] bin]$ ./srvctl stop asm -n node-rac2
[[email protected] bin]$ ./srvctl stop nodeapps -n node-rac2
啟動node-rac1
[[email protected] bin]$./srvctl start nodeapps -n node-rac1
[[email protected] bin]$./srvctl start asm -n node-rac1
[[email protected] bin]$./srvctl start instance -d racdb -i racdb1
啟動node-rac2
[[email protected] bin]$./srvctl start nodeapps -n node-rac2
[[email protected] bin]$./srvctl start asm -n node-rac2
[[email protected] bin]$./srvctl start instance -d racdb -i racdb2
查看RAC狀態
[[email protected] ~]$ 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