Share
3

Enabling Local Process Execution in Orchestrator via VRACLI

by Mayank Goyal · 2 May 2025

To enable com.vmware.js.allow-local-process=true in VMware Aria Automation Orchestrator (formerly vRealize Orchestrator), the vracli command-line tool provides a streamlined method to configure system properties without manual file edits. This setting is essential for allowing workflows to execute Commands directly on the Orchestrator appliance otherwise Command class will fail with an exception.  

You are not authorized to execute local process, to enable this feature set your system property ‘com.vmware.js.allow-local-process’ to true.

JavaScript
var com = new Command("ls");
com.execute(true); // blocking execution else output would be null
System.log(com.output); // prints output of ls command
System.log(com.result); // prints status 0

Step-by-Step Guide

  • Access the Orchestrator Appliance via SSH
    Connect to the Orchestrator appliance using SSH with root or administrative credentials.
  • Set the System Property via vracli
    Execute the following command to enable local process execution.
Bash
vracli vro properties set -k com.vmware.js.allow-local-process -v true
    • Restart the Orchestrator Service
      Apply the changes by restarting the Orchestrator service.
    Bash
    kubectl rollout restart deployment vco-app  -n prelude
    • Monitor the vco-app pods to be in RUNNING state again
    Bash
    kubectl get pods -n prelude -w

    Discover more from Cloud Blogger

    Subscribe to get the latest posts sent to your email.

    You may also like