Upgrading the Smart Hub using the script


You can upgrade the Smart Hub using the script.

NEW IN 20.02.01 The Smart Hub installer includes an additional optional component called the Smart Hub Gateway. If you want to manage the servers in private networks (in on-premises or cloud environments such as AWS) where inbound connectivity with the RSCD Agents is not available, you must install the Smart Hub Gateway.

Important note for Windows Smart Hub

TrueSight Server Automation 21.02 no longer supports the Redis Server embedded with the Smart Hub on a Windows system. If you are already using the Redis Server that was embedded with Smart Hub 20.02.01 or 20.02, you must migrate data to the Redis Server installed on a Linux system in your environment. For the migration instructions, see Migrating-the-Smart-Hub-and-Redis-Server-data.

To upgrade the Smart Hub

Do the following:

  1. Log in to the system where you want to perform the Smart Hub upgrade procedure.
    • (Windows) Log in as an administrator.
    • (Linux) Log in as a root user.
  1. Extract the downloaded zip files to a temporary directory. 
    • (Windows) Extract SMARTHUB<version>-WIN64.zip
    • (Linux) Extract SMARTHUB<version>-LIN64.zip
  2. Run the installer using this command:

    • (Windowssetup.bat
    • (Linux) ./setup.sh

    The installer detects the existing Smart Hub installation and prompts you to proceed.

  3. When prompted, type y to proceed with the upgrade.
  4. Read the license agreement and agree to the terms.
    (Windows) You are prompted to ensure that data is migrated to the Redis Server installed on a Linux system before you proceed with the upgrade process. For the migration instructions, see Migrating-the-Smart-Hub-and-Redis-Server-data.
  5. Type y to continue with the upgrade.
    If the Smart Hub Gateway is already installed, you are prompted to upgrade it. If it is not already installed, you are prompted to install it.
  6. When prompted, specify whether you want to install or upgrade the Smart Hub Gateway.
    A confirmation message is displayed and the upgrade process is completed.

    Important

    If in the existing installation, the values provided to generate the CA-signer certificate and the Smart Hub server certificate match, you are prompted to regenerate the Smart Hub server certificate with different values. Regenerate the certificate and proceed with the upgrade.

  7. Verify that the Smart Hub and Smart Hub Gateway is up and running:
    • (Windows)
      1. On the search bar, enter services.msc.
      2. Verify that the following services are running:
        • TrueSight Server Automation Smart Hub
        • TrueSight Server Automation Smart Hub Gateway
    • (Linux) Run the following commands to view the status of Smart Hub and Smart Hub Gateway:
      • systemctl status smarthub.service
      • systemctl status smarthub.gateway.service

What's next

  1. Register the Smart Hub with the Application Server. For more information, see Configuring-the-Smart-Hub-and-Smart-Hub-Gateway.
  2. (For targets in the public cloud) Define the network routing rules. For more information, see Creating-rules-for-routing-to-remote-servers.
  3. Configure the Smart Agent to specify the host name of this Smart Hub. For more information, see Configuring-the-installation-parameters-for-the-NSH-or-the-RSCD-agent.
  4. (Mandatory step for Smart Hub Gateway) Configure the NSH proxy server. For details, see Setting-up-a-Network-Shell-proxy-server.
  5. (Optional) Customize values of the Smart Hub parameters. For more information, see Managing-the-Smart-Hub.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*