|
kuaileshizhe200,
If you really want to implement automatic failover, why not install Data Guard Broker? That's it.
If you don't like the Broker, write a simple shell script which checks the status of the primary, and if it's down, logs into standby and activates it. Tell us what difficulty you have and we'll help you. Of course you can make the script more fancy than that. For example, try switchover first. If that doesn't work, do activate. When you add more and more logic to the script, you may prefer Broker again. |
|