This topic describes how to configure DevTest to use an Oracle database.
In the following procedure, you configure the Oracle version of the site.properties file. The following properties in this file are relevant to the database configuration:
lisadb.reporting.poolName=common lisadb.vse.poolName=common lisadb.acl.poolName=common lisadb.broker.poolName=common lisadb.pool.common.driverClass=oracle.jdbc.driver.OracleDriver lisadb.pool.common.url=jdbc:oracle:thin:@HOST:1521:SID lisadb.pool.common.user=oracle_username lisadb.pool.common.password=oracle_password lisadb.pool.common.minPoolSize=0 lisadb.pool.common.initialPoolSize=0 lisadb.pool.common.maxPoolSize=10 lisadb.pool.common.acquireIncrement=1 lisadb.pool.common.maxIdleTime=45 lisadb.pool.common.idleConnectionTestPeriod=5
To minimize the number of connections to the database, connection pooling is used. The underlying implementation of the pooling functionality is c3p0. For detailed information about the settings, see http://www.mchange.com/projects/c3p0/index.html#configuration_properties. By default, all the components use the common connection pool. However, you can define a separate pool for each component or mix and match.
For the reporting database, we recommend at least 10 GB for optimal performance. A database for VSE is required only if you are working with legacy images created in a release earlier than 6.0.
The value of any property that ends with password is automatically encrypted at startup.
Note: The remote installations of DevTest Workstation, coordinator, simulator server, VSE, or any other remote DevTest component do not require more configuration. They all receive site.properties from the registry when they connect and configure their database access accordingly.
Follow these steps:
You typically update the following properties:
For the lisadb.pool.common.url property, you can use the service name.
You can download the driver from http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html. We recommend that you download the latest driver, even if you are using an older database server. In most cases, ojdbc7.jar is the correct driver for Java 1.7 (which ships with DevTest). If you are using Java 1.6, then use ojdbc6.jar. If you are using Java 1.5, then use ojdbc5.jar.
Important! The JDBC driver must be added to both directories.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|