How does RAC start a resource PRKS-1009 that is in UNKNOWN state, CRS-1028, CRS-0223
How does RAC start a resource PRKS-1009 that is in UNKNOWN state, CRS-1028, CRS-0223
How RAC starts Resources in the UNKNOWN state & PRKS-1009, CRS-1028, CRS-0223
Symptom:
One node of RAC cannot start. crs_stat shows that many resources are in offline status.
[Oracle @ rac1 ~] $ Crs_stat-t
Name Type Target State Host
------------------------------------------------------------
Ora. rac. db application OFFLINE
Ora... c1.inst application ONLINE OFFLINE
Ora... c2.inst application ONLINE OFFLINE
Ora... test. cs application OFFLINE
Ora... ac1.srv application OFFLINE
Ora... ac2.srv application OFFLINE
Ora... SM1.asm application ONLINE rac1
Ora... C1.lsnr application ONLINE rac1
Ora... ac1.gsd application ONLINE rac1
Ora... ac1.ons application ONLINE rac1
Ora... ac1.vip application ONLINE rac1
Ora... SM2.asm application online unknown rac2
Ora... C2.lsnr application online unknown rac2
Ora... ac2.gsd application ONLINE rac2
Ora... ac2.ons application ONLINE rac2
Ora... ac2.vip application ONLINE rac2
[Oracle @ rac1 ~] $ Srvctl start asm-n rac2
PRKS-1009: Failed to start ASM instance "+ ASM2" on node "rac2", [PRKS-1009: Failed to start ASM instance "+ ASM2" on node "rac2", [CRS-1028: dependency analysis failed because:
CRS-0223: Resource 'ora. rac2.ASM2. asm 'has placement error.]
[PRKS-1009: Failed to start ASM instance "+ ASM2" on node "rac2", [CRS-1028: Dependency analysis failed because:
CRS-0223: Resource 'ora. rac2.ASM2. asm 'has placement error.]
[Oracle @ rac1 ~] $ Srvctl stop asm-n rac2
[Oracle @ rac1 ~] $ Srvctl start asm-n rac2
PRKS-1009: Failed to start ASM instance "+ ASM2" on node "rac2", [PRKS-1009: Failed to start ASM instance "+ ASM2" on node "rac2", [CRS-0215: cocould not start resource 'ora. rac2.ASM2. asm '.]
[PRKS-1009: Failed to start ASM
After stopping, start again.
Analysis:
The resource status changes to UNKNOWN for some reason, and thus cannot be started normally.
Solution:
The customer's system is very important. At that time, the business was restored first, and then the reasons were analyzed carefully.
You can restore services as follows:
Force stop Resources in the UNKNOWN state first:
Crs_stop-f ora. rac2.ASM2. asm
Crs_stop-f ora. rac2.lsnr
Restart the resource again:
Crs_start-all
After the restart, the service returns to normal.