当前位置:数据库 > Oracle >>

Oracle 11gR2 RAC Votedisk and OCR Diskgroup Recovery

Oracle 11gR2 RAC Votedisk and OCR Diskgroup Recovery
 
check votedisk and OCR 
[root@vzwc1 ~]# ocrcheck  
Status of Oracle Cluster Registry is as follows :  
         Version                  :          3  
         Total space (kbytes)     :     262120  
         Used space (kbytes)      :       3116  
         Available space (kbytes) :     259004  
         ID                       : 1177335321  
         Device/File Name         :     +SYSDG  
                                    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@vzwc1 ~]#   
[root@vzwc1 ~]# crsctl query css votedisk  
##  STATE    File Universal Id                File Name Disk group  
--  -----    -----------------                --------- ---------  
 1. ONLINE   10a35374e0704fadbfdbced90a4dd17d (/dev/asm-diskg) [SYSDG]  
 2. ONLINE   0bd90c387c0b4fb9bf69e0e2feb7ab99 (/dev/asm-diskh) [SYSDG]  
 3. ONLINE   61ad9c6d57174fd6bf165513e4aef3f5 (/dev/asm-diski) [SYSDG]  
 4. ONLINE   1b8753ace6684fa2bfc948686b533416 (/dev/asm-diskj) [SYSDG]  
 5. ONLINE   71ecbbceeb9a4f7bbf7de7c862e6e049 (/dev/asm-diskk) [SYSDG]  
Located 5 voting disk(s).  
[root@vzwc1 ~]#   
[root@vzwc1 ~]# ocrconfig -showbackup  
  
vzwc1     2013/09/20 19:45:02     /u01/app/11.2.0/grid/cdata/vzwc-cluster/backup00.ocr  
  
vzwc1     2013/09/20 15:45:02     /u01/app/11.2.0/grid/cdata/vzwc-cluster/backup01.ocr  
  
vzwc1     2013/09/20 15:45:02     /u01/app/11.2.0/grid/cdata/vzwc-cluster/day.ocr  
  
vzwc1     2013/09/20 15:45:02     /u01/app/11.2.0/grid/cdata/vzwc-cluster/week.ocr  
PROT-25: Manual backups for the Oracle Cluster Registry are not available  
[root@vzwc1 ~]#   

Stop all nodes HAS
[root@vzwc1 ~]# crsctl stop has -f  
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.crsd' on 'vzwc1'  
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.CRSDG.dg' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.SYSDG.dg' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.zwc.db' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.cvu' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.oc4j' on 'vzwc1'  
CRS-2677: Stop of 'ora.cvu' on 'vzwc1' succeeded  
CRS-2672: Attempting to start 'ora.cvu' on 'vzwc2'  
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'vzwc1'  
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.vzwc1.vip' on 'vzwc1'  
CRS-2677: Stop of 'ora.vzwc1.vip' on 'vzwc1' succeeded  
CRS-2672: Attempting to start 'ora.vzwc1.vip' on 'vzwc2'  
CRS-2676: Start of 'ora.cvu' on 'vzwc2' succeeded  
CRS-2677: Stop of 'ora.registry.acfs' on 'vzwc1' succeeded  
CRS-2677: Stop of 'ora.zwc.db' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.DATADG.dg' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.FRADG.dg' on 'vzwc1'  
CRS-2677: Stop of 'ora.scan1.vip' on 'vzwc1' succeeded  
CRS-2672: Attempting to start 'ora.scan1.vip' on 'vzwc2'  
CRS-2676: Start of 'ora.vzwc1.vip' on 'vzwc2' succeeded  
CRS-2676: Start of 'ora.scan1.vip' on 'vzwc2' succeeded  
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'vzwc2'  
CRS-2677: Stop of 'ora.SYSDG.dg' on 'vzwc1' succeeded  
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'vzwc2' succeeded  
CRS-2677: Stop of 'ora.DATADG.dg' on 'vzwc1' succeeded  
CRS-2677: Stop of 'ora.FRADG.dg' on 'vzwc1' succeeded  
CRS-2677: Stop of 'ora.oc4j' on 'vzwc1' succeeded  
CRS-2672: Attempting to start 'ora.oc4j' on 'vzwc2'  
CRS-2676: Start of 'ora.oc4j' on 'vzwc2' succeeded  
CRS-2677: Stop of 'ora.CRSDG.dg' on 'vzwc1' succeeded  
CRS-2679: Attempting to clean 'ora.CRSDG.dg' on 'vzwc1'  
CRS-2681: Clean of 'ora.CRSDG.dg' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.asm' on 'vzwc1'  
CRS-2677: Stop of 'ora.asm' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.ons' on 'vzwc1'  
CRS-2677: Stop of 'ora.ons' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.net1.network' on 'vzwc1'  
CRS-2677: Stop of 'ora.net1.network' on 'vzwc1' succeeded  
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'vzwc1' has completed  
CRS-2677: Stop of 'ora.crsd' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.mdnsd' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.crf' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.ctssd' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.evmd' on 'vzwc1'  
CRS-2673: Attempting to stop 'ora.asm' on 'vzwc1'  
CRS-2677: Stop of 'ora.mdnsd' on 'vzwc1' succeeded  
CRS-2677: Stop of 'ora.crf' on 'vzwc1' succeeded  
CRS-2677: Stop of 'ora.evmd' on 'vzwc1' succeeded  
CRS-2677: Stop of 'ora.ctssd' on 'vzwc1' succeeded  
CRS-2677: Stop of 'ora.asm' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'vzwc1'  
CRS-2677: Stop of 'ora.drivers.acfs' on 'vzwc1' succeeded  
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.cssd' on 'vzwc1'  
CRS-2677: Stop of 'ora.cssd' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.gipcd' on 'vzwc1'  
CRS-2677: Stop of 'ora.gipcd' on 'vzwc1' succeeded  
CRS-2673: Attempting to stop 'ora.gpnpd' on 'vzwc1'  
CRS-2677: Stop of 'ora.gpnpd' on 'vzwc1' succeeded  
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'vzwc1' has completed  
CRS-4133: Oracle High Availability Services has been stopped.  
[root@vzwc2 ~]# crsctl stop has -f  
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'vzwc2'  
CRS-2673: Attempting to stop 'ora.crsd' on 'vzwc2'  
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'vzwc2'  
CRS-2673: Attempting to stop 'ora.oc4j' on 'vzwc2'  
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'vzwc2'  
CRS-2673: Attempting to stop 'ora.vzwc1.vip' on 'vzwc2'  
CRS-2673: Attempting to stop 'ora.cvu' on 'vzwc2'  
CRS-2673: Attempting to stop 'ora.CRSDG.dg' on 'vzwc2'  
CRS-2673: Attempting to stop 'ora.SYSDG.dg' on 'vzwc2'  
CRS-267
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,