When you install an Orchestrator using Oracle as the database type, you specify an Oracle Instance Name or SID for each of the three data stores. The Oracle Service Name is required when you reference an Oracle RAC Database; you configure CA Process Automation to use an Oracle Service Name as a post-installation task.
In the examples that follow, replace the oracle-hostname-or-ip variable with one of the following values:
Follow these steps:
install_dir/server/c20/logs/c2o.log
install_dir\server\c2o\.config\OasisConfig.properties
oasis.database.connectionurl=jdbc:oracle:thin:@//oracle-hostname-or-ip:1521/ oasis.database.lib.dbname=ServiceName oasis.database.queues.dbname=ServiceName oasis.database.dbhostname=oracle-hostname-or-ip
oasis.runtime.database.connectionurl=jdbc:oracle:thin:@//oracle-hostname-or-ip:1521/ oasis.runtime.database.dbname=ServiceName oasis.runtime.database.dbhostname=oracle-hostname-or-ip
oasis.reporting.database.connectionurl=jdbc:oracle:thin:@//oracle-hostname-or-ip:1521/ oasis.reporting.database.dbname=ServiceName oasis.reporting.database.dbhostname=oracle-hostname-or-ip
For the connection URL statements, the following notations are also valid:
The following example is not RAC-specific.
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Oracle-hostname-or-ip)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ServiceName)))
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=OFF)(FAILOVER=ON)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle-hostname-or-ip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=oracle-hostname-or-ip)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ServiceName)))
Important! When using TNS notation, ensure that the .dbname value for each of the data stores is blank, The .dbname value is appended onto the connection URL statement when connecting to the database. Appending the service name is not desired in this case, as it is included in the TNS notation.
|
Copyright © 2014 CA.
All rights reserved.
|
|