Moving the TrueSight Server Automation - Data Warehouse environment
You can move your existing TrueSight Server Automation - Data Warehouse infrastructure to a new environment. For example, you might want to set up a new environment that is a replica of your production environment to test operations such as upgrade.
This movement involves backing up your databases and files, installing TrueSight Server Automation - Data Warehouse in a new environment, and restoring the backed up databases and files.
Prerequisites
- Make sure that the new environment meets the system requirements.
- The TrueSight Server Automation - Data Warehouse installation files are downloaded to the server where you want to install it.
Procedure
To move your existing TrueSight Server Automation - Data Warehouse environment, do the following:
- Log in to the server where your existing TrueSight Server Automation - Data Warehouse is installed.
Back up following files, directories, and databases:
Location of databases/files/directories
Databases/files/databases
Database instance
Reports data warehouse.
- (Oracle) expdp [sys username]/[password]@[sid] schemas=[Data warehouse schema] directory=[test_dir] dumpfile=[Data warehouse schema].dmpdp logfile=expdp_[Data warehouse schema]_[date].log
- (SQL) Right click the database and select Tasks and then Back Up, and perform a full backup.
<TSSA-DW_installation_directory>/shared/ConfigurationManagement
- user_roles.csv (if you have changed)
- bds.properties
- generic_configuration.properties (if you have changed)
<TSSA-DW_installation_directory>/tomcat/conf/
server.xml
<TSSA-DW_installation_directory>/jre/lib/security
cacerts
- Log in to the new server where you want to move TrueSight Server Automation - Data Warehouse, and do the following:
- Restore the Reports data warehouse that you backed up.
- (Oracle) impdp [sys username]/[password]@[sid] schemas=[Reports data warehouse schema] directory=[test_dir] dumpfile=[Reports data warehouse schema].dmpdp logfile=expdp_[Reports data warehouse schema]_[date].log
- (SQL) Import or restore the backup that was taken from the production database.
- Install TrueSight Server Automation - Data Warehouse. For instructions, see Installing.
- Log in to the TrueSight Server Automation - Data Warehouse console with the DWAdmin credentials.
- On the Database Prerequisites tab, select Disaster Recovery Install - Setup additional TSSA-DW node using existing or standby warehouse database option, and configure the Warehouse and site database details. For more information, see Configuring-TrueSight-Server-Automation-Data-Warehouse.
- Restore the following backed up files in the new environment (except the bds.properties file that you already copied):
- user_roles.csv (if you have changed)
- generic_configuration.properties (if you have changed)
- server.xml
- cacerts
- Restore the Reports data warehouse that you backed up.
What's next
Do one of the following:
- To install and set up the TrueSight Smart Reporting - Platform application on a new server, perform these steps:
- Log in to the server where you want to set up TrueSight Smart Reporting - Platform.
Install TrueSight Smart Reporting - Platform 20.02:
Apply the TrueSight Smart Reporting - Platform 20.02.02 patch. For instructions, see Applying the 20.02.02 service pack.
- Log in to the TrueSight Smart Reporting - Platform console.
Change the TrueSight Server Automation - Data Warehouse host name:
Import the TrueSight Smart Reporting - Platform certificate into TrueSight Server Automation - Data Warehouse:
To use the existing TrueSight Smart Reporting - Platform application, update the TrueSight Server Automation - Data Warehouse host name in TrueSight Smart Reporting - Platform:
- Log in to the TrueSight Smart Reporting - Platform host as a platform admin user.
- Click Edit corresponding to the TrueSight Server Automation - Data Warehouse component.
- In the Hostname field, specify the new TrueSight Server Automation - Data Warehouse host name.
- Save the changes.