小編給大家分享一下ORACLE 10G RAC如何啟動(dòng)與關(guān)閉,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!
成都創(chuàng)新互聯(lián)公司主要企業(yè)基礎(chǔ)官網(wǎng)建設(shè),電商平臺(tái)建設(shè),移動(dòng)手機(jī)平臺(tái),小程序定制開發(fā)等一系列專為中小企業(yè)按需策劃設(shè)計(jì)產(chǎn)品體系;應(yīng)對(duì)中小企業(yè)在互聯(lián)網(wǎng)運(yùn)營的各種問題,為中小企業(yè)在互聯(lián)網(wǎng)的運(yùn)營中保駕護(hù)航。
root@node-rac1 ~]# su - oracle
關(guān)閉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
關(guān)閉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
啟動(dòng)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
啟動(dòng)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狀態(tài)
[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如何啟動(dòng)與關(guān)閉”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對(duì)大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!