There was a situation when I had to mount disk group of one ASM instance on another to simplify moving of 15 TB database. What I did :
1. Prepared new CRS and new ASM instance with single disk group (NORMAL redundancy). CRS places OCR and voting files on this group.
2. Stopped newly created CRS.
3. On ASM instance contained the database I changed asm_diskstring parameter to get access to newly asm disk group.
4. Mounted newly created ASM disk group on ASM instance with database.
5. Backed up database via RMAN to new ASM disk group.
6. Dismounted newly created ASM disk group on ASM instance with database and changed asm_diskstring parameter back to the value it had before.
7. Started CRS by crsctl start crs
And nothing happened... :)
The process list looked like this one :
# ps -u oracle
PID TTY TIME CMD
62224 ? 0:07 diskmon
61638 ? 0:04 oraagent.bin
61687 ? 0:04 evmd.bin
61955 ? 0:08 gipcd.bin
61924 ? 0:03 evmlogger.bin
64258 pts/9 0:00 less
64665 pts/9 0:00 bash
46926 ? 0:04 gpnpd.bin
11263 ? 0:04 ocssd.bin
The ocssd.trc log file said 'no voting files found' :
2021-08-28 23:29:45.985 : CSSD:29: [ INFO] clssnmvDiskVerify: Successful discovery of 0 disks
2021-08-28 23:29:45.985 : CSSD:29: [ INFO] clssnmCompleteInitVFDiscovery: Completing initial voting file discovery
2021-08-28 23:29:45.985 : CSSD:29: [ INFO] clssnmvFindInitialConfigs: No voting files found
2021-08-28 23:29:45.986 : CSSD:29: [ INFO] (:CSSNM00070:)clssnmCompleteInitVFDiscovery: Voting file not found. Retrying discovery in 15 seconds
2021-08-28 23:29:46.877 : CSSD:11: clsssc_CLSFAInit_CB: System not ready for CLSFA initialization
It turned out that voting files was removed by foreign ASM instance :)
2021-08-28T19:47:39.007588+03:00
SUCCESS: alter diskgroup datac6 mount
2021-08-28T19:47:41.312845+03:00
NOTE: Attempting voting file refresh on diskgroup DATAC6
NOTE: Refresh completed on diskgroup DATAC6. No voting file found.
NOTE: Voting file relocation is required in diskgroup DATAC6
NOTE: Attempting voting file relocation on diskgroup DATAC6
NOTE: voting file deletion (replicated) on grp 3 disk AAA
NOTE: voting file deletion on grp 3 disk AAA
NOTE: voting file deletion (replicated) on grp 3 disk BBB
NOTE: voting file deletion on grp 3 disk BBB
NOTE: voting file deletion (replicated) on grp 3 disk CCC
NOTE: voting file deletion on grp 3 disk CCC
NOTE: No voting file found on diskgroup DATAC6
To resolve this, I needed to create new voting files.
1. Stop CRS
# crsctl stop crs -f
If command failed or run too long without response, kill ocssd.bin and gpnpd.bin processes by hand. Repeat to confirm the stop
# crsctl stop crs -f
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Stop failed, or completed with errors.
Also check the process list too.
2. Start CRS in init mode :
# crsctl start crs -excl -nocrs
3. Create new voting files
$ crsctl query css votedisk
Located 0 voting disk(s).
$ crsctl replace votedisk +datac6
Successful addition of voting disk 93480b19b7e64f90bf2d5a70e2fdcbfd.
Successful addition of voting disk eca9bf5347fd4f67bf06a2e7c830e342.
Successful addition of voting disk 1f468b939fbe4f91bfc83375c532a6da.
Successfully replaced voting disk group with +datac6.
CRS-4266: Voting file(s) successfully replaced
4. Stop and CRS
# crsctl stop crs
# crsctl start crs -wait
After these steps the CRS stack worked in the normal mode.
Good Luck !