Applications Systems
Move a DPA repository on Oracle
How to move a DPA repository from one Oracle database to another database.
First published date
Last published date
Overview
This article explains how to move a DPA repository from one Oracle database to another.
If you need to move a SQL Server or MySQL repository, see the following:
Product section
Resolution
- Shut down the DPA Server.
- Windows: Stop the Ignite PI Server service.
- Linux: Run
shutdown.sh. Ensure there are no crontab entries that will automatically restart DPA.
- Export the schema holding the DPA Repository. Enter the following command:
exp DPA_username/DPA_user_password@repository_database file=ignite_repo.dmp owner=DPA_username grants=Y buffer=2000000
- Create a schema in the new repository database using any username/password you like.
You may wish to create a DPA tablespace to hold the DPA data in the new Repository.
SQL> create user DPA_username identified by DPA_user_password default tablespace DPA_tbsp; SQL> grant dba to DPA_username;
- Import the repository data from the previous step into the new database. Enter the following command:
imp DPA_username/DPA_user_password@repository_database file=ignite_repo.dmp full=Y buffer=2000000
- Update the repository database information in the
repo.propertiesfile on the DPA server to point to the new DPA repository.- Open the
repo.propertiesfile in a text editor.- Windows:
DPA_install_dir\iwc\tomcat\ignite_config\idc - Linux:
DPA_home/iwc/tomcat/ignite_config/idc
- Windows:
- Modify the following lines as needed:
repo.serviceName= repo.port= repo.user= repo.host= repo.password= repo.name=
- Open the
- Start the DPA Server, and open the DPA interface.
- Ensure the server connects to the proper repository database.
- Review the status of monitors and start / stop accordingly.
- Review DPA log entries for obvious errors.
- Test to ensure the move is successful.
- Wait at least 10 minutes and drill into several databases.
- Does data for the last 10 minutes appear for all monitored databases?
- Connect to the old Repository Instance as a DBA user and remove the old repository:
SQL> drop user DPA_username cascade