| Oracle® Web Services Manager Deployment Guide 10g (10.1.3.4) Part Number E12576-01 |
|
|
View PDF |
This chapter explains how to connect the various supported databases to your Oracle Web Services Manager (Oracle WSM) deployment.
This chapter includes the following sections:
How Oracle WSM Uses Databases
Oracle Lite 10g
Oracle 10g
Oracle WSM Database stores information from the following Oracle WSM components:
The Oracle WSM Database is also used to store the raw and compiled data associated with the Performance Metrics generated by the Oracle WSM Monitor.
Oracle WSM comes bundled with Oracle Lite Database 10g. When you install Oracle WSM on Microsoft Windows as a standalone installation with the Basic Installation option, Oracle Lite 10g is automatically installed.
If the installer confirms that the property value of the parameter install.db.type has been set to oracle, then it installs Oracle WSM and connects it to the specified database.
The wsmadmin initialize operation automatically creates the database tables required by Oracle Web Services Manager. It then uploads the requisite data to those tables. For details, see "initialize".
Note:
Oracle Lite is optimal for demonstration and proof-of-concept deployments of Oracle WSM on a single host machine. It is not certified for production environments. You must integrate production Oracle WSM deployments with Oracle 10g.The following procedure describes how to uninstall Oracle Lite.
To uninstall the bundled Oracle Lite instance
Open a command window, and go to the directory where you installed Oracle Lite.
The default location of the Oracle Lite installation is indicated by the value of the olite.install.home property in the install.properties file.
From the command prompt, run the following command:
wsmadmin uninstallOLite
For more information about uninstalling Oracle Lite using the wsmadmin command, see "uninstallOLite".
Integration of Oracle 10g with Oracle Web Services Manager requires completion of the following tasks:
Modify the install.properties file prior to installing Oracle Web Services Manager, setting the database properties according to Table D-1.
Table D-1 install.properties Settings for Oracle 10g
| Property | Description |
|---|---|
|
|
Specify |
|
|
Specify |
|
|
The machine name, IP address, and port of the computer hosting the database. For a single node, this is specified using the syntax For a RAC database, this is specified using the syntax |
|
|
The service name of the database instance in which the Oracle Web Services Manager Registry resides (the default is CCORE). |
|
|
The schema or account used to log in to the database. |
|
|
The password associated with the account specified by |
|
|
Specify |
Initialize the Oracle database by opening a command window, navigating to ORACLE_HOME\owsm\bin and executing the following command:
wsmadmin initialize
For more information about using the wsmadmin initialize command, see "initialize".
You may want to change passwords for security reasons; in particular, database passwords may need to be changed on a regular basis. Oracle recommends that you use a single Oracle WSM Database in your Oracle WSM environment. However, Oracle WSM components can support multiple instances of the database.
The following procedure describes how to change a database password for a single instance of an Oracle WSM Database.
To change a password for a single database instance
Change the password for the OWSM schema in the Oracle Database.
Restart the Oracle Application Server on which the Oracle WSM components are deployed.
Edit the ORACLE_HOME\owsm\bin\coresv.properties file, and update the dataload.messagelog.db.password property with the new database password.
Encode the password in the coresv.properties file.
wsmadmin encodePasswords coresv.properties dataload.messagelog.db.password
Copy the database configuration properties to the configuration directory property files.
wsmadmin copyDBConfig
Redeploy the Oracle WSM applications either individually or using the all parameter.
wsmadmin deploy oc4j_admin_password all
Restart the Oracle Application Server instance.
Complete the procedure in "Updating the Database Configuration Properties"."
The following procedure describes how to change a database password for multiple instances of an Oracle WSM Database.
To update and reconcile a password for multiple database instances
Change the password for the OWSM schema in the Oracle Database.
Restart the Oracle Application Server on which the Oracle WSM components are deployed.
Update the relevant attribute in the application properties file for each application. These files are located in ORACLE_HOME\owsm\config\application_name.
Encode the password for each property that was changed in step 3.
wsmadmin encodePasswords file_name property_name
Redeploy the Oracle WSM components that connect to the database.
wsmadmin deploy oc4j_admin_password component
Restart the Oracle Application Server instance.
Repeat this procedure for each Oracle Database that is used by an Oracle WSM component.
Complete the procedure in "Updating the Database Configuration Properties"."
When you update the database password for Oracle WSM components, the database configuration properties for the Oracle WSM Agents and Gateways do not get updated. Therefore, you will not be able to access the message logs for these components. The workaround for this problem is to manually edit the properties for the components with the new password.
Log in to Web Services Manager Control.
In the navigation pane, select Policy Management.
Click Edit for the Oracle WSM Agent or Gateway.
Edit the cfluent.messagelog.db.password with the new database password, and save this change.