oracle 11gR2 新特性 orc和vote盤可以放在ASM中

paulyibinyi發表於2010-03-07

       從oracle 11gR2版本開始,ocr和vote盤可以選擇放在asm磁碟中   

    Oracle Cluster Registry (OCR) and Voting Files stored in Oracle ASM
    This feature enables storage of Oracle Cluster Registry (OCR) and the voting file in
    Oracle ASM disk groups. This enables Oracle ASM to provide a unified storage
    solution, storing all the data for the clusterware and the database, without the
    need for third-party volume managers or cluster file systems.

在安裝grid過程中,有一步storge option是建立asm磁碟組,存放ocr和vote盤,

對磁碟組可以自己命名為CRS,然後在節點1上執行root.sh時,會出現建立完OCR和VOTE磁碟組資訊

[root@p520:/grid/app/11.2.0/grid]#./root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /grid/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2010-02-24 22:22:01: Parsing the host name
2010-02-24 22:22:01: Checking for super user privileges
2010-02-24 22:22:01: User has super user privileges
Using configuration parameter file: /grid/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User grid has the required capabilities to run CSSD in realtime mode
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'p520'
CRS-2672: Attempting to start 'ora.mdnsd' on 'p520'
CRS-2676: Start of 'ora.gipcd' on 'p520' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'p520'
CRS-2676: Start of 'ora.gpnpd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'p520'
CRS-2676: Start of 'ora.cssdmonitor' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'p520'
CRS-2672: Attempting to start 'ora.diskmon' on 'p520'
CRS-2676: Start of 'ora.diskmon' on 'p520' succeeded
CRS-2676: Start of 'ora.cssd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'p520'
CRS-2676: Start of 'ora.ctssd' on 'p520' succeeded

ASM created and started successfully.

DiskGroup CRS created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'p520'
CRS-2676: Start of 'ora.crsd' on 'p520' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 653c16db3bec4ff7bf5d17888c7f64de.
Successfully replaced voting disk group with +CRS.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   653c16db3bec4ff7bf5d17888c7f64de (/dev/rhdisk2) [CRS]

Located 1 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'p520'
CRS-2677: Stop of 'ora.crsd' on 'p520' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'p520'
CRS-2677: Stop of 'ora.asm' on 'p520' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'p520'
CRS-2677: Stop of 'ora.ctssd' on 'p520' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'p520'
CRS-2677: Stop of 'ora.cssdmonitor' on 'p520' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'p520'
CRS-2677: Stop of 'ora.cssd' on 'p520' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'p520'
CRS-2677: Stop of 'ora.gpnpd' on 'p520' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'p520'
CRS-2677: Stop of 'ora.gipcd' on 'p520' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'p520'
CRS-2677: Stop of 'ora.mdnsd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'p520'
CRS-2676: Start of 'ora.mdnsd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'p520'
CRS-2676: Start of 'ora.gipcd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'p520'
CRS-2676: Start of 'ora.gpnpd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'p520'
CRS-2676: Start of 'ora.cssdmonitor' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'p520'
CRS-2672: Attempting to start 'ora.diskmon' on 'p520'
CRS-2676: Start of 'ora.diskmon' on 'p520' succeeded
CRS-2676: Start of 'ora.cssd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'p520'
CRS-2676: Start of 'ora.ctssd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'p520'
CRS-2676: Start of 'ora.asm' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'p520'
CRS-2676: Start of 'ora.crsd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'p520'
CRS-2676: Start of 'ora.evmd' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'p520'
CRS-2676: Start of 'ora.asm' on 'p520' succeeded
CRS-2672: Attempting to start 'ora.CRS.dg' on 'p520'
CRS-2676: Start of 'ora.CRS.dg' on 'p520' succeeded

p520     2010/02/24 22:35:13     /grid/app/11.2.0/grid/cdata/p520/backup_20100224_223513.olr
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 8704 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /grid/app/oraInventory
'UpdateNodeList' was successful.
[root@p520:/grid/app/11.2.0/grid]#

 

[root@p520:/grid/app/11.2.0/grid/bin]#./ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       2252
         Available space (kbytes) :     259868
         ID                       :  163721714
         Device/File Name         :       +CRS
                                    Device/File integrity check succeeded

                                    Device/File not configured

                                    Device/File not configured

                                    Device/File not configured

                                    Device/File not configured

         Cluster registry integrity check succeeded

         Logical corruption check succeeded

[root@p520:/grid/app/11.2.0/grid/bin]#./crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   653c16db3bec4ff7bf5d17888c7f64de (/dev/rhdisk2) [CRS]
Located 1 voting disk(s).

 

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

相關文章