0

Is it possible to use dbconsole (Enterprise Manager) to switch the active node of a Oracle 11gR2 cluster? The idea is to tell the active instance to go down and have another node take over.

I want to perform some failover testing and would like to see if the application under test follows but I am not sure what other ways to a brute-force shutdown of the active node's OS I have. Any help is appreciated :-)

Stephan
  • 417
  • 1
  • 5
  • 13
  • How about unplugging the network card on the active node? – joeqwerty Mar 14 '11 at 11:13
  • That could be a plan C. Unfortunately I would have to run down into the server room to do that so it would be preferable for the majority of tests to have a remote possibility :-) – Stephan Mar 14 '11 at 12:33
  • In my opinion the best method to emulate the server being offline/down is to pull the network cable. That ensures that there's no chance that the server could be contacted over the network via any means. If it means a walk to the server room, then so be it. – joeqwerty Mar 14 '11 at 17:13

1 Answers1

1

For things where I don't want to be in the server room pulling power or network cables or disk controller cards and cables, I just stop the RAC node apps using software:

 srvctl stop nodeapps -n <nodename>
 srvctl stop listener -n <nodename>
 etc…

You could also stop the actual cluster services as well:

 crsctl stop resources
 crsctl stop crs
bmike
  • 283
  • 1
  • 19