Cisco Cisco Workload Automation 6.3 用户指南

下载
页码 48
11
Configuring the JDBC Adapter
Configuring the JDBC Adapter
Note: 
For 64-bit library versions, you must also run with 64-bit Java. If your Java release is not 64-bit, use the 32-bit 
versions of the libraries.
2.
Extract the library from the 
jdbclib
 archive to the master machine.
a.
Create a directory under the master services directory called 
jdbc
.
Windows Example: 
C:\Program Files\TIDAL\master\services\jdbc\
Unix Example: 
/opt/tidal/master/services/jdbc
b.
Extract the archive to this location. The archive distribution contains directories: 
lib
 and 
locale
. The system will 
be configured to refer to these locations in the next steps.
3.
Configure the System Path to include the JDBC Library Path (i.e. 
lib
 directory.)
Windows Example:  
C:\Program Files\TIDAL\master\services\jdbc\lib
For Windows, include the library path in the "Path" Environment Variable.
Unix Example:  
 /opt/master/services/jdbc/lib or master/services/jdbc/lib
For Solaris/Linux, include the library path in "LD_LIBRARY_PATH".  
For AIX, include the path in "LIBPATH". For 64-bit also include "LD_LIBRARY_PATH".
For HPUX, include the path for "SHLIB_PATH". For 64-bit also include "LD_LIBRARY_PATH".
4.
Create or update the 
JDBC_DOMAINS_FILE
 Environment Variable to the location of the JDBC domains.jdbc file.
This requires that the domains.jdbc file be local to the Master machine; copy it from your installation as needed. Put 
this file in the 
jdbc
 directory created in step 2a).
Note: 
To configure connections to multiple servers, modify the local domains.jdbc file that was copied to the Master 
machine. Add values for the vector xml tag corresponding to each Server that will be configured as an JDBC Adapter.
Example on Windows: 
JDBC_DOMAINS_FILE=C:\Program Files\TIDAL\master\services\jdbc\domains.jdbc
Example on Unix: 
Export JDBC_DOMAINS_FILE=/opt/TIDAL/master/services/jdbc/domains.jdbc
5.
Configure the Locale Path for the JDBC Library by setting the 
TDLJDBC_LOCALE service.props value of the JDBC 
Adapter. See 
, for more details.
In the 
config
 directory located under the Adapter’s GUID directory, create or update the service.props file, create 
both the directory and file if it does not yet exist. Include an entry for 
TDLJDBC_LOCALE that points to the 
Load 
Manager Library
 locale directory.
Windows Example: 
C:\Program 
Files\TIDAL\Scheduler\master\services\{68597802-1828-464D-BEDC-2B6E1D3C8C0C}\config\service.props
Unix Example: