To change the database where OWSM monitoring metrics are stored, follow these steps.
- Load OWSM schema in the target database by running irca script.
- Go to ORACLE_HOME/owsm/config/coreman directory, and put new database details in the following properties
- monitor.repository.* in monitor-config-installer.properties
- monitor.repository.* in collector-config-installer.properties
- Obfuscate the passwords in the above mentioned files using wsmadmin tool
ORACLE_HOME/owsm/bin/wsmadmin encodePasswords ORACLE_HOME/owsm/config/coreman/monitor-config-installer.properties monitor.repository.password - Redeploy the monitor application by running
ORACLE_HOME/owsm/bin/wsmadmin deploy monitor