Check the Deployment Procedure Status Using EMCLI
After you submitted the discovery deployment procedure, the execution ID is displayed in the command line as shown below:
emcli submit_procedure -name=”DBMachineDiscovery” -input_file=data:”/home/user_jane/dpInput/emcli_discover_dp1_vir_remote”
Schedule not specified, defaults to immediate.
6979503EF41F2447E05338C8F70A1796
Deployment procedure submitted successfullyUse the execution ID to query the status and display it in a specific format. For
example, if the execution ID is 69818CF4995E0C88E05338C8F70AA2C3:
emcli get_instance_status -instance=69818CF4995E0C88E05338C8F70AA2C3 -xml -details -showJobOutput -tailLength=50An example out of the above command in xml format:
</step>
<step isEnabled="true" name="promoteTargets" stepType="">
<GUID>promoteTargets</GUID>
<errorModeString>stop</errorModeString>
<typeStep>Step</typeStep>
<status></status>
<startedOn>2018-04-10 08:56:28.0</startedOn>
<lastUpdatedOn>2018-04-10 08:58:16.0</lastUpdatedOn>
<completedOn>2018-04-10 08:58:16.0</completedOn>