Deploying a new BigFix Virtual Relay instance by using Auto-Deployment

You can use this function to automatically deploy a consistent number of virtual relays based on the template created in Phase 2 by answering "y" (yes) to the option "Do you want to enable the Virtual Relay Instance Auto-Deployment mode?".

To deploy with the Auto-Deployment mode, you must create a script that automatically instantiates the virtual machines and provides the correct configuration files for each virtual machine.

In case of auto-deployment, some configuration files are needed to deploy the instance. Before the virtual machine receives the required configuration files, it remains in a waiting state.

To use the auto-deployment mode, the following three configuration files are required:
  • besclient.config which must be copied into the /var/opt/BESClient local directory.
  • besrelay.config which must be copied into the /var/opt/BESRelay local directory.
  • network.conf which must be copied into the /opt/bigFix/config local directory.

The first two files contain some additional properties for the client and relay configurations. For the content of these files, see BigFix Platform on HCL Knowledge Center.

Note: The besclient.config and besrelay.config files are optional files. The client uses the default files if they are not provided. You must provide them only if you want to customize the virtual relay at startup time. For example, if you want to connect the virtual relay to another relay and not to the BigFix server, which is the default behavior.

The network.conf file contains the details about the network parameters of the deployed instances. It defines if the machine should start in DHCP mode or by using static IP settings. It must be the last configuration file to be copied. For details about the two different network.conf templates, see Auto-Deployment.

After receiving the configuration file, the instance automatically starts the BESRelay and the BESClient services and registers with the BigFix server or with the relay specified in the previously defined configuration file.

The auto-deployment is particularly useful because:

  • No further configurations are required.
  • It allows an easy and rapid multiple deployment.
Note: Before enabling the auto-deployment mode, ensure that you have installed vSphere PowerCLI, needed to copy the network.conf file and the other configuration files.