Using EM CLI commands to Run an Instance of the Procedure

Use EM CLI commands to submit the procedure instance:

  1. Run the following command to retrieve a list of all the procedures that you have submitted, and note down the instance ID:
    emcli get_instances
    For example: emcli get_instances -type=DemoNG
    
  2. Run the following command to get a list of inputs submitted for your procedure:
    emcli get_instance_data - instance=<procedure_instance_ID>
    For example: emcli get_instance_data -instance=16B15CB29C3F9E6CE040578C96093F61 > mydp.properties
    
  3. Edit the file (mydp.properties), and change the values of the property destination path to /scratch.
  4. Submit the procedure with the modified properties file as the input:
    emcli submit_procedure -input_file=data:<input_file> -name=<procedure_name> -procedure=<procedure_guid>
    For example: emcli submit_procedure -input_file=data:mydp.properties -name=UDDPTest -procedure=16B15CB29C3F9E6CE040578C96093F61