Previous Topic: Database PrerequisitesNext Topic: Mode of Installation, GUI or Console


Embedded Database

If you choose the embedded database option with application level internal configuration, CA OM Web Viewer creates and initializes an embedded database (Apache Derby embedded database) with the proper settings. CA OM Web Viewer stores administrative data in this embedded database.

Note: The embedded database with application level internal configuration is created under a directory according to the type of application server where CA OM Web Viewer is deployed. For example:

Important! With application level internal configuration on Apache Tomcat, an embedded database is a component that belongs to the installed CA OM Web Viewer application, undeploying or uninstalling, CA OM Web Viewer also removes the embedded database if the embedded database is created under the application’s working folder.

This situation is applicable with application level internal configuration on some application servers such as Apache Tomcat. To keep the content of an existing embedded database, you must manually back up and copy the database directory.

If you choose the embedded database option with external system level configuration or application level external configuration, CA OM Web Viewer creates and initializes an embedded database under the install directory, external system level configuration parent location pointed to by the CAOMWV12_HOME variable, or the application level configuration context folder. For example:

External System Level: <CAOMWV12_HOME>\database
Application Level External Configuration: <CAOMWV12_HOME>\<Application Context>\database

External Database

We recommend that you use an external database to keep administrative data from being affected by undeploying/uninstalling or redeploying/re-installing CA OM Web Viewer.

The tables of the database can be created manually or automatically, depending on whether the account is granted with CREATE TABLE privileges:

Note: These DDL statements can be found under the ddl folder in your installation media or the installed directory. For each supported database type, a pair of SQL scripts is provided as follows:

See the specific instructions in either the GUI or Console mode of installation.

Note: Currently we provide DDLs for the following types of database: DB2, Derby, Oracle, and Microsoft SQL Server. For the DB2 mainframe, a template is provided so that the DBA can employ a schema which is not the default. If this is chosen, then you must add the current Schema property with a value followed by a semicolon in the JDBC URL.

Example:

jdbc:db2://<server>:<port-number>/<databaseName>:currentSchema=<schemaName>;