Upgrade - Viper or Agent on Linux with Sudo / Root Access
Overview
The vFunction Controller keeps a backup of environmentally-specific files in /etc/sysconfig/vfunction/installation/backup/
. These backup files are then copied back into the default location during the upgrade process. Because this backup-and-copy process is in place, no manual steps are required to keep backups of files before the upgrade occurs.
Upgrade Steps
- Download the vFunction Controller Root / Sudo package from the vFunction Portal
- SCP the Controller TGZ package to the VM
- Unpack the Controller TGZ package
- Find-and-replace $VERSION with the release version, such as “3.6.1449”
sudo tar -Pxvzf vfunction-controller-installation.v$VERSION.tgz
- Find the vFunction instance running in the environment
ps -ef | grep vf | grep instance
- Run the Upgrade Script
- Find-and-replace $INSTANCE_NAME with the name of the vFunction instance, such as “default-java”
sudo bash /opt/vfunction/controller-installation/upgrade.sh -i $INSTANCE_NAME
- If applicable, restart the Application to ensure that the vFunction Agent that is hooked into the Application is the newly upgraded version
- If any issues arise, check the list of Known Issues
- If the current issue is a new issue and no solution is available in the Known Issues, follow the General Troubleshooting steps