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
pdb26aion a CDB calledraccdb26ai, which is on a working copy calledwc_db26ai:$ rhpctl addpdb database -workingcopy wc_db26ai -cdbname raccdb26ai -pdbName pdb26aiUse the
rhpctl deletepdb databasecommand to delete a PDB from an existing CDB on a working copy.The following command example deletes a PDB called
pdb26aion a CDB calledraccdb26ai, which is on a working copy calledwc_db26ai:$ rhpctl deletepdb database -workingcopy wc_db26ai -cdbname raccdb26ai -pdbName pdb26ai