Provisioning a Pluggable Database

You can provision a Pluggable Database (PDB) on an existing Container Database (CDB) running in a provisioned database working copy.

After you create a working copy of a gold image, provision that working copy to an Oracle FPP Client or rhpclient-less target, and create a database as a multitenant CDB, you can add a PDB to the CDB using the rhpctl addpdb database command.
  • The following command example creates a PDB called pdb26ai on a CDB called raccdb26ai, which is on a working copy called wc_db26ai:
    $ rhpctl addpdb database -workingcopy wc_db26ai -cdbname raccdb26ai -pdbName pdb26ai
  • Use the rhpctl deletepdb database command to delete a PDB from an existing CDB on a working copy.
    The following command example deletes a PDB called pdb26ai on a CDB called raccdb26ai, which is on a working copy called wc_db26ai:
    $ rhpctl deletepdb database -workingcopy wc_db26ai -cdbname raccdb26ai -pdbName pdb26ai