update_procedure_input

Updates the configuration of a deployment procedure.

Format

emcli upate_procedure_input
        -name="name_of_procedure_configuration"
        [-input_file="file_path\file_name"]
        [-grants="users_and_access_levels"]
        [-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.

  • input_file

    Input property file for the deployment procedure. 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 update_procedure_input
    -name=configProcedure
    -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"