update_service_template

Updates a Service Template.

Format

emcli update_service_template
      -name="<Service_Template_name>"
      -service_family="<Service_family_name>"
      -pool_target_type="<PoolTargetType>"
      [-add_software_pools="<SwPool1,SwPool2,SwPool3,...>"]
      [-remove_software_pools="RemovePool1,RemovePool2,RemovePool3,...>"]
      [-add_roles="<SsaRole1,SsaRole2,..>"]
      [-remove_roles="<RemoveSsaRole1,RemoveSsaRole2,..>"]
      [-description="<Updated_Description_of_Service_Template>"]
      [-input_file="data:<Name_of_Service_executable_MetaData_File>"]

[ ]  indicates that the parameter is optional

Options

  • name

    Name of the Service Template.

  • service_family

    Service family to which the Service Template belongs. Example: DBAAS for Database, and MWAAS for Middleware.

  • pool_target_type

    Target type of Software Pools to be associated with the Service Template.

  • add_software_pools

    Comma-separated list of the Software Pools to be associated with this Service Template.

  • remove_software_pools

    Comma-separated list of the Software Pools to be removed from this Service Template.

  • add_roles

    Comma-separated list of SSA roles to be added to this Service Template. The SSA roles must already be created before attempting to add them to the Service Template.

  • remove_roles

    Comma-separated list of SSA roles to be removed from this Service Template.

  • description

    Description of the Service Template.

  • input_file

    File containing configuration and profile data that will be required for updating values of procedure configuration variables. Format the data in JSON format. For example input_file='data:executable.json'

Examples

emcli update_service_template
-name="Middleware service template August"
-service_family="MWAAS"
-add_roles="SSA_USER_ROLE_1"
-remove_roles="SSA_USER_ROLE_2"
-add_software_pools="mwPool3,mwPool4"
-description="Updated description. Large instance size Service Template."
-input_file="data:executable.json"

displays the following output:.

Service Template "Middleware service template August" updated successfully.