add_pdb

Description

Adds a pdb to Enterprise Manager as target

Format

emcli add_pdb
 -cdb_target_name="cdb_target_name"
 -cdb_target_type="cdb_target_type"                 
 -pdb_name="pdb_name"
 [-pdb_target_name="pdb_target_name"]

[] Indicates optional field

Options

  • cdb_target_name

    Target name of the CDB to which the pdb belongs

  • cdb_target_type

    Target type of the CDB to which the pdb belongs

  • pdb_name

    Name of the pdb to be added

  • pdb_target_name

    Optional, desired EM Target name of the pdb

Example

Add PDB NEW_PDB from CDB CDB1 with a target name in Enterprise Manager of CDB1_New_PDB:
emcli 
add_pdb 
-cdb_target_name=CDB1 
-cdb_target_type=oracle_database
-pdb_name=NEW_PDB 
-pdb_target_name=CDB1_NEW_PDB