set_gold_agent_update

Creates a Management Agent Gold Image Policy and defines default values for Management Agent upgrade.

Format

emcli set_gold_agent_update_policy
      [-additional_parameters="additional_parameters"]
      [-pre_script_loc="pre_script_loc"]
      [-post_script_loc= " post_script_loc"]
      [-is_pre_script_on_oms= " is_pre_script_on_oms"]
      [-is_post_script_on_oms= " is_post_script_on_oms"]]
       [-stage_location= " stage_location"]
      [-is_staged= " is_staged"]
      [-stage_action= " stage_action"]
      [-batch_size= " batch_size"]
      [-frequency= " frequency"]
      [-success_rate= " success_rate"]
      [-update_profile= " update_profile"]
      [-profile_path= " profile_path"]
      [-email= " email"]
      [-run_preCleanup= " run_preCleanup"]
      [-run_postCleanup= " run_postCleanup"]

[ ] indicates that the parameter is optional.

Parameters

  • additional_parameters

    Additional parameters set in the repository to create a Management Agent Gold Image Policy.

  • pre_script_loc

    Prescript location set in the repository to create a Management Agent Gold Image Policy.

  • post_script_loc

    Postscript location set in the repository to create a Management Agent Gold Image Policy.

  • is_pre_script_on_oms

    Value set for this parameter to create a Management Agent Gold Image Policy.

  • is_post_script_on_oms

    Value set for this parameter to create a Management Agent Gold Image Policy.

  • stage_location

    Stage location value set in the repository to create a Management Agent Gold Image Policy.

  • is_staged

    Value set for this parameter in the repository to create a Management Agent Gold Image Policy.

  • stage_action

    Value set for this parameter in the repository to create a Management Agent Gold Image Policy.

  • batch_size

    Value set for batch size in the repository to create a Management Agent Gold Image Policy.

  • frequency

    Value set for frequency in the repository to create a Management Agent Gold Image Policy.

  • success_rate

    Value set for success rate in the repository to create a Management Agent Gold Image Policy.

  • update_profile

    Value set for this parameter in the repository to create a Management Agent Gold Image Policy.

  • profile_path

    Value set for profile path in the repository to create a Management Agent Gold Image Policy.

  • email

    Email set in the repository to create a Management Agent Gold Image Policy.

  • run_preCleanup

    Value set for this parameter in the repository to create a Management Agent Gold Image Policy.

  • -run_postCleanup

    Value set for this parameter in the repository to create a Management Agent Gold Image Policy.

Examples

Example 1

The following example sets additional parameters in the repository':

emcli set_gold_agent_update_policy

Example 2

The following example sets prescript location in the repository:

emcli set_gold_agent_update_policy
-pre_script_loc=/home/john/pretscript

Example 3

The following example sets stage location in the repository':

emcli set_gold_agent_update_policy
-stage_location=/scratch/tmp