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

       从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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7199859/viewspace-628842/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值