In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you what to do about the failure of the ocr disk group, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Ocr disk group failure
1. Automatic backup and recovery
Dd command copy
Backup first
Dd if=/dev/raw/raw1 of=/home/grid/voting.2017
Restore
Dd if=/home/oracle/voting.2017 of=/dev/raw/raw1
Md_backup command backup disk group
Asmcmd-p
Md_backup / home/grid/ocrvote2.bak-G OCR
Manual export
. / ocrconfig-export / home/grid/ocr2.bak
2. Simulated damage
Dd if=/dev/zero of=/dev/raw/raw1 bs=8192 count=12800
Error
[grid@rac1 rac1] $ocrcheck
PROT-602: Failed to retrieve data from the cluster registry
PROC-26: Error while accessing the physical storage
The cluster status is normal.
[grid@rac1 rac1] $crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
2017-10-07 16 purl 19V 38.269:
[/ u01/app/11.2.0/grid/bin/orarootagent.bin (3040)] CRS-5822:Agent'/ u01 disconnected from server. Details at (: CRSAGF00117:) {0 in 3VR 307} in / u01/app/11.2.0/grid/log/rac1/agent/crsd/orarootagent_root/orarootagent_root.log.
2017-10-07 16 purl 19 purl 38.274:
[/ u01/app/11.2.0/grid/bin/scriptagent.bin (17425)] CRS-5822:Agent'/ u01 disconnected from server. Details at (: CRSAGF00117:) {0:13:3} in / u01/app/11.2.0/grid/log/rac1/agent/crsd/scriptagent_grid/scriptagent_grid.log.
2017-10-07 16 1914 38.287:
[/ u01/app/11.2.0/grid/bin/oraagent.bin (3036)] CRS-5822:Agent'/ u01 disconnected from server. Details at (: CRSAGF00117:) {0:1:7} in / u01/app/11.2.0/grid/log/rac1/agent/crsd/oraagent_grid/oraagent_grid.log.
2017-10-07 16 purl 19 purl 38.298:
[/ u01/app/11.2.0/grid/bin/oraagent.bin (3272)] CRS-5822:Agent'/ u01 disconnected from server. Details at (: CRSAGF00117:) {0 in 11 in 843} / u01/app/11.2.0/grid/log/rac1/agent/crsd/oraagent_oracle/oraagent_oracle.log.
2017-10-07 16 1914 38.305:
[ohasd (2103)] CRS-2765:Resource 'ora.crsd' has failed on server' rac1'.
2017-10-07 16 Suzhou 1914 39.738:
[crsd (17471)] CRS-1013:The OCR location in an ASM disk group is inaccessible. Details in / u01/app/11.2.0/grid/log/rac1/crsd/crsd.log.
2017-10-07 16 1914 39.757:
[crsd (17471)] CRS-0804:Cluster Ready Service aborted due to Oracle Cluster Registry error [PROC-26: Error while accessing the physical storage
]. Details at (: CRSD00111:) in / u01/app/11.2.0/grid/log/rac1/crsd/crsd.log.
2017-10-07 16 1914 44.785:
[ohasd (2103)] CRS-2765:Resource 'ora.crsd' has failed on server' rac1'.
2017-10-07 16 1915 46.138:
[crsd (17484)] CRS-1013:The OCR location in an ASM disk group is inaccessible. Details in / u01/app/11.2.0/grid/log/rac1/crsd/crsd.log.
2017-10-07 16 1915 46.147:
[crsd (17484)] CRS-0804:Cluster Ready Service aborted due to Oracle Cluster Registry error [PROC-26: Error while accessing the physical storage
]. Details at (: CRSD00111:) in / u01/app/11.2.0/grid/log/rac1/crsd/crsd.log.
2017-10-07 16-19-19-48-171:
[ctssd (2629)] CRS-2407:The new Cluster Time Synchronization Service reference node is host rac1.
2017-10-07 16 1915: 51.185:
[ohasd (2103)] CRS-2765:Resource 'ora.crsd' has failed on server' rac1'.
2017-10-07 16 1914 51.303:
[cssd (2549)] CRS-1625:Node rac2, number 2, was manually shut down
View automatic backup
. / ocrconfig-showbackup
Check
Crsctl check crs
Crsctl query css votedisk
Ocrcheck
3. Restore (under root users)
All nodes stop crs
. / crsctl stop crs-f
. / crsctl stop has-f
. / crsctl disable has
. / crsctl disable crs-- shuts down and restarts
Crsctl start crs-excl
Open crs exclusively
Crsctl start crs-excl-nocrs
Create a disk group
Select name, COMPATIBILITY from v$asm_diskgroup
Create diskgroup ocr external redundancy DISK'/ dev/raw/raw1' ATTRIBUTE 'compatible.asm'='11.2.0.0.0'
Drop diskgroup ocr force including contents
Ocrconfig-restore / u01/app/11.2.0/grid/cdata/rac-cluster/backup_20171007_153630.ocr
. / ocrconfig-restore / u01/app/11.2.0/grid/cdata/rac-cluster/backup00.ocr
Execute ocrcheck
Do you need to restore votingdisk?
Restore voting disk
. / crsctl replace votedisk + OCR
Stop clusterware running in exclusive mode
Crsctl stop crs-f
All nodes start crs normally
Crsctl start crs
CVU verifies the integrity of all RAC node OCR
Cluvfy comp ocr-n all-verbose
The above is how to do the failure of ocr disk group. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.