Upgrading the Gateway Server using the wizard
Where you are in the Upgrade process
When you plan to upgrade from a version of the Gateway Server that is prior to the last two releases, you must upgrade to at least one interim upgrade before directly upgrading to the current version. The embedded Capacity Agent, which includes the system collectors and service daemon, is automatically upgraded with the Gateway Server.
When you upgrade the Gateway Server, the installation wizard follows the path of the initial installation. For example, if the typical installation type was used during installation, the same type is selected during the upgrade process. Also, the custom parameters that were configured during installation are retained. You cannot change the installation directory of Gateway Server. Therefore, this option is not displayed during the upgrade process.
To upgrade the Gateway Server
- 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
- (Linux) Set the DISPLAY environment variable to ensure that the wizard-based installer launches the screens appropriately:
export DISPLAY=<IP address of the computer>:0.0
- Run the installer:
- (Windows) Run setup.exe from the windows_gateway_server directory.
- (Linux) Run setup.sh from the linux_x86_console directory.
- Review the welcome page, and click Next.
- Read the license agreement, agree to the terms, and click Next.
- Ensure that the Gateway Server component is selected for installation, and click Next.
- Verify the installation type.
- If the installation type is typical, verify or modify the following settings on the subsequent screens, and click Next.
- The protocol to be used for communication
- If you selected HTTPS in the previous step, specify the following details of the Application Server to retrieve its server certificate:
- The host name and the port number
- The administrator user name and password
- The network protocol to be used
- If the installation type is custom, verify or modify the following settings on the subsequent screens, and click Next.
- The protocol to be used for communication
- If you selected HTTPS in the previous step, specify the following details of Application Server to retrieve its server certificate:
- The host name and the port number
- The administrator user name and password
- The security level for the communication between the Gateway Server and the Agent
- (Linux) The name of the user who will access and use the Gateway Server
- The port numbers and data collection options:
- Port numbers for the service daemon, Capacity Agent, status reporting, and Gateway Server
- History Data Repository: The directory path to save the historical data.
- (Linux) Collect Data Repository: The directory path to save the collected data temporarily.
- (Linux) Service Daemon installation directory: The directory path where the service daemon is installed.
- Enable collection of historical data: Specify whether you want to collect historical data. By default, the historical data collection is enabled.
- Set TrueSight Capacity Optimization Agent to start automatically: Specify whether you want to start the Capacity Agent immediately after installation. By default, the Agent does not start after installation.
- (Linux) Create Default Link: Specify whether you want to create the usr/adm/best1_default link to identify the current installation. By default, the link is created.
- If the installation type is typical, verify or modify the following settings on the subsequent screens, and click Next.
- Maximum process command length to collect: Select the maximum length (in bytes) of the process command that the Capacity Agent must collect. The default value is 2048.
- (Linux) Specify whether you want to run the service daemon (bgssd.exe) in the standalone mode. By default, the service daemon is configured to run by using the inetd or xinetd service.
The migration options:
(Windows)- Migrate Agent: Select if you want to migrate the agent data files during the upgrade, such as agent.cfg and authorization.cfg. For more information about these files, see Agent-configuration-file and Authorization configuration file.
- Migrate Gateway Server: Select if you want to migrate the Gateway Server files during the upgrade, such as policy files (.plc), script files (.vmn and .msf), the settings file (perform.msc), the hardware table files (best1user.odm and best1user.hrw), the license file, scheduled scripts, and the configuration files that are available in the \BEST1\NTC\local\setup directory (The default path is C:\Program Files\BMC Software\Patrol3\\BEST1\NTC\local\setup).
Uninstall existing version: Select to remove the current version of Gateway Server before upgrading it.
(Linux)
- Migrate configuration files: Select if you want to migrate the agent configuration files that are available in the following directory: $BEST1_HOME/local/setup
- Migrate agent list and gateway manager runs: Select to migrate the scheduled Manager runs from the previous version of the Gateway Server that includes Manager runs automatically created using agent lists. When the Gateway Server is upgraded to the new version, the Manager runs will be unscheduled in the previous version and the new Manager runs will be scheduled in the new version.
Uninstall existing version: Select to remove the current version of Gateway Server before upgrading it.
- The PATROL agent configuration
If the PATROL agent is installed in your environment, specify whether you want this agent to use the data collectors of the upgraded Gateway Server.
- The IPv4 or IPv6 network protocol to be used
- Review the installation summary and click Install.
A message confirming the completion of installation process is displayed. - Click View log to view the installation log details on the screen.
- Click Done to exit the installation program.
(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.