In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
First check the OCR disk.
[grid@rac1 cdata] $ocrcheck
Status of OracleCluster Registry is as follows:
Version: 3
Total space (kbytes): 262120
Used space (kbytes): 3068
Available space (kbytes): 259052
ID: 1088979561
Device/File Name: + CRS
Device/Fileintegrity check succeeded
Device/Filenot configured
Device/Filenot configured
Device/Filenot configured
Device/Filenot configured
Cluster registry integrity checksucceeded
Logical corruption check bypassed dueto non-privileged user
[grid@rac1grid] $cluvfy comp ocr-n all
Verifying OCR integrity
Checking OCRintegrity...
Checking the absence ofa non-clustered configuration...
All nodes free ofnon-clustered, local-only configurations
ASM Running checkpassed. ASM is running on all specified nodes
Checking OCR configfile "/ etc/oracle/ocr.loc"...
OCR config file "/ etc/oracle/ocr.loc" check successful
Disk group for ocrlocation "+ CRS" available on all the nodes
NOTE:
This check does notverify the integrity of the OCR contents. Execute 'ocrcheck' as a privilegeduser to verify the contents of OCR.
OCR integrity checkpassed
Verification of OCRintegrity was successful.
Back up the asm parameter file
[grid@rac1grid] $sqlplus / as sysasm
SQL > createpfile='/tmp/asm_pfile_20150306.txt' from spfile
Backup OCR disk
[root@rac1 grid] # bin/ocrconfig-export / tmp/ocr_bak20150306.dmp
Simulate the destruction of the OCR disk:
[root@rac1grid] # dd if=/dev/zero of=/dev/oracleasm/disks/CRS bs=1024 count=1000
After the destruction, check the cluster status.
[grid@rac1grid] $crsctl check crs
CRS-4638: Oracle HighAvailability Services is online
CRS-4537: Cluster ReadyServices is online
CRS-4529: ClusterSynchronization Services is online
CRS-4533: Event Manageris online
Check OCR consistency
[grid@rac1grid] $cluvfy comp ocr-n all
Verifying OCR integrity
Checking OCRintegrity...
Checking the absence ofa non-clustered configuration...
All nodes free ofnon-clustered, local-only configurations
ASM Running checkpassed. ASM is running on all specified nodes
Checking OCR configfile "/ etc/oracle/ocr.loc"...
OCR config file "/ etc/oracle/ocr.loc" check successful
Disk group for ocrlocation "+ CRS" available on all the nodes
NOTE:
This check does notverify the integrity of the OCR contents. Execute 'ocrcheck' as a privilegeduser to verify the contents of OCR.
OCR integrity checkpassed
Verification of OCRintegrity was successful.
Restart CRS
[root@rac1grid] # bin/crsctl stop crs
CRS-2791: Startingshutdown of Oracle High Availability Services-managed resources on 'rac1'
CRS-2673: Attempting tostop 'ora.crsd' on' rac1'
CRS-2790: Startingshutdown of Cluster Ready Services-managed resources on 'rac1'
CRS-2673: Attempting tostop 'ora.CRS.dg' on' rac1'
CRS-2673: Attempting tostop 'ora.rac.db' on' rac1'
CRS-2673: Attempting tostop 'ora.registry.acfs' on' rac1'
CRS-2673: Attempting tostop 'ora.cvu' on' rac1'
CRS-2673: Attempting tostop 'ora.oc4j' on' rac1'
CRS-2673: Attempting tostop 'ora.LISTENER_SCAN1.lsnr' on' rac1'
CRS-2673: Attempting tostop 'ora.LISTENER.lsnr' on' rac1'
CRS-2677: Stop of'ora.cvu' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.cvu' on' rac2'
CRS-2677: Stop of'ora.LISTENER_SCAN1.lsnr' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.scan1.vip' on' rac1'
CRS-2676: Start of'ora.cvu' on 'rac2' succeeded
CRS-2677: Stop of'ora.LISTENER.lsnr' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.rac1.vip' on' rac1'
CRS-2677: Stop of'ora.scan1.vip' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.scan1.vip' on' rac2'
CRS-2677: Stop of'ora.rac1.vip' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.rac1.vip' on' rac2'
CRS-2677: Stop of'ora.registry.acfs' on 'rac1' succeeded
CRS-2676: Start of'ora.scan1.vip' on 'rac2' succeeded
CRS-2672: Attempting tostart 'ora.LISTENER_SCAN1.lsnr' on' rac2'
CRS-2677: Stop of'ora.rac.db' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.DATA.dg' on' rac1'
CRS-2673: Attempting tostop 'ora.FRA.dg' on' rac1'
CRS-2676: Start of'ora.rac1.vip' on 'rac2' succeeded
CRS-2676: Start of'ora.LISTENER_SCAN1.lsnr' on 'rac2' succeeded
CRS-2677: Stop of'ora.CRS.dg' on 'rac1' succeeded
CRS-2677: Stop of'ora.FRA.dg' on 'rac1' succeeded
CRS-2677: Stop of'ora.DATA.dg' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.asm' on' rac1'
CRS-2677: Stop of'ora.asm' on 'rac1' succeeded
CRS-2677: Stop of'ora.oc4j' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.oc4j' on' rac2'
CRS-2676: Start of'ora.oc4j' on 'rac2' succeeded
CRS-2673: Attempting tostop 'ora.ons' on' rac1'
CRS-2677: Stop of'ora.ons' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.net1.network' on' rac1'
CRS-2677: Stop of'ora.net1.network' on 'rac1' succeeded
CRS-2792: Shutdown ofCluster Ready Services-managed resources on 'rac1' has completed
CRS-2677: Stop of'ora.crsd' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.crf' on' rac1'
CRS-2673: Attempting tostop 'ora.ctssd' on' rac1'
CRS-2673: Attempting tostop 'ora.evmd' on' rac1'
CRS-2673: Attempting tostop 'ora.asm' on' rac1'
CRS-2673: Attempting tostop 'ora.mdnsd' on' rac1'
CRS-2673: Attempting tostop 'ora.drivers.acfs' on' rac1'
CRS-2677: Stop of'ora.crf' on 'rac1' succeeded
CRS-2677: Stop of'ora.evmd' on 'rac1' succeeded
CRS-2677: Stop of'ora.mdnsd' on 'rac1' succeeded
CRS-2677: Stop of'ora.ctssd' on 'rac1' succeeded
CRS-2677: Stop of'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.cluster_interconnect.haip' on' rac1'
CRS-2677: Stop of'ora.cluster_interconnect.haip' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.cssd' on' rac1'
CRS-2677: Stop of'ora.drivers.acfs' on 'rac1' succeeded
CRS-2677: Stop of'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.gipcd' on' rac1'
CRS-2677: Stop of'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.gpnpd' on' rac1'
CRS-2677: Stop of'ora.gpnpd' on 'rac1' succeeded
CRS-2793: Shutdown ofOracle High Availability Services-managed resources on 'rac1' has completed
CRS-4133: Oracle HighAvailability Services has been stopped.
Start
[root@rac1grid] # bin/crsctl start crs
CRS-4123: Oracle HighAvailability Services has been started.
Observe the alarm log
[root@rac1 grid] # tail-100f/u01/app/11.2.0.4/grid/log/rac1/alertrac1.log
[/ u01/app/11.2.0.4/grid/bin/orarootagent.bin (21098)] CRS-5016:Process "/ u01/app/11.2.0.4/grid/bin/acfsregistrymount" spawned by agent "/ u01/app/11.2.0.4/grid/bin/orarootagent.bin" for action "check" failed: details at "(CLSN00010:)" in "/ u01/app/11.2.0.4/grid/log/rac1/agent/crsd/orarootagent_root/orarootagent_root.log"
2015-03-0523 52R 17.725:
[/ u01/app/11.2.0.4/grid/bin/orarootagent.bin (21098)] CRS-5016:Process "/ u01/app/11.2.0.4/grid/bin/acfsregistrymount" spawned by agent "/ u01/app/11.2.0.4/grid/bin/orarootagent.bin" for action "check" failed: details at "(CLSN00010:)" in "/ u01/app/11.2.0.4/grid/log/rac1/agent/crsd/orarootagent_root/orarootagent_root.log"
2015-03-0618 purl 46Rd 58.197:
[/ u01/app/11.2.0.4/grid/bin/orarootagent.bin (21098)] CRS-5822:Agent'/u01/app/11.2.0.4/grid/bin/orarootagent_root' disconnected from server.Details at (: CRSAGF00117:) {0CRSAGF00117 3purl 22642} in/u01/app/11.2.0.4/grid/log/rac1/agent/crsd/orarootagent_root/orarootagent_root.log.
2015-03-0618 purl 47purl 00.102:
[ctssd (20098)] CRS-2405:TheCluster Time Synchronization Service on host rac1 is shutdown by user
[client (7931)] CRS-10001:06-Mar-1518:47 ACFS-9290: Waiting for ASM to shutdown.
2015-03-0618 purl 47purl 01.435:
[mdnsd (19905)] CRS-5602:mDNSservice stopping by request.
2015-03-0618 purl 47 purl 11.506:
[cssd (19972)] CRS-1603:CSSDon node rac1 shutdown by user.
2015-03-0618 purl 47 purl 11.721:
[cssd (19972)] CRS-1660:TheCSS daemon shutdown has completed
2015-03-0618 47 12.299:
[ohasd (15515)] CRS-2767:Resourcestate recovery not attempted for 'ora.cssdmonitor' as its target state isOFFLINE
2015-03-0618 47 12.326:
[ohasd (15515)] CRS-2769:Unableto failover resource 'ora.cssdmonitor'.
2015-03-0618 47 13. 861:
[ohasd (15515)] CRS-2769:Unableto failover resource 'ora.cssd'.
2015-03-0618 purl 47 purl 19.278:
[gpnpd (19923)] CRS-2329:GPNPDon node rac1 shutdown.
2015-03-0618 4915 03.584:
[client (8370)] CRS-2302:Cannotget GPnP profile. Error CLSGPNP_NO_DAEMON (GPNPD daemon is not running).
2015-03-0618 4915 03.585:
[client (8370)] CRS-1013:TheOCR location in an ASM disk group is inaccessible. Details in/u01/app/11.2.0.4/grid/log/rac1/client/crsctl_oracle.log.
...
2015-03-0618 purl 5412.281:
[client (9870)] CRS-2302:Cannotget GPnP profile. Error CLSGPNP_NO_DAEMON (GPNPD daemon is not running).
2015-03-0618 purl 5412.282:
[client (9870)] CRS-1013:TheOCR location in an ASM disk group is inaccessible. Details in/u01/app/11.2.0.4/grid/log/rac1/client/crsctl_oracle.log.
2015-03-0618 purl 5412.311:
[ohasd (9880)] CRS-2112:TheOLR service started on node rac1.
2015-03-0618 purl 5412.326:
[ohasd (9880)] CRS-1301:OracleHigh Availability Service started on node rac1.
2015-03-0618 purl 5412.382:
[ohasd (9880)] CRS-8017:location:/etc/oracle/lastgasp has 2 reboot advisory log files, 0 were announced and 0errors occurred
2015-03-0618 purse 54 purl 16.606:
[/ u01/app/11.2.0.4/grid/bin/orarootagent.bin (9940)] CRS-2302:Cannotget GPnP profile. Error CLSGPNP_NO_DAEMON (GPNPD daemon is not running).
2015-03-0618 Suzhou 5417. 004:
[client (10084)] CRS-2302:Cannotget GPnP profile. Error CLSGPNP_NO_DAEMON (GPNPD daemon is not running).
2015-03-0618 purse 5417. 005:
[client (10084)] CRS-1013:TheOCR location in an ASM disk group is inaccessible. Details in/u01/app/11.2.0.4/grid/log/rac1/client/crsctl_oracle.log.
2015-03-0618 pur.5420.445:
[client (10096)] CRS-2302:Cannotget GPnP profile. Error CLSGPNP_NO_DAEMON (GPNPD daemon is not running).
2015-03-0618 Flux 54 20. 446:
[client (10096)] CRS-1013:TheOCR location in an ASM disk group is inaccessible. Details in/u01/app/11.2.0.4/grid/log/rac1/client/crsctl_oracle.log.
2015-03-0618 pur.5420.878:
[gpnpd (10132)] CRS-2328:GPNPDstarted on node rac1.
2015-03-0618 purse 5423. 356:
[cssd (10234)] CRS-1713:CSSDdaemon is started in clustered mode
2015-03-0618 Suzhou 5425.105:
[ohasd (9880)] CRS-2767:Resourcestate recovery not attempted for 'ora.diskmon' as its target state is OFFLINE
2015-03-0618 Suzhou 5425.106:
[ohasd (9880)] CRS-2769:Unableto failover resource 'ora.diskmon'.
2015-03-0618 purse 54 purl 27.522:
[cssd (10234)] CRS-1714:Unableto discover any voting files, retrying discovery in 15 seconds; Details at (: CSSNM00070:) in / u01/app/11.2.0.4/grid/log/rac1/cssd/ocssd.log
2015-03-0618 Flux 54 purl 42.598:
[cssd (10234)] CRS-1714:Unableto discover any voting files, retrying discovery in 15 seconds; Details at (: CSSNM00070:) in / u01/app/11.2.0.4/grid/log/rac1/cssd/ocssd.log
2015-03-0618 Flux 54 purl 57.663:
[cssd (10234)] CRS-1714:Unableto discover any voting files, retrying discovery in 15 seconds; Details at (: CSSNM00070:) in / u01/app/11.2.0.4/grid/log/rac1/cssd/ocssd.log
2015-03-0618 Suzhou 5512.729:
[cssd (10234)] CRS-1714:Unableto discover any voting files, retrying discovery in 15 seconds; Details at (: CSSNM00070:) in / u01/app/11.2.0.4/grid/log/rac1/cssd/ocssd.log
2015-03-0618 Zhou 55 26. 190:
[client (10467)] CRS-1013:TheOCR location in an ASM disk group is inaccessible. Details in/u01/app/11.2.0.4/grid/log/rac1/client/crsctl_oracle.log.
2015-03-0618 purse 55 purl 27.787:
[cssd (10234)] CRS-1714:Unableto discover any voting files, retrying discovery in 15 seconds; Details at (: CSSNM00070:) in / u01/app/11.2.0.4/grid/log/rac1/cssd/ocssd.log
2015-03-0618 purse 55 purl 42.844:
[cssd (10234)] CRS-1714:Unableto discover any voting files, retrying discovery in 15 seconds; Details at (: CSSNM00070:) in / u01/app/11.2.0.4/grid/log/rac1/cssd/ocssd.log
Found a mistake.
Check the status of the cluster process
[root@rac1grid] # bin/crsctl check crs
CRS-4638: Oracle HighAvailability Services is online
CRS-4535: Cannotcommunicate with Cluster Ready Services
CRS-4530:Communications failure contacting Cluster Synchronization Services daemon
CRS-4534: Cannotcommunicate with Event Manager
Check the OCR disk
[root@rac1grid] # bin/ocrcheck
PROT-602: Failed toretrieve data from the cluster registry
PROC-26: Error whileaccessing the physical storage
ORA-15077: could notlocate ASM instance serving a required diskgroup
ORA-29701: unable toconnect to Cluster Synchronization Service
The recovery begins.
Stop the CRS.
[root@rac1grid] # bin/crsctl stop crs-f
CRS-2791: Startingshutdown of Oracle High Availability Services-managed resources on 'rac1'
CRS-2673: Attempting tostop 'ora.mdnsd' on' rac1'
CRS-2673: Attempting tostop 'ora.crf' on' rac1'
CRS-2677: Stop of'ora.crf' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.gipcd' on' rac1'
CRS-2677: Stop of'ora.mdnsd' on 'rac1' succeeded
CRS-2677: Stop of'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.gpnpd' on' rac1'
CRS-2677: Stop of'ora.gpnpd' on 'rac1' succeeded
CRS-2793: Shutdown ofOracle High Availability Services-managed resources on 'rac1' has completed
CRS-4133: Oracle HighAvailability Services has been stopped.
Start CRS exclusively
[root@rac1grid] # bin/crsctl start crs-excl-nocrs
CRS-4123: Oracle HighAvailability Services has been started.
CRS-2672: Attempting tostart 'ora.mdnsd' on' rac1'
CRS-2676: Start of'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.gpnpd' on' rac1'
CRS-2676: Start of'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.cssdmonitor' on' rac1'
CRS-2672: Attempting tostart 'ora.gipcd' on' rac1'
CRS-2676: Start of'ora.cssdmonitor' on 'rac1' succeeded
CRS-2676: Start of'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.cssd' on' rac1'
CRS-2672: Attempting tostart 'ora.diskmon' on' rac1'
CRS-2676: Start of'ora.diskmon' on' rac1' succeeded
CRS-2676: Start of'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.drivers.acfs' on' rac1'
CRS-2679: Attempting toclean 'ora.cluster_interconnect.haip' on' rac1'
CRS-2672: Attempting tostart 'ora.ctssd' on' rac1'
CRS-2681: Clean of'ora.cluster_interconnect.haip' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.cluster_interconnect.haip' on' rac1'
CRS-2676: Start of'ora.ctssd' on 'rac1' succeeded
CRS-2676: Start of'ora.drivers.acfs' on 'rac1' succeeded
CRS-2676: Start of'ora.cluster_interconnect.haip' on 'rac1' succeeded
CRS-2672: Attempting tostart 'ora.asm' on' rac1'
CRS-2676: Start of'ora.asm' on 'rac1' succeeded
Add an ASM disk group to serve as a new OCR disk
[grid@rac1grid] $sqlplus / as sysasm
SQL > create diskgroup OCRVOTE external redundancy disk 'ORCL:OCRVOTE' attribute'compatible.asm'='11.2.0.0.0','compatible.rdbms'='11.2.0.0.0'
Create the ASM parameter file on the OCRVOTE disk
SQL > create spfile='+OCRVOTE' from pfile='/tmp/asm_pfile_20150306.txt'
File created.
View parameter file
[grid@rac1grid] $asmcmd
ASMCMD > pwd
+ OCRVOTE/rac/ASMPARAMETERFILE
ASMCMD > ls
REGISTRY.253.873671069
OCR points to the new disk. All nodes are changed.
[root@rac1 grid] # vi/etc/oracle/ocr.loc
Ocrconfig_loc=+OCRVOTE
Local_only=FALSE
Restore OCRcontents from manual backup
[root@rac1 grid] # bin/ocrconfig-import / tmp/ocr_bak20150306.dmp
Note, if automatic backups are used here (that is, several backups under / u01/app/11.2.0.4/grid/cdata/rac/), then use ocrconfig-restore /... . / backup00.ocr to restore
Ocrcheck a hand.
[root@rac1grid] # bin/ocrcheck
Status of OracleCluster Registry is as follows:
Version: 3
Total space (kbytes): 262120
Used space (kbytes): 3100
Available space (kbytes): 259020
ID: 408582211
Device/File Name: + OCRVOTE
Device/Fileintegrity check succeeded
Device/Filenot configured
Device/Filenot configured
Device/Filenot configured
Device/Filenot configured
Cluster registry integrity checksucceeded
Logical corruption check succeeded
Restore voting disk
[root@rac1grid] # bin/crsctl query css votedisk
Located 0 votingdisk (s).
[root@rac1grid] # bin/crsctl replace votedisk + OCRVOTE
Successful addition ofvoting disk 794a9685b6154fbfbf7095ba72878188.
Successfully replacedvoting disk group with + OCRVOTE.
CRS-4266: Votingfile (s) successfully replaced
[root@rac1grid] # bin/crsctl query css votedisk
# # STATE File Universal Id File Name Disk group
1. ONLINE 794a9685b6154fbfbf7095ba72878188 (ORCL:OCRVOTE) [OCRVOTE]
Located 1 votingdisk (s).
Restart CRS
[root@rac1grid] # bin/crsctl stop crs
CRS-2791: Startingshutdown of Oracle High Availability Services-managed resources on 'rac1'
CRS-2673: Attempting tostop 'ora.drivers.acfs' on' rac1'
CRS-2673: Attempting tostop 'ora.mdnsd' on' rac1'
CRS-2673: Attempting tostop 'ora.ctssd' on' rac1'
CRS-2673: Attempting tostop 'ora.asm' on' rac1'
CRS-2677: Stop of'ora.mdnsd' on 'rac1' succeeded
CRS-2677: Stop of'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.cluster_interconnect.haip' on' rac1'
CRS-2677: Stop of'ora.cluster_interconnect.haip' on 'rac1' succeeded
CRS-2677: Stop of'ora.drivers.acfs' on 'rac1' succeeded
CRS-2677: Stop of'ora.ctssd' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.cssd' on' rac1'
CRS-2677: Stop of'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.gipcd' on' rac1'
CRS-2677: Stop of'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting tostop 'ora.gpnpd' on' rac1'
CRS-2677: Stop of'ora.gpnpd' on 'rac1' succeeded
CRS-2793: Shutdown ofOracle High Availability Services-managed resources on 'rac1' has completed
CRS-4133: Oracle HighAvailability Services has been stopped.
[root@rac1grid] # bin/crsctl start crs
CRS-4123: Oracle HighAvailability Services has been started.
[root@rac1 grid] # bin/crsctl stat res-t-- 11g cluster resources will take some time to start, and will be OK in a short while
CRS-4535: Cannotcommunicate with Cluster Ready Services
CRS-4000: CommandStatus failed, or completed with errors.
[root@rac1grid] # bin/crsctl stat res-t
CRS-4535: Cannotcommunicate with Cluster Ready Services
CRS-4000: CommandStatus failed, or completed with errors.
[root@rac1grid] # bin/crsctl stat res-t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
Ora.CRS.dg
ONLINE OFFLINE rac1
OFFLINE OFFLINE rac2
Ora.DATA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.FRA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.LISTENER.lsnr
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.asm
ONLINE ONLINE rac1 Started
ONLINE ONLINE rac2 Started
Ora.gsd
OFFLINE OFFLINE rac1
OFFLINE OFFLINE rac2
Ora.net1.network
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.ons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.registry.acfs
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Cluster Resources
Ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac1
Ora.cvu
1 ONLINE ONLINE rac1
Ora.oc4j
1 ONLINE ONLINE rac1
Ora.rac.db
1 ONLINE ONLINE rac1 Open
2 ONLINE ONLINE rac2 Open
Ora.rac1.vip
1 ONLINE ONLINE rac1
Ora.rac2.vip
1 ONLINE ONLINE rac2
Ora.scan1.vip
1 ONLINE ONLINE rac1
Note that since the name of our disk group has been changed here, we need to modify the CRS resources and configure boot.
View the details of the original resource
[root@rac1grid] # bin/crsctl stat res ora.CRS.dg-p
NAME=ora.CRS.dg
TYPE=ora.diskgroup.type
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
ACTION_FAILURE_TEMPLATE=
ACTION_SCRIPT=
AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
ALIAS_NAME=
AUTO_START=never
CHECK_INTERVAL=300
CHECK_TIMEOUT=30
DEFAULT_TEMPLATE=
DEGREE=1
DESCRIPTION=CRSresource type definition for ASM disk group resource
ENABLED=1
LOAD=1
LOGGING_LEVEL=1
NLS_LANG=
NOT_RESTARTING_TEMPLATE=
OFFLINE_CHECK_INTERVAL=0
PROFILE_CHANGE_TEMPLATE=
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=60
START_DEPENDENCIES=hard (ora.asm) pullup (ora.asm)
START_TIMEOUT=900
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=hard (intermediate:ora.asm)
STOP_TIMEOUT=180
TYPE_VERSION=1.2
UPTIME_THRESHOLD=1d
USR_ORA_ENV=
USR_ORA_OPI=false
USR_ORA_STOP_MODE=
VERSION=11.2.0.4.0
[root@rac1 grid] # bin/crsctl stop res ora.CRS.dg
CRS-2500: Cannot stopresource 'ora.CRS.dg' as it is not running
CRS-4000: Command Stopfailed, or completed with errors.
[root@rac1grid] # bin/crsctl stop res ora.CRS.dg-f
CRS-2500: Cannot stop resource 'ora.CRS.dg' as itis not running
CRS-4000: Command Stopfailed, or completed with errors.
[root@rac1grid] # bin/crsctl delete res ora.CRS.dg-f
[root@rac1grid] # bin/crsctl stat res-t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
Ora.DATA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.FRA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.LISTENER.lsnr
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.asm
ONLINE ONLINE rac1 Started
ONLINE ONLINE rac2 Started
Ora.gsd
OFFLINE OFFLINE rac1
OFFLINE OFFLINE rac2
Ora.net1.network
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.ons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.registry.acfs
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Cluster Resources
Ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac1
Ora.cvu
1 ONLINE ONLINE rac1
Ora.oc4j
1 ONLINE ONLINE rac1
Ora.rac.db
1 ONLINE ONLINE rac1 Open
2 ONLINE ONLINE rac2 Open
Ora.rac1.vip
1 ONLINE ONLINE rac1
Ora.rac2.vip
1 ONLINE ONLINE rac2
Ora.scan1.vip
1 ONLINE ONLINE rac1
Ora.CRS.dg resources have been deleted, now add new resources
[grid@rac1grid] $crsctl add res ora.OCRVOTE.dg-type ora.diskgroup.type-attr "ACL='owner:grid:rwx,pgrp:oinstall:rwx,other::r--',AUTO_START=always,VERSION=11.2.0.4.0"-I
[grid@rac1grid] $crsctl stat res-t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
Ora.DATA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.FRA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.LISTENER.lsnr
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.OCRVOTE.dg
OFFLINE OFFLINE rac1
OFFLINE OFFLINE rac2
Ora.asm
ONLINE ONLINE rac1 Started
ONLINE ONLINE rac2 Started
Ora.gsd
OFFLINE OFFLINE rac1
OFFLINE OFFLINE rac2
Ora.net1.network
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.ons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.registry.acfs
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Cluster Resources
Ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac1
Ora.cvu
1 ONLINE ONLINE rac1
Ora.oc4j
1 ONLINE ONLINE rac1
Ora.rac.db
1 ONLINE ONLINE rac1 Open
2 ONLINE ONLINE rac2 Open
Ora.rac1.vip
1 ONLINE ONLINE rac1
Ora.rac2.vip
1 ONLINE ONLINE rac2
Ora.scan1.vip
1 ONLINE ONLINE rac1
Start the resource
[grid@rac1grid] $crsctl start res ora.OCRVOTE.dg
CRS-2672: Attempting tostart 'ora.OCRVOTE.dg' on' rac1'
CRS-2672: Attempting tostart 'ora.OCRVOTE.dg' on' rac2'
CRS-2676: Start of'ora.OCRVOTE.dg' on 'rac2' succeeded
CRS-2676: Start of'ora.OCRVOTE.dg' on 'rac1' succeeded
[grid@rac1grid] $crsctl stat res-t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
Ora.DATA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.FRA.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.LISTENER.lsnr
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.OCRVOTE.dg
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.asm
ONLINE ONLINE rac1 Started
ONLINE ONLINE rac2 Started
Ora.gsd
OFFLINE OFFLINE rac1
OFFLINE OFFLINE rac2
Ora.net1.network
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.ons
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Ora.registry.acfs
ONLINE ONLINE rac1
ONLINE ONLINE rac2
Cluster Resources
Ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac1
Ora.cvu
1 ONLINE ONLINE rac1
Ora.oc4j
1 ONLINE ONLINE rac1
Ora.rac.db
1 ONLINE ONLINE rac1 Open
2 ONLINE ONLINE rac2 Open
Ora.rac1.vip
1 ONLINE ONLINE rac1
Ora.rac2.vip
1 ONLINE ONLINE rac2
Ora.scan1.vip
1 ONLINE ONLINE rac1
At this point, the OCR and VOTINGDISK recovery is complete.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.