Before we start managing any machine, we need to install an agent on it. This can be done in multiple ways, such as pushing it from the VCM console, installing it manually, or installing it with a script.
In this recipe, we will have a look at installing the agent manually and with a script on a Windows server.
Prepare a server to install the agent; the installer is available on the VCM Collector server, at X:\Program Files (x86)\Vmware\VCM\AgentFiles
and the certificate is available at X:\Program Files (x86)\Vmware\VCM\CollectorData
, where X
is the drive where VCM is installed.
Copy the installer and certificate on a shared location from where it can be copied to the server where we want to install it.
We need administrative access on the server where we will be installing the agent.
The local firewall should be disabled (not recommended) or port 26542
must be open between the managed machine and VCM Collector.
For an agent push, we need the...