mkdir /opt/openlink
cd /opt/openlink
.taz
archive, and an optional administrator
.taz
file. Download these documents using
binary-preserving methods (e.g., ftp in BIN mode, or scp), and
place them in your installation folder.sh install.sh
http://broker-host.example.com:8000/
admin
." This is the username you will use when
working with the OpenLink Request Broker's HTTP-based Admin
Assistant. (You can set up other usernames later; consider this one
similar to "root
.")admin
." This is the password associated with the
username you just set.[generic_ora{{version}}]
. For Example, the Oracle 12
parameters are located in:[generic_ora12]
.Connect Options = -H {{host}} -P {{port
number}}
.$OPENLINK_INSTALL/bin/odbc.ini
with
a suitable text editor such as vi
.[OpenLink]
Driver = /OPENLINK_INSTALL/lib/oplodbc.so
Host = localhost:5000
ServerType = Oracle 8.1.x
Database =
Options =
Username =
Password =
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Sample DSN
[oracle9]
Driver = /OPENLINK_INSTALL/lib/oplodbc.so
Host = requestbroker_hostname:5000
ServerType = Oracle 9.x
Options = TNSNAME
Username = oracle
Password = **********
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Sample Oracle 9.x (Full Client) Connection
[oracle10]
Driver = /OPENLINK_INSTALL/lib/oplodbc.so
Host = requestbroker_hostname:5000
ServerType = Oracle 10.x
Options = TNSNAME
Username = oracle
Password = **********
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Sample Oracle 10.x (Full Client) Connection
[oracle10]
Driver = /OPENLINK_INSTALL/lib/oplodbc.so
Host = requestbroker_hostname:5000
ServerType = Oracle 10.x
Options = //oracle_hostname:port/TNSNAME
Username = oracle
Password = **********
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Sample Oracle 10.x (Instant Client) Connection
Presuming the OpenLink Request Broker is already running on the
target machine, you are now ready to test the connection. Use the
iodbctest
tool which is packaged with the HTTP-based
OpenLink ODBC Administrator as follows:
# cd OPENLINK_INSTALL
# . ./openlink.sh
# iodbctest oracle10
iODBC Demonstration program This program shows an interactive SQL processor Driver Manager: 03.52.0507.0105 Driver: 06.02.1217 OpenLink Generic ODBC Driver (oplodbc.so)
SQL>You should now be able to issue SQL statements directly against the target database.
Additional Information:
The bitness of the Generic ODBC Driver is determined by the bitness of your ODBC client application.
That is, if your ODBC client application is 32-bit, then the Generic ODBC Driver component MUST also be 32-bit.
<OPENLINK_INSTALL>/openlink.sh
with a suitable text editor such as vi.LD_LIBRARY_PATH="<OPENLINK_INSTALL>/lib:/oracle/lib:$LD_LIBRARY_PATH"
<OPENLINK_INSTALL>/openlink.ini
with a suitable
text editor such as vi.[Environment Oracle xxx]
section that
deals with the driver specific Oracle configuration and edit to
reflect your Oracle installation:
[Environment Oracle 10.x] ORACLE_HOME = /oracle/ ;ORACLE_SID = ORCL ;ORACLE_SERVER = T ;TWO_TASK = P: ;ODBC_CATALOGS = Y ; Uncomment after loading odbccat10.sql ;MULTIPLEX_LDA = 5 ; Allow 5 OpenLink clients on a single lda ;OPL_USR_TBLS_FIRST = Y ; Sort SQLTables starting with user tables SHOW_REMARKS = N ; Retrieve SQLColumns REMARKS field CURSOR_SENSITIVITY = LOW ; Set to HIGH after loading odbccat10.sql ;OCI_PREFETCH_ROWS = 100 ; Number of rows to prefetch ;OCI_PREFETCH_MEMORY = 65535 ; Amount of memory to use for prefetching ;NLS_LANG = AMERICAN_AMERICA.UTF8 ; Unicode connection
<OPENLINK_INSTALL>/bin/odbc.ini
with a suitable
text editor such as vi.[oracle] Driver = <OPENLINK_INSTALL>/lib/ora100_mt_lt.so ServerType = Oracle 10.x Options = <TNSName> Username = <scott> Password = <**********> FetchBufferSize = 99 ReadOnly = DeferLongFetch = JetFix = No Description = Sample Oracle 10.x Lite Connection
iodbctest
tool which is packaged with the
HTTP-based OpenLink ODBC Administrator as follows:
# cd <OPENLINK_INSTALL> # . ./openLink.sh # iodbctest oracle
iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0507.0105
Driver: 06.02.1217 OpenLink Generic ODBC Driver (ora100_mt_lt.so)
SQL>
Additional Information:
The bitness of the ODBC Driver for MySQL is determined by the
bitness of your ODBC client application.
That is, if your ODBC client application is 32-bit then the Generic
ODBC Driver component MUST also be 32-bit.
oplrqb.ini
).
vim
, vi
).[Environment Oracle6]
[Environment ORACLE180]
ORACLE_HOME = {Oracle-Installation-Home-Directory}
ORACLE_SID = {Oracle-System-ID}
oplrqb stop
" to stop the request broker.oplrqb start
" to start the request broker
with your new rulebook settings.OPENLINK_INSTALL
).OPENLINK_INSTALL
.
At bare minimum, these will be the OpenLink Generic ODBC Driver and OpenLink Http Administration Assistant.
install.sh
" shell script:
#sh install.sh
The installation should finish without error.$OPENLINK_INSTALL/bin/odbc.ini
with
a suitable text editor such as vi
.[OpenLink]
Driver = /OPENLINK_INSTALL/lib/oplodbc.so
Host = localhost:5000
ServerType = Oracle 8.1.x
Database =
Options =
Username =
Password =
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Sample DSN
[oracle9]
Driver = /OPENLINK_INSTALL/lib/oplodbc.so
Host = requestbroker_hostname:5000
ServerType = Oracle 9.x
Options = TNSNAME
Username = oracle
Password = **********
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Sample Oracle 9.x (Full Client) Connection
[oracle10]
Driver = /OPENLINK_INSTALL/lib/oplodbc.so
Host = requestbroker_hostname:5000
ServerType = Oracle 10.x
Options = TNSNAME
Username = oracle
Password = **********
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Sample Oracle 10.x (Full Client) Connection
[oracle10]
Driver = /OPENLINK_INSTALL/lib/oplodbc.so
Host = requestbroker_hostname:5000
ServerType = Oracle 10.x
Options = //oracle_hostname:port/TNSNAME
Username = oracle
Password = **********
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Sample Oracle 10.x (Instant Client) Connection
Presuming the OpenLink Request Broker is already running on the
target machine, you are now ready to test the connection. Use the
iodbctest
tool which is packaged with the HTTP-based
OpenLink ODBC Administrator as follows:
# cd OPENLINK_INSTALL
# . ./openlink.sh
# iodbctest oracle10
iODBC Demonstration program This program shows an interactive SQL processor Driver Manager: 03.52.0507.0105 Driver: 06.02.1217 OpenLink Generic ODBC Driver (oplodbc.so)
SQL>You should now be able to issue SQL statements directly against the target database.
Additional Information:
The bitness of the Generic ODBC Driver is determined by the bitness of your ODBC client application.
That is, if your ODBC client application is 32-bit, then the Generic ODBC Driver component MUST also be 32-bit.