Upgrade: Java Linux Dynamic Agent on a Host with Sudoless Access



Overview

The vFunction Controller keeps a backup of environmentally-specific files in $BASE_DIR/vfunction/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 Sudoless package
  2. SCP the Controller TGZ package to the Linux VM in the $BASE_DIR where the vFunction Agent was initially installed. You will find a vfunction directory in this $BASE_DIR
  3. SSH to the Linux VM in the $BASE_DIR
  4. Unpack the Controller TGZ package
### Replace $VERSION with the package version, such as 4.1.1635
tar -xvzf ./vfunction-controller-sudo-less-installation.v$VERSION.tgz
  1. Run the Upgrade Script
bash ./vfunction/opt/vfunction/controller-installation/upgrade.sh -i default-java
  1. 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: