Upgrade: Java Linux Dynamic Agent on a Host with Root / Sudo 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 package
- SCP the Controller TGZ package to the Linux VM
- SSH to the Linux VM
- Unpack the Controller TGZ package
### Replace $VERSION with the package version, such as 4.1.1635
sudo tar -Pxvzf ./vfunction-controller-installation.v$VERSION.tgz
- Run the Upgrade Script
sudo bash /opt/vfunction/controller-installation/upgrade.sh -i default-java
- 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
- Follow the General Troubleshooting steps