Upgrading the Smart Hub silently
You can upgrade the Smart Hub silently.
To upgrade the Smart Hub
Do the following:
- Log in to the system where you want to upgrade the Smart Hub.
- (Windows) Log in as an administrator.
- (UNIX and Linux) Log in as a root user.
- Extract the Smart Hub installer files to a directory of your choice.
- (Windows) Extract SMARTHUB<version>-WIN64.zip
- (Linux) Extract SMARTHUB<version>-LIN64.zip
- Navigate to the directory that contains extracted files.
Run the following command:
(Windows)
./setup.bat --silent --upgrade --install-upgrade-smarthub-gateway --smarthub-gateway-port 1080 --migration-completed --ca-cert-subject <value> --server-cert-subject <value>For example:
./setup.bat --silent --upgrade --install-upgrade-smarthub-gateway --smarthub-gateway-port 1080 --migration-completed --ca-cert-subject --ca-cert-subject /C=US/ST=TX/L=Austin/O=Calbro Software/OU=root/CN=Smart Hub CA:%HOST% --server-cert-subject /C=US/ST=TX/L=Houston/O=BMC Software/OU=server/CN=%HOST%(UNIX and Linux)
./setup.sh --silent --upgrade --install-upgrade-smarthub-gateway --smarthub-gateway-port 1080 --ca-cert-subject <value> --server-cert-subject <value>For example:
./setup.sh --silent --upgrade --install-upgrade-smarthub-gateway --smarthub-gateway-port 1080 --ca_cert_subject /C=US/ST=TX/L=Austin/O=Calbro Software/OU=root/CN=Smart Hub CA:%HOST% --server_cert_subject /C=US/ST=TX/L=Houston/O=BMC Software/OU=server/CN=%HOST%
where,
-- silent indicates accepting the end user license agreement and proceeding with the silent installation.
-- upgrade indicates upgrading the Smart Hub.
-- install-upgrade-smarthub-gateway indicates installing or upgrading the Smart Hub Gateway. The Smart Hub Gateway is upgraded when the previously installed Smart Hub Gateway version is lower than the current Smart Hub Gateway version.
--migration-completed indicates that you completed migrating data from the embedded Redis Server to another Redis Server installed on a Linux system. You must include this flag. Otherwise, the upgrade cannot proceed.
--ca-cert-subject indicates the values used for generating the CA-signer certificate. The default is /C=US/ST=TX/L=Houston/O=BMC Software/OU=root/CN=Smart Hub CA:%HOST%.
--server-cert-subject indicates the values used to generating the Smart Hub server certificate. The default is /C=US/ST=TX/L=Houston/O=BMC Software/OU=server/CN=%HOST%.- Verify that the Smart Hub and Smart Hub Gateway is up and running:
- (Windows)
- On the search bar, enter services.msc.
- 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
- (Windows)