create_pool

Creates a software pool.

Format

emcli create_pool
       -name="<software pool name>"
       -target_type="<software pool target type>"
       -paas_zone="<Paas Infrastructure Zone of software pool>"
       -members="<Member1, Member2...>"
       [-description="<software pool description>"]
       [-placement_constraints="<constraint1=value1, constraint2=value2...>"]
       [-member_constraints="<constraint1=value1, constraint2=value2>"]
       [-properties="<property1=value1, property2=value2>"]

[ ]  indicates that the parameter is optional.

Options

  • name

    Name of the software pool to be created.

  • target_type

    Target type of the software pool to be created, for example "mwaas_zone" for the middleware Pool, "oracle_cloud_zone" for the database pool, and "schaas_pool" for schema pool.

  • paas_zone

    Name of PaaS Infrastructure Zone in which the software pool is to be created.

  • members

    Comma-separated list of targets to be added as members of the software pool. The targets to be added must satisfy the member constraints specified.

  • description

    Description of the software pool.

  • placement_constraints

    Comma-separated key-value pairs of the placement constraints that enable the self-service administrator to set maximum ceilings for resource utilization. This ability provides protection for the members of the software pool in terms of resource consumption. For example, a production software pool might enforce more conservative limits, whereas a development software pool might enforce more liberal limits.

  • member_constraints

    Comma-separated key-value pairs that restrict the addition of member targets to a software pool with a set criteria. Execute "emcli get_pool_allowed_member_constraints -target_type=<Target type>" to retrieve the list of allowed possible member constraints for a pool target type.

  • properties

    Comma-separated key-value pairs for additional properties that must be specified based on the pool target type. The following credential types can be added: "host_credential", "root_credential","gi_credential","asm_credential","cdb_credential".

Example

The following example creates the My Pool software pool:

emcli create_pool 
-name=MyDbPool3 
-target_type=oracle_cloud_zone
-paas_zone=zone3  
-members=OraDB12Home1_1_shortterm-11455.abc.example.domain.com_3043
-placement_constraints="MAX_INSTANCES=21"
-properties="host_credential=NC_HOST_2023-08-02-181211858,root_credential=NC_HOST_2023-08-02-181211858,gi_credential=NC_HOST_2023-08-02-181211858"