先做一些检查:
1.检查ocr的完整性
root@oeltan1 ~]# su - grid[grid@oeltan1 ~]$ cluvfy comp ocr -n all
Verifying OCR integrity
Checking OCR integrity...
Checking the absence of a non-clustered configuration...
All nodes free of non-clustered, local-only configurations
ASM Running check passed. ASM is running on all specified nodes
Checking OCR config file "/etc/oracle/ocr.loc"...
OCR config file "/etc/oracle/ocr.loc" check successful
Disk group for ocr location "+CRS" available on all the nodes
Disk group for ocr location "+DATA1" available on all the nodes
NOTE:
This check does not verify the integrity of the OCR contents. Execute 'ocrcheck' as a privileged user to verify the contents of OCR.
OCR integrity check passed
Verification of OCR integrity was successful.
[grid@oeltan1 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3320
Available space (kbytes) : 258800
ID : 1360300110
Device/File Name : +CRS
Device/File integrity check succeeded
Device/File Name : +DATA1
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check bypassed due to non-privileged user
2.检查votedisk
[grid@oeltan1 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 2141c8c7d8904f89bfa45dbaecb827c5 (/dev/asm-diskb) [CRS]
Located 1 voting disk(s).
3看看磁盘使用的情况
1* select name,header_status,path from V$asm_diskSQL> /
NAME HEADER_STATU PATH
------------------------------ ------------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CRS_0000 MEMBER /dev/asm-diskb
DATA1_0002 MEMBER /dev/asm-diskg
DATA1_0001 MEMBER /dev/asm-diskf
DATA1_0000 MEMBER /dev/asm-diske
CRS_0002 MEMBER /dev/asm-diskd
CRS_0001 MEMBER /dev/asm-diskc
FRI_0000 MEMBER /dev/asm-diskh
FRI_0001 MEMBER /dev/asm-diski
FRI_0002 MEMBER /dev/asm-diskj
做备份
11g中votedisk不需要备份
1备份ASMspfile
SQL> create pfile='/tmp/asm_pfile_0724.txt' from spfile2备份ocr
[root@oeltan1 ~]# ocrconfig -manualbackup3检查备份:
[root@oeltan1 ~]# ocrconfig -showbackup<