25.3 PBaaS Pool Operations Performed by SSA Admin (Option 2)

The following operations can be performed by the SSA Admin:

  • Attach an existing CDB to the pool

    emcli db_cloud_maintenance -performOperation -purpose="ATTACH_CDB" -pool_name="PDB_POOL" -pool_type="pdbaas_pool" -name="Attach an existing CDB" -target_type=oracle_database/rac_database -description="Attach an existing CDB as the successor" -destinationCDB="subjects.us.oracle.com" –target_list=”crm.us.oracle.com”

    This step will attach the destination CDB as the successor of the member CDB specified in the target_list. This will bypass the Deploy OH, Migrate Listener, Deploy CDB steps and will create the necessary lineage for Oracle home and CDB. The destination CDB should be in the same zone associated with the pool and on the same cluster. The newly attached CDB will be marked as Passive once it has been attached.

  • Activate the CDB

    emcli db_cloud_maintenance -performOperation -purpose="ACTIVATE_CDB" -pool_name="PDB_POOL" -pool_type="pdbaas_pool" -name="Activate the CDBs" -target_type=oracle_database/rac_database -description="Activates the newly created CDBs"

    This step marks all the new CDBs in the pool that were created in the above step as Active and the existing CDBs as Inactive. Any further SSA requests will be forwarded to the newly activated CDBs.

    emcli db_cloud_maintenance -performOperation -purpose="ACTIVATE_CDB" -pool_name="PDB_POOL" -pool_type="pdbaas_pool" -name="Activate the CDBs" -target_type=oracle_database/rac_database -description="Activates the newly created CDBs" -target_list=”sales.us.oracle.com”

    This step marks the specified CDBs in the target_list as Active and is predecessor CDBs as Inactive. Any further SSA requests will be forwarded to the newly activated CDB.