You may want to take a look at the qcommands infrastructure in CommVault. There is a "qoperation move" command that allows one to move a configured oracle instance from one client to another. If the standby DB has the same ORACLE_SID and login credentials then this may work for you. Here is the header from the documentation:
This command moves an Oracle instance from one client to another.
qoperation move -sc sourceclient -a iDataAgent -i instance -dc destinationclient [-af argsfile] [-h]
This command moves an Oracle instance from one or more clients to a single destination client.
- If the specified instance is found on any of the source clients, then it is deconfigured on the source client and a new instance with the same name appears on the destination client.
- If the instance is not found on any of the source clients, or, it is found on two or more source clients, then the command fails and returns an appropriate error message. Use the -sc option multiple times for specifying more than one source client from the command line.
||Ensure that the source and destination clients have the same operating system before moving an instance of Oracle. See the qlist client command.
Upon successful completion, qoperation move displays the message "Move operation successful" in the console. In case of an error, an error code and the error description are displayed in the following format: "move: Error errorcode: errordescription"
Here is the link to the main secion of qcommands:
What you might be able to do is call a script when a failover occurs that in turn calls this qcommand to move the instance from server A to server B automatically.
Ernst F. Graeler
Senior Engineer III