Pre-requisites for Monitoring the Oracle VDI Broker in an Agentless Manner

In case of an agentless approach, the following pre-requisites need to be fulfilled to enable the eG agent to run the VDA commands:

  1. A sudo package has to be installed on the broker host; to know how to install the sudo package, refer to Section 1.1 above.
  2. After the sudo package is installed, perform the following steps on the broker host:

    • Login to the broker host as a root user;
    • At the command prompt of the host, issue the following command to create a new user:

      useradd –d /export/home/<username> –m <username>

      For instance:

      useradd –d /export/home/eguser –m eguser

    • Next, issue the following command to set a password for the above user:

      passwd <username>

    • When prompted to provide the password, specify the same.
    • Then, proceed to edit the sudo script by issuing the following command:


    • Add the following entries to the script:

      <username> ALL=NOPASSWD:/opt/SUNWvda/sbin/vda

      <username> ALL=NOPASSWD:/usr/sbin/cacaoadm

      <username> ALL=NOPASSWD:/opt/SUNWvda/sbin/vda-db-status

      <username> ALL=NOPASSWD:/opt/SUNWvda/sbin/vda-webadmin

  3. All the tests run by the eG agent should be configured with the full path to the install directory of the sudo package;