Python script with emcli to add RAC target
I am working on a script to promote targets using emcli in script mode. Been able to promote oracle_database, oracle_listener, has, cluster, and osm_instance targets. Have not been able to build the needed attributes to add a RAC cluster. The attribute I am having problems with is the instance where you need to find the database instances for the cluster.
Has any one ventured down this path before? How have you gotten the list of databases for the RAC?
Jim