How to create a new vFunction Agent Instance



Installing Multiple Instances

It is possible to install additional instances of the vFunction controller on the same machine. This is useful for collecting data from multiple JVMs running on the same server.

In a sudo installation do the following:

  1. Create a new Instance
### Replace $instance_name with the desired name
sudo bash /opt/vfunction/controller-installation/create-instance.sh -i $instance_name -a -t java
  1. Configure the new controller instance by editing the installation.yaml. See available options:
### Replace $instance_name with the desired name
sudo vi /etc/sysconfig/vfunction/installation/instances/$instance_name/installation.yaml
  1. Run the installation script
### Replace $instance_name with the desired name
sudo bash /opt/vfunction/controller-installation/install.sh -i $instance_name