Problem with "srvctl stop instance -o immediate"
Here are what happened today:
1 I tried to stop rac1 RAC instance. Before stop the instance, I checked the instance status:
C:\Documents and Settings\Administrator>srvctl status database -d rac
Instance RAC1 is running on node site1-rac01
Instance RAC2 is running on node site1-rac02
2 Stop rac1 instance
C:\Documents and Settings\Administrator>srvctl stop instance -d rac -i rac1 –o immediate
PRKP-1002 : Error stopping instance RAC1 on node site1-rac01
CRS-0216: Could not stop resource 'ora.RAC.RAC1.inst'.
3 Check rac1 instance status:
C:\Documents and Settings\Administrator>srvctl status instance -d rac -i rac1
PRKO-2015 : Error in checking condition of instance on node: site1-rac01
4 Tried to start the instance:
C:\Documents and Settings\Administrator>srvctl start instance -d rac -i rac1
PRKP-1001 : Error starting instance RAC1 on node site1-rac01
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.RAC.RAC1.inst' has placement error.
5 Check rac2 instance status:
C:\Documents and Settings\Administrator>srvctl status instance -d rac -i rac2
Instance rac2 is running on node site1-rac02
6 Stop rac1 instance by using “abort” option, it works without any error.
C:\Documents and Settings\Administrator>srvctl stop instance -d rac -i rac1 -o abort
7 Start rac1 instance without any errors:
C:\Documents and Settings\Administrator>srvctl start instance -d rac -i rac1
8 Check both rac1 and rac2 instances status:
C:\Documents and Settings\Administrator>srvctl status instance -d rac -i "rac1,rac2"
Instance rac1 is running on node site1-rac01
Instance rac2 is running on node site1-rac02
Lessons learned:
When stopping a RAC instance in Windows 2003 R2 platform, srvctl command with “-o immediate” option doesn’t work, use “-o abort” option instead.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home