Upgrade: Java Windows Dynamic Agent on a Host
Overview
The vFunction Controller keeps a backup of environmentally-specific files in $BASE_VFUNCTION_DIR\config\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 Workflow
- Download the vFunction Windows Controller Installation ZIP
- RDP to the Windows Server as the user who runs the Application / Application Server
- Extract the Installation ZIP to the location on the Windows Server where vFunction was previously installed. Replace existing files if prompted
- In PowerShell, unblock the files in the installation directory
### Replace the BASE_DIR with the actual value with the actual value where vFunction was extracted, such as C:\vfunction
dir -Path "BASE_DIR" -Recurse | Unblock-File
- In Powershell, run the upgrade script
### Replace the BASE_DIR with the actual value with the actual value where vFunction was extracted, such as C:\vfunction
powershell -NoProfile -ExecutionPolicy unrestricted -Command "BASE_VFUNCTION_DIR\controller-installation\upgrade.ps1 -instance 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