Link to home
Start Free TrialLog in
Avatar of peledc
peledc

asked on

When is crsctl start crs is done?

We have Oracle 10.2.0.4,  2 node RAC on RHEL 5.4

We try to develop an automatic UPGRADE script to 10.2.0.5
before we issue the STARTUP UPGRADE command we need to start the crs.
We do this with the following command:
crsctl start crs

Now, this command is running in the background and one of it's last steps is the database startup.
This startup will fail because we need to start it in UPGRADE mode only. On some systems, crsctl will try to do this several times (depends on configurations)

I'm looking for a way to be sure when is crsctl done trying starting up Oracle.

Thanks
Avatar of Rich Olu
Rich Olu
Flag of United Kingdom of Great Britain and Northern Ireland image

You could create a database startup trigger to perform some operation to signify that the instance is up.
Avatar of Gerwin Jansen
You can check crs like this sometime after you've started it:

crsctl check crs

Compare output just after starting and after some time. Will that work for you?
Avatar of peledc
peledc

ASKER

The database will not open because it should be opened in UPGRADE mode, so I can't see a difference in "check crs" or use a database trigger...
Any other directions?
ASKER CERTIFIED SOLUTION
Avatar of Rich Olu
Rich Olu
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial