Asynchronous Command Delay

Commands that invoke an action on the everRun system are called asynchronous because the command completes before the action completes. This allows for complex scripting.

If you want a command to complete inline before proceeding to the next command, create a simple script and use the —wait option. For example:

$ cli -x -H eagles node-workon --wait node0

In this example, cli does not complete until VMs and the management port are failed over from node0 to node1, and node0 is in maintenance mode. Without the —wait option, the command completes when acknowledged but before the resources are migrated.