Upgrading the Gateway Server silently
Where you are in the Upgrade process
The silent upgrade process involves running the installer from a command line. The installer uses the ConsoleSilentInstallOptions.txt file that contains the parameters to be configured while upgrading the Gateway Server.
To upgrade the Gateway Server silently
- Log in to the computer where you want to upgrade the Gateway Server.
- (Windows) Log in as a user with administrator privileges.
- (Linux) Log in as a non-root user.
- Extract the Gateway Server installer files to a temporary directory.
- (Windows) Extract TSCO_GatewayServer_<version>_MSwindows.zip
- (Linux) Run this command: tar -xvf TSCO_GatewayServer_<version>_Linux.tar
- Create a directory for saving the options file.
- In the directory where you extracted the Gateway Server installation files, navigate to the silent directory.
- Copy the ConsoleSilentInstallOptions.txt file from this directory to the directory that you created in Step 3.
Open the ConsoleSilentInstallOptions.txt file in a text editor and configure the following parameters:
Parameter
Description
(Linux) -J PERFORM_UNIX_MIGRATION
Specify whether you want to migrate the existing Manager runs that are scheduled. The default value is True.
(Linux) -J PERFORM_UNIX_MIGRATE_AGENT_LIST
Specify whether you want to migrate the agent list to use the latest Gateway Server being installed. The default value is True.
(Linux) -J PERFORM_UNIX_UNINSTALL
Specify whether you want to uninstall the existing version of the Gateway Server if detected. The default value is False.
(Windows) -J PERFORM_CONSOLE_MIGRATION
Specify whether you want to migrate the existing Manager runs that are scheduled. The default value is True.
You can retain the default values for the other parameters. For information about the other parameters, see 2020-02-18_12-36-03_Installing the Gateway Server silently.
- Change to the directory that contains the Gateway Server installation files that you extracted.
Run the following command:
- (Windows)
start /WAIT setup.exe -i silent-DOPTIONS_FILE="<driveName>:\<fileLocationPath>\ConsoleSilentInstallOptions.txt" - (Linux)
./setup.sh -i silent -DOPTIONS_FILE=<fileLocationPath>/ConsoleSilentInstallOptions.txt
The variables <driveName> and <fileLocationPath> represent the location where you saved the options file. If the path contains spaces, enclose the path and options file name in quotation marks.
A confirmation message about the successful installation is displayed.- (Windows)
(Linux) Run the following command as a root user to configure the embedded Capacity Agent:
- Change to the root user.
- Change to the installation directory. The default is /opt/bmc/Patrol3.
- Run the following command:
./b1config<version>.sh
where version indicates the version of the installed Gateway Server.
- Verify that the upgrade is successful:
- Verification steps for Windows:
- Verification steps for Linux:
Next step in the Upgrade process
Now that you have successfully upgraded the Gateway Server, upgrade the Capacity Agent to collect data at a greater granularity. Else, complete the post-upgrade activities.