Changing multiple databases
When changing multiple databases (connection string parameters such as host name, port, or instance name), using the Report Administration Utility, you must run the commands in a specific sequence to modify all of the databases.
databases have dependencies on each other. If you change multiple database settings at the same time, you need to run the Report Administration Utility commands in the correct sequence to ensure that each database change is complete.This topic describes the following database change scenarios:
- To change warehouse, portal content store, and ETL repositories if they reside on the same database servers
- To change warehouse, portal content store, and ETL repositories if they reside on different database servers
- To change warehouse and portal content store or changing warehouse and ETL repositories if they reside on different database servers
Use the instructions that meet your database change scenario. For command syntax, use the command line help.
To change warehouse, portal content store, and ETL repositories if they reside on the same database servers
- If you are using an Oracle database, complete the following steps:
- On the reports server, make a backup copy of the tnsnames.ora file.
The file is usually located in the ORACLE_HOME\NETWORK\ADMIN directory. - Update the tnsnames.ora file with the new connection string information for the database and the databases.
- On the reports server, make a backup copy of the tnsnames.ora file.
- If you are changing the
- If a linked server (database link) exists, drop it.
- Create the linked server (database link) to point to the new Creating-a-linked-server-for-the-BMC-Server-Automation-databases). database (see
database, perform the following steps: - Run the .
- Run the set dbinfo command.
- Exit the Report Administration Utility and then run it again. This ensures that the Report Administration Utility has read the latest information.
- If you have multiple set context command for each site or, if you only have the primary site, run the set context command for that site. sites, run the
- Try logging on to
If you are able to log on successfully, your changes were successful. .
To change warehouse, portal content store, and ETL repositories if they reside on different database servers
- If you are using an Oracle database, complete the following steps:
- On the reports server, make a backup copy of the tnsnames.ora file.
The file is usually located in the ORACLE_HOME\NETWORK\ADMIN directory. - Update the tnsnames.ora file with the new connection string information for the database and the databases.
- On the reports server, make a backup copy of the tnsnames.ora file.
- If you are changing the
- If a linked server (database link) already exists, drop it.
- Create the linked server (database link) to point to the new Creating-a-linked-server-for-the-BMC-Server-Automation-databases). database (see
database, perform the following steps: - Run the .
- Run the set warehouse command.
The command makes some of the required changes to configuration files, but other database detail changes are not yet complete and some errors are displayed in the command output. - Run the set portalcontentstore command.
The portal content store changes are complete. - Run the set etldb command.
The ETL master and work repository changes are complete. - Run the set warehouse command.
The data warehouse changes are complete. - Exit the Report Administration Utility and then run it again. This ensures that the Report Administration Utility has read the latest information.
- If you have multiple set context command for each site or, if you only have the primary site, run the set context command for that site. sites, run the
- Try logging on to
If you are able to log on successfully, your changes were successful. .
To change warehouse and portal content store or changing warehouse and ETL repositories if they reside on different database servers
Use the following command sequence when making one of the following combinations of database changes:
- Changing the data warehouse and the portal content store
- Changing the data warehouse and the ETL master and work repositories
- If you are using an Oracle database, complete the following steps:
- On the reports server, make a backup copy of the tnsnames.ora file.
The file is usually located in the OracleHome\NETWORK\ADMIN directory. - Update the tnsnames.ora file with the new connection string information for the database and the databases.
- On the reports server, make a backup copy of the tnsnames.ora file.
- If you are changing the
- If a linked server (database link) already exists, drop it.
- Create the linked server (database link) to point to the new Creating-a-linked-server-for-the-BMC-Server-Automation-databases). database (see
database, perform the following steps: - Run the .
- Run the set warehouse command.
The command makes some of the required changes to configuration files, but other database detail changes are not yet complete and some errors are displayed in the command output. - Run one of the following commands based on the database changes you are making:
- Run the set portalcontentstore command.
or - Run the set etldb command.
The database changes are complete.
- Run the set portalcontentstore command.
- Run the set warehouse command.
The data warehouse changes are complete. - Exit the Report Administration Utility and then run it again.
This ensures that the Report Administration Utility has read the latest information. - If you have multiple set context command for each site or, if you only have the primary site, run the set context command for that site. sites, run the
- Try logging on to
If you are able to log on successfully, your changes were successful. .
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*