ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/doc/CONFIGURE
Revision: 1.1.1.1 (vendor branch)
Committed: Mon Oct 31 22:10:35 2005 UTC (19 years, 6 months ago) by afaq
Branch: v00, MAIN
CVS Tags: DBS_0_0_3a, DBS_0_0_3, DBS_0_0_2, DBS_0_0_1, pre_DBS_0_0_1, post_dict_type_checking_merge, post_MiniPythonAPI_merged_to_trunk, pre_MiniPythonAPI_merge_to_trunk, DBS_0_0_0, vs20060320, AfterJan2006SchemaChanges_v01_00_01, AfterJan2006SchemaChanges_v01_00_00, AfterJan2006SchemaChanges, BeforeJan2006SchemaChanges, before_message_removal, preXOverChanges, start, HEAD
Branch point for: BranchForCPPWebServiceTesting
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
Log Message:
Adding Server code to the repository

File Contents

# Content
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