Table of contents

Add a VMware vCenter to Workload Security

When a vCenter is added to Workload Security, virtual machines accessible to the account are imported into Workload Security and become visible in Workload Security > Computers > the_vCenter_Name > Virtual Machines.

The following are benefits of adding a vCenter account (through Workload Security > Computers > Add VMware vCenter) instead of adding individual VMs (through Workload Security> Computers > Add Computer):

  • Changes in your vCenter VM inventory are automatically reflected in Workload Security. For example, if you delete a number of VM instances, those instances disappear automatically from the console. By contrast, if you use Computers > Add Computer, VM instances that you have deleted remain visible in the console until you manually delete them.
  • VMs are organized into vCenter accounts in the console, which lets you easily see which VMs are protected and which are not. Without the vCenter account, all your VMs appear at the same root level under Computers.

Add a data center gateway

A data center gateway enables communication between Workload Security and your vCenter, allowing Workload Security to retrieve your virtual machine inventory from the vCenter server.

Prior to adding a vCenter Account, a data center gateway has to be deployed and running. The vCenter server hostname and port are required. For more information, see Set up the data center gateway.

Add a VMware vCenter

  1. Ensure you have set up the data center gateway.
  2. Go to Administration > User Management > Roles > Properties > Computer Rights and select Allow VMware vCenters to be added, removed and synchronized.
  3. If you are using self-signed certificates, go to Administration > User Management > Roles > Properties > Other Rights and select Full for Certificates.
  4. In the Workload Security console, go to Computers > Add > Add VMware vCenter.

    The following page appears:

    Add VMware vCenter Wizard

  5. Enter your vCenter information:

    • Server Address: The vCenter server's IP address (or hostname if DNS is configured and able to resolve FQDNs to IP addresses) which must be one of the vCenter servers in the Data Center Gateway allow lists. The connection will be relayed by the data center gateway, therefore the Server Address could be an internal IP address or hostname.
    • Server Port: The port number to connect to the vCenter. By default, it is 443.
    • Name: The name of the vCenter that appears in the manager. By default, it is vCenter - \<Server Address>
    • Description: A description for the vCenter.
    • Username and Password: Enter the username and password of a vCenter. This account is required to synchronize the VM inventory between vCenter and Workload Security.

    The vCenter user account must have the vCenter Read Only role (or another role that has equal or greater privileges) at the data center level. Applying the Read Only or Administrator role at the Hosts and Clusters or Virtual Machine level in vCenter causes synchronization problems.

  6. Click Next.

  7. Accept the vCenter TLS (SSL) certificate.
  8. Review the vCenter information and click Finish.
  9. A message indicating the VMware vCenter has been successfully is displayed. Click Close. The vCenter appears on the Computers page.

In a large environment with more than 3000 machines reporting to a vCenter Server, this process may take 20 to 30 minutes to complete. You can check the vCenter's Recent Task section to verify if there are activities running. During the synchronization process, a 504 gateway timeout error might appear. Ignore the error, as the synchronization job is continuing to run in the background.

Workload Security maintains real-time synchronization with this VMware vCenter to keep the information displayed in Workload Security (number of VMs, their status, and so on) up to date.

Protect workloads in VMware

VMware workloads managed by Workload Security are protected by an agent. For more information about how to deploy and manage agents in Workload Security, see Install the agent.