Installing a new controller instance
Installing controller 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:
- Create a skeletal controller
cd /opt/vfunction/controller-installation/
sudo bash create-instance.sh -i <name of the instance>
- Configure the new controller instance by editing the file:
/etc/sysconfig/vfunction/installation/instances/<instance-name>/installation.yaml
If you are using version 2.4 or above, you can fill skip filling in the org_id, app_id and client_id by copying the values from the server. Instead you should fill in the details under server_application.
- Run the installation
sudo bash install.sh -i <instance-name>
If you are using the server_application parameters instead of ids, you will be prompted for the credentials to login as an admin to the vFunction server.
For other types of installations (e.g. sudoless) and more details, see the relevant installation vFunction controller & agent installation guide available on the vFunction portal.