save_procedure_input

Configures a deployment procedure for execution.

Format

emcli save_procedure_input
        [-name="procedure_configuration_name"]
        [-owner="procedure_configuration_owner"]
        [-procedure="procedure_guid"]
        -input_file="file_path\file_name"
        [-grants="access_levels_for_users"]
        [-schedule=
            start_time:yyyy/MM/dd HH:mm;
            tz:{java timezone ID};
            grace_period:xxx;
        ]
        [-notification="procedure status"]

[ ]  indicates that the parameter is optional

Options

  • name

    Name of the configuration for the procedure.

  • owner

    Owner of the Procedure configuration.

  • procedure

    GUID of the procedure to execute.

  • input_file

    GUID of the procedure to execute. The file_path should point to a file containing the data property file.

    For more information about the input_file parameter, see -input_file Syntax Guidelines.

  • grants

    Specifies users and their corresponding access levels as a string of user:privilege pairs, each separated by a semi-colon ( ; ). The user is an Enterprise Manager user name, and the privilege is either VIEW_JOB or FULL_JOB.

    See the example below.

  • schedule

    Schedule for the deployment procedure. If not specified, the procedure is executed immediately.

    • start_time — When the procedure should start.

    • tz — Optional timezone ID.

    • grace_period — Optional grace period in minutes.

  • notification

    Status of the procedure.

Example

emcli save_procedure_input
    -name=configProcedure -procedure=16B15CB29C3F9E6CE040578C96093F61 
    -input_file=/home/data.properties -grants="user1:VIEW_JOB;user2:FULL_JOB"  
    -schedule="start_time:2011/8/21 21:23;tz:America/New_York;grace_period:60" 
    -notification="scheduled, action required, running"