1 |
This file contains information required to configure the DBS Server.
|
2 |
|
3 |
Following items are required to be configured, for DBS Server to work properly.
|
4 |
|
5 |
1. ORACLE Client
|
6 |
2. unixODBC
|
7 |
3. ORACLE ODBC Driver
|
8 |
4. LOG4CXX
|
9 |
|
10 |
Look at INSTALL for further details how to install these products. Helping scripts are [provided.
|
11 |
|
12 |
After completion of installation one need to follow folowing steps,
|
13 |
|
14 |
1. Edit $ODBCHOME/etc/odbcinst.ini to point to proper ORACE Driver, Entries look like,
|
15 |
|
16 |
[oracle]
|
17 |
Description =
|
18 |
Driver = /oracle_odbc_home/lib/liboraodbc.so
|
19 |
Driver64 = /oracle_odbc_home/lib/liboraodbc.so
|
20 |
Setup = /oracle_odbc_home/lib/liboraodbc.so
|
21 |
Setup64 = /oracle_odbc_home/lib/liboraodbc.so
|
22 |
UsageCount = 1
|
23 |
CPTimeout =
|
24 |
CPReuse =
|
25 |
|
26 |
Example is generated as $ODBCHOME/etc/odbcinst.ini.example
|
27 |
|
28 |
|
29 |
2. Edit $ODBCHOME/etc/odbc.ini, it contains your DSN for ORACLE Driver, Entries look like,
|
30 |
|
31 |
[OracleTest]
|
32 |
Description = oracle
|
33 |
Driver = oracle
|
34 |
Trace = No
|
35 |
TraceFile =
|
36 |
DB = cmsr
|
37 |
USER = cms_dbs_reader
|
38 |
PASSWORD = xxxxxxxxxxxxx
|
39 |
|
40 |
Example is in $ODBCHOME/etc/odbc.ini.example
|
41 |
|
42 |
3. $DBSHOME is the location where you are deploying DBS.
|
43 |
|
44 |
4. Look at $DBSHOME/etc/server.conf
|
45 |
|
46 |
a. Make sure log: points to $DBSHOME/etc/server.conf
|
47 |
|
48 |
example,
|
49 |
|
50 |
log: /home/devDBS/etc/log4cxx.properties
|
51 |
|
52 |
b. Make sure you have your ORACLE parameters defined properly (These are used by DBS Server)
|
53 |
|
54 |
Example:
|
55 |
|
56 |
dsn: OracleTest
|
57 |
dbuser: cms_dbs_reader
|
58 |
dbpasswd: xxxxxxxxxxxx
|
59 |
|
60 |
|
61 |
5. make sure env. variable DBSCONFIG points to $DBSHOME/etc/server.conf
|
62 |
|
63 |
6. Source setup_dbs.sh
|
64 |
|
65 |
. ./setup_db.sh
|
66 |
|
67 |
|
68 |
|