Oracle 11gR2 New Features Oracle Restart

paulyibinyi發表於2010-07-31

      oracle 11gR2 單機如果要安裝asm儲存的資料庫,需要先安裝grid元件,透過ocssd程式與asm例項進行通訊

   在安裝的四個選項,選擇第二個:

即installation option

Install and Configure Grid infrastructure for a standalone server

按下一步安裝建立asm instance 和 asm diskgroup 和 監聽

最後按提示執行root.sh 指令碼即可,可以用crsctl status res -t 命令檢視元件的狀態

安裝完grid後的狀態如下:

[grid@zjzxdb1:/grid/app]$crsctl status res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DGSYSTEM.dg
               ONLINE  ONLINE       zjzxdb1                                     
ora.LISTENER.lsnr
               ONLINE  ONLINE       zjzxdb1                                     
ora.asm
               ONLINE  ONLINE       zjzxdb1                  Started            
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        ONLINE  ONLINE       zjzxdb1                                     
ora.diskmon
      1        ONLINE  ONLINE       zjzxdb1                                     
[grid@zjzxdb1:/grid/app]$

起停grid元件是用crsctl start has,crsctl stop has命令

禁用grid元件跟隨作業系統啟動用crsctl disable crs

即Oracle 11gR2 New Features Oracle Restart

Oracle Restart improves the availability of your single-instance Oracle database. Oracle Restart automatically restarts the database instance, the Automatic Storage Management (ASM) instance, the listener, and other components after a hardware or software failure or whenever your database host computer restarts. Server Control (SRVCTL) is the command line interface to manage Oracle processes that are managed by Oracle Restart on a standalone server.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-669945/,如需轉載,請註明出處,否則將追究法律責任。

相關文章