This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@exadb01 ~]# crsctl stop crs -f | |
| [root@exadb01 ~]# crsctl start crs -excl -nocrs | |
| [oracle@exab01 ~]$ cat /etc/oracle/ocr.loc | |
| #Device/file +DATA getting replaced by device +DATA/exa/OCRFILE/registry.255.1025972873 | |
| ocrconfig_loc=+DATA/exa/OCRFILE/registry.255.1025972873 | |
| [oracle@exadb01 ~]$ vi /etc/oracle/ocr.loc | |
| ocrconfig_loc=+RECO ---> Restore location. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SYS@+ASM1> show parameter spfile; | |
| NAME TYPE VALUE | |
| ------------------------------------ ----------- ------------------------------ | |
| spfile string +DATA/exa/ASMPARAMETERFILE/registry.253.1025972865 | |
| [oracle@exadb01 ~]$ amdu -diskstring 'o/*/DATA_*' -extract data.253 | |
| amdu_2020_08_05_14_29_07/ | |
| [oracle@exadb01 ~]$ cd amdu_2020_08_05_14_29_07/ | |
| [oracle@exadb01 amdu_2020_08_05_14_29_07]$ ll |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SYS@+ASM1> create diskgroup data normal redundancy disk 'o/192.168.31.10/DATA_CD_00_exacel02', | |
| 'o/192.168.31.10/DATA_CD_01_exacel02', | |
| 'o/192.168.31.10/DATA_CD_02_exacel02', | |
| 'o/192.168.31.10/DATA_CD_03_exacel02', | |
| 'o/192.168.31.10/DATA_CD_04_exacel02', | |
| 'o/192.168.31.10/DATA_CD_05_exacel02', | |
| 'o/192.168.31.10/DATA_CD_06_exacel02', | |
| 'o/192.168.31.10/DATA_CD_07_exacel02', | |
| 'o/192.168.31.10/DATA_CD_08_exacel02', | |
| 'o/192.168.31.10/DATA_CD_09_exacel02', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@exadb02 trace]# vi /u01/app/oracle/diag/crs/exadb02/crs/trace/alert.log | |
| ... | |
| 2020-08-06 11:24:10.239 [ORAROOTAGENT(278746)]CRS-5019: All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00140:)" in "/u01/app/oracle/diag/crs/exadb02/crs/trace/ohasd_orarootagent_root.trc". | |
| ... | |
| [root@exadb02 trace]# tail -f /u01/app/oracle/diag/crs/exadb02/crs/trace/ohasd_orarootagent_root.trc | |
| ... | |
| 2020-08-06 11:29:37.160 : USRTHRD:697435904: [ INFO] {0:5:3} [ora.storage] Error [kgfoAl06] in [kgfokge] at kgfo.c:3169 | |
| 2020-08-06 11:29:37.160 : USRTHRD:697435904: [ INFO] {0:5:3} [ora.storage] ORA-01017: invalid username/password; logon denied | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@exadb02 trace]# vi /u01/app/oracle/diag/crs/exadb02/crs/trace/alert.log | |
| ... | |
| 2020-08-06 11:24:10.239 [ORAROOTAGENT(278746)]CRS-5019: All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00140:)" in "/u01/app/oracle/diag/crs/exadb02/crs/trace/ohasd_orarootagent_root.trc". | |
| ... | |
| [root@exadb02 trace]# tail -f /u01/app/oracle/diag/crs/exadb02/crs/trace/ohasd_orarootagent_root.trc | |
| ... | |
| 2020-08-06 11:29:37.160 : USRTHRD:697435904: [ INFO] {0:5:3} [ora.storage] Error [kgfoAl06] in [kgfokge] at kgfo.c:3169 | |
| 2020-08-06 11:29:37.160 : USRTHRD:697435904: [ INFO] {0:5:3} [ora.storage] ORA-01017: invalid username/password; logon denied | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| We have this privileged database users in a healthy cluster : | |
| ASMCMD> lspwusr | |
| Username sysdba sysoper sysasm | |
| SYS TRUE TRUE TRUE | |
| CRSUSER__ASM_001 TRUE FALSE TRUE | |
| ASMSNMP TRUE FALSE FALSE | |
| What do we have : | |
| ASMCMD> lspwusr | |
| Username sysdba sysoper sysasm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [oracle@exadb01 ~]$ ocrdump /tmp/ocr.dmp | |
| PROT-310: Not all keys were dumped due to permissions. | |
| [oracle@exadb01 ~]$ vi /tmp/ocr.dmp | |
| ... | |
| [SYSTEM.ASM.CREDENTIALS.USERS.CRSUSER__ASM_001] | |
| ORATEXT : 8956aa1aaa66aa46aaaa2222a895aa5a:oracle | |
| ... | |
| [oracle@exadb01 ~]$ crsctl get credmaint -path /ASM/Self/8956aa1aaa66aa46aaaa2222a895aa5a -credtype userpass -id 0 -attr passwd -local | |
| ZbV9Zx7F8BKxM2ZD4gUnKMjaH5Hnk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ASMCMD> pwcopy +DATA/orapwasm +RECO/orapwasm_backup | |
| copying +DATA/orapwasm -> +RECO/orapwasm_backup | |
| [oracle@exadb01 dbs]$ srvctl config asm | |
| ASM home: <CRS home> | |
| Password file: +DATA/orapwasm | |
| Backup of Password file: +DATA/orapwASM_backup | |
| ASM listener: LISTENER | |
| ASM instance count: ALL | |
| Cluster ASM listener: ASMNET1LSNR_ASM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2022-02-17T14:25:33.918516+10:30 | |
| WARNING: too many parse errors, count=9700 SQL hash=0xcccb313a | |
| PARSE ERROR: ospid=33356, error=923 for statement: | |
| 2022-02-17T14:25:33.918632+10:30 | |
| select dual | |
| Additional information: hd=0xb336ab08 phd=0xb336af30 flg=0x28 cisid=120 sid=120 ciuid=120 uid=120 | |
| 2022-02-17T14:29:04.673714+10:30 | |
| WARNING: too many parse errors, count=9800 SQL hash=0xcccb313a | |
| PARSE ERROR: ospid=34578, error=923 for statement: | |
| 2022-02-17T14:29:04.673839+10:30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL> ALTER SYSTEM SET "_kks_parse_error_warning"=0 SCOPE=BOTH; |