By default, Orchestrator permits 300 workflows to run at the same time. When the Orchestrator server has to run more than 300 concurrent workflows, the pending workflow runs are queued. When an active workflow run completes, the next workflow in the queue starts to run. If the maximum number of queued workflows is reached, the next workflow runs fail until one of the pending workflows starts to run.

About this task

By setting system properties in the Orchestrator vmo.properties configuration file, you can control the number of workflows that are running at the same time and the number of pending workflows that are waiting in a queue.

Important:

If your system is configured with one CPU, the recommended maximum value of the com.vmware.vco.workflow-engine.executors-count property is 100. If the number of concurrent workflows is higher than 100, you might reach the maximum number of threads per processor.

Procedure

  1. On the Orchestrator server system, navigate to the folder that contains configuration files.

    Option

    Action

    If you installed Orchestrator with the vCenter Server installer

    Go to install_directory\VMware\Infrastructure\Orchestrator\app-server\conf.

    If you installed the standalone version of Orchestrator

    Go to install_directory\VMware\Orchestrator\app-server\conf.

    If you downloaded and deployed the virtual appliance

    Go to /etc/vco/app-server/.

  2. Open the vmo.properties configuration file in a text editor.
  3. Set the com.vmware.vco.workflow-engine.executors-count and com.vmware.vco.workflow-engine.executors-max-queue-size properties by adding the following lines to the vmo.properies file.
    com.vmware.vco.workflow-engine.executors-count=200
    com.vmware.vco.workflow-engine.executors-max-queue-size=5000
  4. Save the vmo.properties file.
  5. Restart the Orchestrator server.

Results

You set the maximum values for concurrent and pending workflows. You can run up to 200 workflows and 5000 workflows can be queued if the number of actively running workflows is reached.