25.1 Preparing and Subscribing to the Software Image (SSA Admin)

To prepare and subscribe to the software image, follow these steps:
  • Create a Software Image of the Oracle Home with patches/patchsets

    emcli db_software_maintenance -createSoftwareImage -input_file="data:"/scratch/input_rac"

    where the contents of input_rac are:

    • IMAGE_NAME=DbGoldImage

    • IMAGE_DESCRIPTION=Gold Image for 12c db

    • REF_TARGET_NAME=ORACLE_HOME

    • IMAGE_SWLIB_LOC=Oracle Home Provisioning Profiles/12.1.0.2.0/linux_x64

    • REF_HOST_CREDENTIALS=ZONE_CREDS:TESTSUPERADMIN

    • WORKING_DIRECTORY=/tmp

    • STORAGE_TYPE_FOR_SWLIB=OmsShared

    • STORAGE_NAME_FOR_SWLIB=swlib

    • VERSION_NAME=Version1

  • Retrieve the Created Image

    To get the id of the newly created image, run the following command:

    emcli db_software_maintenance –getImages

  • Subscribe the PDBaaS Pool to the Newly Created Image

    emcli db_cloud_maintenance -subscribeTarget -pool_name=PDB_POOL -pool_type=pdbaas_pool -image_id=438AA95015F34E25E053FB7BB10A9E3B

    This command subscribes the PDBaaS pool, the CDB members and the PDBs associated with the CDBs. This is a db_cloud_maintenance operation and not a db_software_maintenance operation.

  • Verify the PDBaaS Target and Its Subscriptions

    To verify the PDBaaS target and its subscriptions, run the following command:

    emcli db_software_maintenance -getSubscriptionsForContainer -target_name="RAC Pool" -target_type=pdbaas_pool -image_id=FE55AD7AB28974EFE04313B2F00AD4A0