create_pool

ソフトウェア・プールを作成します。

書式

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.

オプション

  • name

    作成するソフトウェア・プールの名前。

  • target_type

    ミドルウェア・プールの場合はmwaas_zone、データベース・プールの場合はoracle_cloud_zone、スキーマ・プールの場合はschaas_poolなど、作成するソフトウェア・プールのターゲット・タイプ。

  • paas_zone

    ソフトウェア・プールを作成するPaaSインフラストラクチャ・ゾーンの名前。

  • members

    ソフトウェア・プールのメンバーとして追加するターゲットのカンマ区切りのリスト。追加するターゲットは、指定したメンバー制約を満たしている必要があります。

  • description

    ソフトウェア・プールの説明。

  • placement_constraints

    セルフ・サービス管理者がリソース使用率の上限を設定できるようにする配置制約のカンマ区切りのキー値ペア。これにより、リソース使用量の観点からソフトウェア・プールのメンバーを保護できます。たとえば、本番ソフトウェア・プールにより厳密な制約を課す一方で、開発用ソフトウェア・プールにはより寛大な制約を課すといったことが可能です。

  • member_constraints

    ソフトウェア・プールへのメンバー・ターゲットの追加を設定基準で制限するカンマ区切りのキー値ペア。emcli get_pool_allowed_member_constraints -target_type=<Target type>を実行し、プール・ターゲット・タイプの許可されている可能なメンバー制約のリストを取得します。

  • properties

    プール・ターゲット・タイプに基づいて指定する必要がある追加のプロパティ用のカンマ区切りのキー値ペア。

次の例では、My Poolソフトウェア・プールを作成します。

emcli create_pool
       -name="My Pool"
       -target_type="mwaas_zone"
       -paas_zone="My PaaS Zone"
       -members="MyMember"
       -description="This is a test Pool"
       -placement_constraints="MAX_INSTANCES=20"
       -member_constraints="VERSION=10.3.5.0"