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

  1. Download the vFunction Windows Controller Installation ZIP
  2. RDP to the Windows Server as the user who runs the Application / Application Server
  3. Extract the Installation ZIP to the location on the Windows Server where vFunction was previously installed. Replace existing files if prompted
  4. 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
  1. 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"
  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: