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

  1. Download the vFunction Controller Root / Sudo package from the vFunction Portal
  2. SCP the Controller TGZ package to the VM
  3. 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
  1. Find the vFunction instance running in the environment
ps -ef | grep vf | grep instance
  1. 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
  1. If applicable, restart the Application to ensure that the vFunction Agent that is hooked into the Application is the newly upgraded version
  2. If any issues arise, check the list of Known Issues
  3. If the current issue is a new issue and no solution is available in the Known Issues, follow the General Troubleshooting steps