Академический Документы
Профессиональный Документы
Культура Документы
July 2014
Oracle Database Gateway Installation and Configuration Guide, 12c Release 1 (12.1) for Microsoft Windows
E17926-05
Copyright 2006, 2014, Oracle and/or its affiliates. All rights reserved.
Primary Author:
Maitreyee Chaliha
Contributing Author: Vira Goorah, Govind Lakkoju, Peter Wong, Juan Pablo Ahues-Vasquez, Peter Castro
and Charles Benet
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it
on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software,
any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users
are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and
agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and
adaptation of the programs, including any operating system, integrated software, any programs installed on
the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to
the programs. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management
applications. It is not developed or intended for use in any inherently dangerous applications, including
applications that may create a risk of personal injury. If you use this software or hardware in dangerous
applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other
measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages
caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks
are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD,
Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced
Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle
Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your
access to or use of third-party content, products, or services.
Contents
Preface ................................................................................................................................................................. xi
Intended Audience...................................................................................................................................... xi
Documentation Accessibility ..................................................................................................................... xi
Related Documents ..................................................................................................................................... xi
Conventions ................................................................................................................................................ xii
Part I
1
Part II
Sybase
2
1-1
1-1
1-1
1-2
1-2
1-2
1-2
1-2
1-3
1-3
1-3
1-3
1-4
1-4
1-4
1-5
1-5
1-5
Part III
Informix
4
iv
4-1
4-1
4-2
4-2
5-1
5-1
5-1
5-2
5-2
5-4
5-4
5-4
5-5
5-6
5-6
Part IV
Gateway for Teradata
6
6-1
6-1
6-2
6-2
Part V
Server
8-1
8-1
8-2
8-3
Part VI
10
11
vi
10-1
10-1
10-2
10-3
11-1
11-1
11-2
11-3
11-3
11-4
11-5
Part VII
for DRDA
12
13
14
12-1
12-1
12-2
12-2
13-1
13-3
13-3
13-4
13-5
13-5
14-1
14-1
14-2
14-2
14-2
14-4
14-4
14-4
14-5
14-6
14-6
14-7
14-7
14-8
14-8
14-9
vii
Multiple DRDA Databases Example: Configuring Oracle Database for Gateway Access .. 14-9
Multiple DRDA Databases Example: Accessing DB2 Data ...................................................... 14-9
15
Security Considerations
Security Overview.................................................................................................................................
Authenticating Application Logons ..................................................................................................
Defining and Controlling Database Links.......................................................................................
Link Accessibility ............................................................................................................................
Links and CONNECT Clauses ......................................................................................................
Processing Inbound Connections ......................................................................................................
User ID Mapping.............................................................................................................................
Passwords in the Gateway Initialization File ..................................................................................
16
15-1
15-1
15-2
15-2
15-2
15-2
15-3
15-4
Part VIII
16-1
16-1
16-1
16-1
16-2
16-2
16-2
Part IX
A
Appendixes
viii
A-1
A-1
A-2
A-2
A-3
B-1
B-1
B-2
B-2
B-2
B-2
B-3
Initialization Parameters
Initialization Parameter File Syntax ....................................................................................................
Oracle Database Gateway for Sybase Initialization Parameters ...................................................
Oracle Database Gateway for Informix Initialization Parameters ................................................
Oracle Database Gateway for Teradata Initialization Parameters ................................................
Oracle Database Gateway for SQL Server Initialization Parameters ...........................................
Oracle Database Gateway for ODBC Initialization Parameters ....................................................
Oracle Database Gateway for DRDA Initialization Parameters....................................................
Initialization Parameter Description...................................................................................................
HS_CALL_NAME ............................................................................................................................
HS_DB_DOMAIN ............................................................................................................................
HS_DB_INTERNAL_NAME ..........................................................................................................
HS_DB_NAME .................................................................................................................................
HS_DESCRIBE_CACHE_HWM ....................................................................................................
HS_LANGUAGE ...........................................................................................................................
HS_LONG_PIECE_TRANSFER_SIZE .......................................................................................
HS_OPEN_CURSORS ..................................................................................................................
HS_RPC_FETCH_REBLOCKING ..............................................................................................
HS_RPC_FETCH_SIZE ................................................................................................................
HS_FDS_SHAREABLE_NAME ....................................................................................................
HS_TIME_ZONE ............................................................................................................................
HS_TRANSACTION_MODEL .....................................................................................................
IFILE .................................................................................................................................................
HS_FDS_CONNECT_INFO ..........................................................................................................
HS_FDS_PROC_IS_FUNC.............................................................................................................
HS_FDS_RECOVERY_ACCOUNT ..............................................................................................
HS_FDS_RECOVERY_PWD..........................................................................................................
HS_FDS_RESULTSET_SUPPORT ................................................................................................
HS_FDS_TRACE_LEVEL...............................................................................................................
HS_FDS_TRANSACTION_LOG ..................................................................................................
HS_FDS_REPORT_REAL_AS_DOUBLE ....................................................................................
HS_FDS_FETCH_ROWS................................................................................................................
HS_FDS_CAPABILITY...................................................................................................................
HS_FDS_ISOLATION_LEVEL......................................................................................................
HS_FDS_PACKAGE_COLLID......................................................................................................
HS_IDLE_TIMEOUT ......................................................................................................................
HS_FDS_MBCS_TO_GRAPHIC ...................................................................................................
HS_FDS_GRAPHIC_TO_MBCS ...................................................................................................
HS_FDS_TIMESTAMP_MAPPING .............................................................................................
HS_FDS_DATE_MAPPING ..........................................................................................................
HS_FDS_ARRAY_EXEC ................................................................................................................
HS_FDS_QUOTE_IDENTIFIER....................................................................................................
HS_NLS_LENGTH_SEMANTICS ...............................................................................................
HS_KEEP_REMOTE_COLUMN_SIZE........................................................................................
HS_FDS_REMOTE_DB_CHARSET .............................................................................................
C-1
C-2
C-3
C-4
C-5
C-6
C-7
C-8
C-8
C-8
C-9
C-9
C-9
C-10
C-11
C-11
C-11
C-12
C-12
C-12
C-13
C-13
C-14
C-15
C-15
C-16
C-16
C-16
C-17
C-17
C-17
C-17
C-18
C-18
C-19
C-19
C-19
C-20
C-20
C-20
C-20
C-21
C-21
C-21
ix
HS_FDS_SUPPORT_STATISTICS ................................................................................................
HS_FDS_RSET_RETURN_ROWCOUNT....................................................................................
HS_FDS_SQLLEN_INTERPRETATION .....................................................................................
HS_FDS_AUTHENTICATE_METHOD ......................................................................................
HS_FDS_ENCRYPT_SESSION .....................................................................................................
HS_FDS_TRUSTSTORE_FILE.......................................................................................................
HS_FDS_TRUSTSTORE_PASSWORD.........................................................................................
Index
C-22
C-22
C-22
C-23
C-23
C-23
C-24
Preface
This guide describes how to install Oracle Database Gateway for Sybase, Informix,
Teradata, SQL Server, ODBC, and DRDA on Microsoft Windows (64-bit) platform.
This preface covers the following topics:
Intended Audience
Documentation Accessibility
Related Documents
Conventions
Intended Audience
This manual is intended for Oracle database administrators who perform the
following tasks:
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For
information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or
visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing
impaired.
Related Documents
For more information, see the following documents:
Conventions
The following text conventions are used in this manual:
Convention
Meaning
bold
italics
monospace
UPPERCASE
xii
[text]
[text|text]
{text|text}
Part I
Overview of the Oracle Database
Gateway Installation
Part I
1
1
Installation Considerations
2.
3.
On the same computer as the Oracle database and in the same Oracle home
directory. Note that in this case, the Oracle database and the gateway must be at
the same release level.
1-1
Installation Considerations
Installation Considerations
This section contains information that you should consider before installing this
product. They are:
Release Notes
Release Notes
Read the release notes for the product before installing it. The release notes are
available on the Oracle Database 12c Release 1 (12.1) installation media. The latest
version of the release notes is also available on the Oracle Technology Network (OTN)
Web site:
http://docs.oracle.com/
2.
Navigate to each of the download pages for the product that you want to install.
3.
On each download page, identify the required disk space by adding the file sizes
for each required file. The file sizes are listed next to the file names.
4.
Select a file system with enough free space to store and expand the files. In most
cases, the available disk space must be at least twice the size of each compressed
file.
5.
On the file system that you just selected, create a parent directory for each product
that you plan to install, for example Dg_1, to hold the installation directories.
6.
Download all the installation files to the directories that you just created.
7.
Verify that the files that you downloaded are the same size as the corresponding
files on OTN.
8.
9.
After you have extracted the required installation files, go to the "Running the
Oracle Universal Installer" section on page 1-4.
1-3
2.
Copy the contents of the installation media to the directory that you just created.
3.
After you have copied all the required installation files, go to the "Running the
Oracle Universal Installer" section on page 1-4.
See Also:
If you are installing from a local directory, then double-click setup.exe located in
the directory you created for the downloaded or copied installation files.
2.
When installing from the installation media, the Autorun screen automatically
appears. If the Autorun screen does not appear, then:
a.
b.
4.
When the installation is complete, click Exit, then click Yes to exit from the
Installer.
cluster configuration that runs out of the grid infrastructure home and listens on the
specified port (default is 1521) of the node Virtual IP(VIP).
Local Listener
Oracle Database Gateway service should be configured using the local listener. It is the
local listener that spawns the gateway process. That means listener should know
which gateway process to spawn. Use the listener.ora in Grid infrastructure home
to add the Gateway SID. If a SCAN listener for Database is already running on that
node, you can use the same listener.ora file to configure the local listener.
1-5
Whenever database fail over happens, that is, session migrates from one database
instance to other database instance (on a new node), the migrated session will use the
gateway instance from that new node.
Three types of Oracle Net failover functionality are available by default to Oracle Call
Interface (OCI) applications:
session: Set to failover the session. If a user connection is lost, then a new session
is automatically created for the user on the backup. This type of failover does not
attempt to recover select operations.
select: Set to enable users with open cursors to continue fetching on them after
failure. However, this mode involves overhead on the client side in normal select
operations.
none: This is the default. No failover functionality is used. This can also be
explicitly specified to prevent failover from happening.
Part II
Installing and Configuring
Oracle Database Gateway for Sybase
Part II
Part II, "Installing and Configuring Oracle Database Gateway for Sybase" describes
how to install and configure Oracle Database Gateway for Sybase.
It contains the following chapters:
2
2
Ensure that the system meets all of the hardware and software requirements
specified in "System Requirements for Oracle Database Gateway for Sybase" on
page 2-1.
2.
Hardware Requirements
Table 21 lists the minimum hardware requirements for Oracle Database Gateway for
Sybase.
Table 21
Requirement
5 GB
Minimum of 1 GB
Table 21 (Cont.) Hardware Requirements for Oracle Database Gateway for Sybase
Requirement
Virtual memory
Video adapter
256 colors
Processor
Determine the physical RAM size. For a computer using Microsoft Windows 2000,
for example, open System in the control panel and select the General tab. If the
size of the physical RAM installed in the system is less than the required size, then
you must install more memory before continuing.
2.
Determine the size of the configured swap space (also known as paging file size).
For a computer using Microsoft Windows 2000, for example, open System in the
control panel, select the Advanced tab, and click Performance Options.
If necessary, then see your operating system documentation for information about
how to configure additional swap space.
3.
Determine the amount of free disk space on the system. For a computer using
Microsoft Windows 2000, for example, open My Computer, right-click the drive
where the Oracle software is to be installed, and select Properties.
4.
Determine the amount of disk space available in the temp directory. This is
equivalent to the total amount of free disk space, minus what will be needed for
the Oracle software to be installed.
If there is less than 125 MB of disk space available in the temp directory, then first
delete all unnecessary files. If the temp disk space is still less than 125 MB, then set
the TEMP or TMP environment variable to point to a different hard drive. For a
computer using Microsoft Windows 2000, for example, open the System control
panel, select the Advanced tab, and click Environment Variables.
Software Requirements
Oracle Database Gateway for Sybase is supported on the following Microsoft
Windows (64-bit) operating systems:
Certified Configurations
The gateway supports Sybase Adaptive Server. For the latest versions supported refer
to the OTN Web site:
http://www.oracle.com/technetwork/database/gateways/index.html
Screen
Response
Click Next.
Specify a name for the installation in the Name field. You can also choose
not to edit the default setting of the Name field of the Specify Home
Details screen.
The Path field in the Specify Home Details screen is where you specify
the destination for your installation. You need not edit the path
specification in the Path field. The default setting for this field points to
ORACLE_HOME. After you set the fields in the Specify Home Details screen
as necessary, click Next to continue. After loading the necessary
information from the installation, the Oracle Universal Installer displays
the Available Products screen.
Oracle Universal Installer: Available a. Select Oracle Database Gateway for Sybase 12.1
Product Components
b. Click Next.
Oracle Database Gateway for
Sybase
Sybase Database Server Host Name - Specify the host name of the
machine hosting the Sybase database server.
Sybase Database Server Port number - Specify the port number of the
Sybase database server
Sybase Database Name - Specify the Sybase database name
Click Next to continue.
Click Cancel.
Click Exit.
Exit
The final screen of the Oracle Universal Installer is the End of Installation
screen. Click Exit to exit the installer.
Each of these variables in the log file name represents the date and time the product
was installed.
3
3
2.
3.
4.
5.
6.
7.
8.
2.
Where:
Variable
Description
host_name
port_number
database_name
2.
Stop and Start the Oracle Net Listener for the Gateway
A list of Oracle Net addresses on which the Oracle Net Listener listens
The executable name of the gateway that the Oracle Net Listener starts in response
to incoming connection requests
Where:
Variable
Description
host_name
port_number
specifies the port number used by the Oracle Net Listener. If you
have other listeners running on the same machine, then the value of
port_number must be different from the other listeners port
numbers.
To direct the Oracle Net Listener to start the gateway in response to incoming
connection requests, add an entry to the listener.ora file.
You must use the same SID value in the listener.ora file and
the tnsnames.ora file that will be configured in the next step.
Note:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4sybs)
)
)
Where:
Variable
Description
gateway_sid
specifies the SID of the gateway and matches the gateway SID
specified in the connect descriptor entry in the tnsnames.ora file.
oracle_home_
directory
dg4sybs
If you already have an existing Oracle Net Listener, then add the following syntax to
SID_LIST in the existing listener.ora file:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=.
.
)
(SID_DESC=.
.
)
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4sybs)
)
)
Stop and Start the Oracle Net Listener for the Gateway
You must stop and restart the Oracle Net Listener to initiate the new settings, as
follows:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
4.
Configuring tnsnames.ora
Edit the tnsnames.ora file to add a connect descriptor for the gateway. The following
is a syntax of the Oracle Net entry using the TCP/IP protocol:
connect_descriptor=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=host_name)
(PORT=port_number)
)
(CONNECT_DATA=
(SID=gateway_sid))
(HS=OK))
Where:
Table 31
Variable
Description
connect_descriptor
TCP
host_name
port_number
matches the port number used by the Oracle Net Listener that is
listening for the gateway. The Oracle Net Listeners port number
can be found in the listener.ora file used by the Oracle Net
Listener. See "Syntax of listener.ora File Entries" on page 3-3.
gateway_sid
specifies the SID of the gateway and matches the SID specified
in the listener.ora file of the Oracle Net Listener that is
listening for the gateway. See "Configure Oracle Net Listener for
the Gateway" on page 3-2 for more information.
(HS=OK)
This indicates that, if the listener for host_name_1 and port_number_1 is not available,
then the second listener for host_name_2 and port_number_2 will take over.
Where:
Variable
Description
dblink
tns_name_entry
After the database link is created you can verify the connection to the Sybase database,
as follows:
SQL> SELECT * FROM DUAL@dblink;
COMMIT_CONFIRM
READ_ONLY
SINGLE_SITE
2.
The log table, called HS_TRANSACTION_LOG, is where two-phase commit transactions are
recorded.
1.
Set up a user account in the Sybase database. Both the user name and password
must be a valid Sybase user name and password.
2.
HS_FDS_RECOVERY_ACCOUNT to the user name of the Sybase user account you set
up for recovery.
HS_FDS_RECOVERY_PWD to the password of the Sybase user account you set up
for recovery.
"Customize the Initialization Parameter File" on
page 3-2 for information about editing the initialization parameter
file. For information about HS_FDS_RECOVERY_ACCOUNT and HS_FDS_
RECOVERY_PWD, see Appendix C, "Initialization Parameters".
See Also:
Note:
Note:
See Also:
Create the transaction log table in the user account you created in "Create a Recovery
Account and Password" on page 3-7. Because the transaction log table is used to record
the status of a gateway transaction, the table must reside at the database where the
Sybase update takes place. Also, the transaction log table must be created under the
owner of the recovery account.
To utilize the transaction log table, users of the gateway
must be granted privileges on the table.
Note:
To create a transaction log table use the dg4sybs_tx.sql script, located in the directory
ORACLE_HOME\dg4sybs\admin, where ORACLE_HOME is the directory under which the
gateway is installed. Use isql to execute the script at the MS-DOS prompt, as follows:
> isql -Urecovery_account -Precovery_account_password [-Sserver] -idg4sybs_tx.sql
where sa_user and sa_pwd are the Sybase system administrator user ID and
password respectively.
The gateway is installed and configured with the default SID of dg4sybs.
Two Sybase databases named db2 and db3 on a host with IP Address 204.179.79.15
are being added.
Note:
Multiple Sybase Databases Example: Stopping and Starting the Oracle Net Listener
Perform the following steps:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
Click Stop.
4.
Click Start.
Multiple Sybase Databases Example: Configuring Oracle Database for Gateway Access
Add two connect descriptor entries to the tnsnames.ora file. You must have an entry
for each gateway instance, even if the gateway instances access the same database.
This example describes how to configure Oracle Net on the Oracle database for
multiple gateway instances. It shows the entry for the original installed gateway first,
followed by the two entries for the new gateway instances:
old_db_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4sybs))
(HS=OK))
new_db2_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4sybs2))
(HS=OK))
new_db3_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4sybs3))
(HS=OK))
The value for PORT is the TCP/IP port number of the Oracle Net Listener that is
listening for the gateway. The number can be found in the listener.ora file used by
the Oracle Net Listener. The value for HOST is the name of the machine on which the
gateway is running. The name also can be found in the listener.ora file used by the
Oracle Net Listener.
Enter the following to create a database link for the dg4sybs3 gateway:
SQL> CREATE PUBLIC DATABASE LINK SYBS3 CONNECT TO
2 "user3" IDENTIFIED BY "password3" USING new_db3_using;
After the database links are created, you can verify the connection to the new Sybase
databases, as in the following:
SQL> SELECT * FROM ALL_USERS@SYBS2;
SQL> SELECT * FROM ALL_USERS@SYBS3;
3-11
Part III
Installing and Configuring Oracle
Database Gateway for Informix
Part III
Part III, "Installing and Configuring Oracle Database Gateway for Informix" describes
how to install and configure Oracle Database Gateway for Informix.
It contains the following chapters:
4
4
Ensure that the system meets all of the hardware and software requirements
specified in "System Requirements for Oracle Database Gateway for Informix" on
page 4-1.
2.
Hardware Requirements
Table 41 lists the minimum hardware requirements for Oracle Database Gateway for
Informix.
Table 41
5 GB
Physical Memory
Minimum of 1 GB
Virtual memory
Video adapter
256 colors
4-1
Table 41 (Cont.) Hardware Requirements for Oracle Database Gateway for Informix
Requirement
Processor
Determine the physical RAM size. For a computer using Microsoft Windows 2000,
for example, open System in the control panel and select the General tab. If the
size of the physical RAM installed in the system is less than the required size, then
you must install more memory before continuing.
2.
Determine the size of the configured swap space (also known as paging file size).
For a computer using Microsoft Windows 2000, for example, open System in the
control panel, select the Advanced tab, and click Performance Options.
If necessary, then see your operating system documentation for information about
how to configure additional swap space.
3.
Determine the amount of free disk space on the system. For a computer using
Microsoft Windows 2000, for example, open My Computer, right-click the drive
where the Oracle software is to be installed, and select Properties.
4.
Determine the amount of disk space available in the temp directory. This is
equivalent to the total amount of free disk space, minus what will be needed for
the Oracle software to be installed.
If there is less than 125 MB of disk space available in the temp directory, then first
delete all unnecessary files. If the temp disk space is still less than 125 MB, then set
the TEMP or TMP environment variable to point to a different hard drive. For a
computer using Microsoft Windows 2000, for example, open the System control
panel, select the Advanced tab, and click Environment Variables.
Software Requirements
Oracle Database Gateway for Informix is supported on the following Microsoft
Windows (64-bit) operating systems:
Certified Configurations
The gateway supports Informix Dynamic Server. For the latest versions supported
refer to the OTN Web site:
http://www.oracle.com/technetwork/database/gateways/index.html
Table 42
Screen
Response
Click Next.
Specify a name for the installation in the Name field. You can also choose
not to edit the default setting of the Name field of the Specify Home
Details screen.
The Path field in the Specify Home Details screen is where you specify
the destination for your installation. You need not edit the path
specification in the Path field. The default setting for this field points to
ORACLE_HOME. After you set the fields in the Specify Home Details screen
as necessary, click Next to continue. After loading the necessary
information from the installation, the Oracle Universal Installer displays
the Available Products screen.
Oracle Universal Installer: Available a. Select Oracle Database Gateway for Informix 12.1.
Product Components
b. Click Next.
Oracle Database Gateway for
Informix
Informix Database Server Host Name - Specify the host name of the
machine hosting the Informix database server.
Informix Database Server Port number - Specify the port number of the
Informix database server
Informix Server Name - Specify the Informix server name
Informix Database Name - Specify the Informix database name
Click Next to continue.
Click Cancel.
Click Exit.
Exit
The final screen of the Oracle Universal Installer is the End of Installation
screen. Click Exit to exit the installer.
4-3
5
5
2.
3.
4.
5.
6.
7.
2.
5-1
ORACLE_HOME\dg4ifmx\admin\initdg4ifmx.ora
Where:
Variable
Description
host_name
port_number
server_name
database_name
2.
Stop and Start the Oracle Net Listener for the Gateway
A list of Oracle Net addresses on which the Oracle Net Listener listens
The executable name of the gateway that the Oracle Net Listener starts in response
to incoming connection requests
Where:
Variable
Description
host_name
port_number
specifies the port number used by the Oracle Net Listener. If you have
other listeners running on the same machine, then the value of port_
number must be different from the other listeners port numbers.
To direct the Oracle Net Listener to start the gateway in response to incoming
connection requests, add an entry to the listener.ora file.
You must use the same SID value in the listener.ora file and
the tnsnames.ora file that will be configured in the next step.
Note:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4ifmx)
)
)
Where:
Variable
Description
gateway_sid
specifies the SID of the gateway and matches the gateway SID specified
in the connect descriptor entry in the tnsnames.ora file.
oracle_home_
directory
dg4ifmx
If you already have an existing Oracle Net Listener, then add the following syntax to
SID_LIST in the existing listener.ora file:
Configuring Oracle Database Gateway for Informix
5-3
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=.
.
)
(SID_DESC=.
.
)
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4ifmx)
)
)
Stop and Start the Oracle Net Listener for the Gateway
You must stop and restart the Oracle Net Listener to initiate the new settings, as
follows:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
4.
Configuring tnsnames.ora
Edit the tnsnames.ora file to add a connect descriptor for the gateway. The following
is a syntax of the Oracle Net entry using the TCP/IP protocol.
connect_descriptor=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=host_name)
(PORT=port_number)
)
(CONNECT_DATA=
(SID=gateway_sid))
(HS=OK))
Where:
Table 51
Variable
Description
connect_descriptor
names.directory_path = (TNSNAMES)
host_name
port_number
matches the port number used by the Oracle Net Listener that
is listening for the gateway. The Oracle Net Listeners port
number can be found in the listener.ora file used by the
Oracle Net Listener. See "Syntax of listener.ora File Entries" on
page 5-3.
gateway_sid
specifies the SID of the gateway and matches the SID specified
in the listener.ora file of the Oracle Net Listener that is
listening for the gateway. See "Configure Oracle Net Listener
for the Gateway" on page 5-2 for more information.
(HS=OK)
This indicates that, if the listener for host_name_1 and port_number_1 is not available,
then the second listener for host_name_2 and port_number_2 will take over.
See Also: Oracle Database Administrator's Guide for information
about editing the tnsnames.ora file.
5-5
Where:
Variable
Description
dblink
tns_name_entry
After the database link is created you can verify the connection to the Informix
database, as follows:
SQL> SELECT * FROM DUAL@dblink;
COMMIT_CONFIRM
READ_ONLY
SINGLE_SITE
2.
The log table, called HS_TRANSACTION_LOG, is where two-phase commit transactions are
recorded.
1.
Set up a user account in the Informix database. Both the user name and password
must be a valid Informix user name and password.
2.
Note:
Note:
5-7
See Also:
Create the transaction log table in the user account you created in Create a Recovery
Account and Password on page 5-7. Because the transaction log table is used to record
the status of a gateway transaction, the table must reside at the database where the
Informix update takes place. Also, the transaction log table must be created under the
owner of the recovery account.
To utilize the transaction log table, users of the gateway
must be granted privileges on the table.
Note:
To create a transaction log table use the dg4ifmx_tx.sql script, located in the directory
ORACLE_HOME\dg4ifmx\admin where ORACLE_HOME is the directory under which the
gateway is installed.
The gateway is installed and configured with the default SID of dg4ifmx.
The ORACLE_HOME environment variable is set to the directory where the gateway is
installed.
The gateway is configured for one Informix database named db1.
Two Informix databases named db2 and db3 on a host with IP Address
204.179.79.15 are being added.
Note:
5-9
(PROGRAM=dg4ifmx)
)
(SID_DESC=
(SID_NAME=dg4ifmx3)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4ifmx)
)
)
Multiple Informix Databases Example: Stopping and Starting the Oracle Net Listener
Perform the following steps:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
Click Stop.
4.
Click Start.
Multiple Informix Databases Example: Configuring Oracle Database for Gateway Access
Add two connect descriptor entries to the tnsnames.ora file. You must have an entry
for each gateway instance, even if the gateway instances access the same database.
This example describes how to configure Oracle Net on the Oracle database for
multiple gateway instances. It shows the entry for the original installed gateway first,
followed by the two entries for the new gateway instances:
old_db_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4ifmx))
(HS=OK))
new_db2_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4ifmx2))
(HS=OK))
new_db3_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4ifmx3))
(HS=OK))
The value for PORT is the TCP/IP port number of the Oracle Net Listener that is
listening for the gateway. The number can be found in the listener.ora file used by
the Oracle Net Listener. The value for HOST is the name of the machine on which the
gateway is running. The name also can be found in the listener.ora file used by the
Enter the following to create a database link for the dg4ifmx3 gateway:
SQL> CREATE PUBLIC DATABASE LINK IFMX3 CONNECT TO
2 "user3" IDENTIFIED BY "password3" USING new_db3_using;
After the database links are created, you can verify the connection to the new Informix
databases, as in the following:
SQL> SELECT * FROM ALL_USERS@IFMX2;
SQL> SELECT * FROM ALL_USERS@IFMX3;
Part IV
Installing and Configuring
Oracle Database Gateway for Teradata
Part IV
Part IV, "Installing and Configuring Oracle Database Gateway for Teradata" describes
how to install and configure of Oracle Database Gateway for Teradata.
It contains the following chapters:
6
6
Ensure that the system meets all of the hardware and software requirements
specified in "System Requirements for Oracle Database Gateway for Teradata"
section on page 6-1.
2.
Hardware Requirements
Table 61 lists the minimum hardware requirements for Oracle Database Gateway for
Teradata.
Table 61
5 GB
Physical Memory
Minimum of 1 GB
Virtual memory
Video adapter
256 colors
Table 61 (Cont.) Hardware Requirements for Oracle Database Gateway for Teradata
Requirement
Processor
Determine the physical RAM size. For a computer using Microsoft Windows 2000,
for example, open System in the control panel and select the General tab. If the
size of the physical RAM installed in the system is less than the required size, then
you must install more memory before continuing.
2.
Determine the size of the configured swap space (also known as paging file size).
For a computer using Microsoft Windows 2000, for example, open System in the
control panel, select the Advanced tab, and click Performance Options.
If necessary, then see your operating system documentation for information about
how to configure additional swap space.
3.
Determine the amount of free disk space on the system. For a computer using
Microsoft Windows 2000, for example, open My Computer, right-click the drive
where the Oracle software is to be installed, and select Properties.
4.
Determine the amount of disk space available in the temp directory. This is
equivalent to the total amount of free disk space, minus what will be needed for
the Oracle software to be installed.
If there is less than 125 MB of disk space available in the temp directory, then first
delete all unnecessary files. If the temp disk space is still less than 125 MB, then set
the TEMP or TMP environment variable to point to a different hard drive. For a
computer using Microsoft Windows 2000, for example, open the System control
panel, select the Advanced tab, and click Environment Variables.
Software Requirements
Oracle Database Gateway for Teradata is supported on the following Microsoft
Windows (64-bit) operating systems:
Certified Configurations
Teradata client libraries are required on the machine where the gateway is installed.
For the latest certified clients refer to the OTN Web site:
http://www.oracle.com/technetwork/database/gateways/index.html
Table 62
Screen
Response
Click Next.
Specify a name for the installation in the Name field. You can also choose
not to edit the default setting of the Name field of the Specify Home
Details screen.
The Path field in the Specify Home Details screen is where you specify
the destination for your installation. You need not edit the path
specification in the Path field. The default setting for this field points to
ORACLE_HOME. After you set the fields in the Specify Home Details screen
as necessary, click Next to continue. After loading the necessary
information from the installation, the Oracle Universal Installer displays
the Available Products screen.
Click Cancel.
Click Exit.
Exit
The final screen of the Oracle Universal Installer is the End of Installation
screen. Click Exit to exit the installer.
7
7
2.
3.
4.
5.
6.
7.
2.
ORACLE_HOME\dg4tera\admin\initdg4tera.ora
Where:
Variable
Description
ip_address
port_number
database_name
2.
Stop and Start the Oracle Net Listener for the Gateway
A list of Oracle Net addresses on which the Oracle Net Listener listens
The executable name of the gateway that the Oracle Net Listener starts in response
to incoming connection requests
Where:
Variable
Description
host_name
port_number
specifies the port number used by the Oracle Net Listener. If you
have other listeners running on the same machine, then the value of
port_number must be different from the other listeners port
numbers.
To direct the Oracle Net Listener to start the gateway in response to incoming
connection requests, add an entry to the listener.ora file.
You must use the same SID value in the listener.ora file and
the tnsnames.ora file that will be configured in the next step.
Note:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4tera)
(ENVS=PATH=oracle_home_directory\bin;teradata_client_
directory\lib;Windows_system_paths)
)
)
Where:
Variable
Description
gateway_sid
specifies the SID of the gateway and matches the gateway SID
specified in the connect descriptor entry in the tnsnames.ora
file.
oracle_home_directory
dg4tera
teradata_client_
directory
Variable
Description
Windows_system_paths
If you already have an existing Oracle Net Listener, then add the following syntax to
SID_LIST in the existing listener.ora file:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=.
.
)
(SID_DESC=.
.
)
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4tera)
(ENVS=PATH=oracle_home_directory\bin;teradata_client_directory\lib;Windows_
system_paths)
)
)
Stop and Start the Oracle Net Listener for the Gateway
You must stop and restart the Oracle Net Listener to initiate the new settings, as
follows:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
4.
Configuring tnsnames.ora
Edit the tnsnames.ora file to add a connect descriptor for the gateway. The following
is a syntax of the Oracle Net entry using the TCP/IP protocol:
connect_descriptor=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=host_name)
(PORT=port_number)
)
(CONNECT_DATA=
(SID=gateway_sid))
(HS=OK))
Where:
Variable
Description
host_name
port_number
matches the port number used by the Oracle Net Listener that is
listening for the gateway. The Oracle Net Listeners port number can
be found in the listener.ora file used by the Oracle Net Listener.
See "Syntax of listener.ora File Entries" on page 7-3.
gateway_sid
specifies the SID of the gateway and matches the SID specified in the
listener.ora file of the Oracle Net Listener that is listening for the
gateway. See "Configure Oracle Net Listener for the Gateway" on
page 7-2 for more information.
(HS=OK)
)
(CONNECT_DATA=
(SID=gateway_sid))
(HS=OK))
This indicates that, if the listener for host_name_1 and port_number_1 is not available,
then the second listener for host_name_2 and port_number_2 will take over.
See Also: Oracle Database Administrator's Guide for information
about editing the tnsnames.ora file.
Where:
Variable
Description
dblink
tns_name_entry
After the database link is created you can verify the connection to the Teradata
database, as follows:
SQL> SELECT * FROM DUAL@dblink;
COMMIT_CONFIRM
READ_ONLY
SINGLE_SITE
2.
The log table, called HS_TRANSACTION_LOG, is where two-phase commit transactions are
recorded.
1.
Set up a user account in the Teradata database. Both the user name and password
must be a valid Teradata user name and password.
2.
See Also:
to check the status of failed transactions that were started at the Teradata database by
the gateway and registered in the table.
Updates to the transaction log table cannot be part of an
Oracle distributed transaction.
Note:
See Also:
Create the transaction log table in the user account you created in "Create a Recovery
Account and Password" on page 7-7. Because the transaction log table is used to record
the status of a gateway transaction, the table must reside at the database where the
Teradata update takes place. Also, the transaction log table must be created under the
owner of the recovery account.
To utilize the transaction log table, users of the gateway
must be granted privileges on the table.
Note:
To create a transaction log table use the dg4tera_tx.sql script, located in the directory
ORACLE_HOME\dg4tera\admin where ORACLE_HOME is the directory under which the
gateway is installed.
The gateway is installed and configured with the default SID of dg4tera.
Note:
(PROGRAM=dg4tera)
(ENVS=PATH=oracle_home_directory\bin;teradata_client_directory\lib;Windows_
system_paths)
)
(SID_DESC=
(SID_NAME=dg4tera2)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4tera)
(ENVS=PATH=oracle_home_directory\bin;teradata_client_directory\lib;Windows_
system_paths)
)
(SID_DESC=
(SID_NAME=dg4tera3)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4tera)
(ENVS=PATH=oracle_home_directory\bin;teradata_client_directory\lib;Windows_
system_paths)
)
)
Multiple Teardata Databases Example: Stopping and Starting the Oracle Net Listener
Perform the following steps:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
Click Stop.
4.
Click Start.
(HS=OK))
new_db3_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4tera3))
(HS=OK))
The value for PORT is the TCP/IP port number of the Oracle Net Listener that is
listening for the gateway. The number can be found in the listener.ora file used by
the Oracle Net Listener. The value for HOST is the name of the machine on which the
gateway is running. The name also can be found in the listener.ora file used by the
Oracle Net Listener.
Enter the following to create a database link for the dg4tera3 gateway:
SQL> CREATE PUBLIC DATABASE LINK TERA3 CONNECT TO
2 "user3" IDENTIFIED BY "password3" USING new_db3_using;
After the database links are created, you can verify the connection to the new Teradata
databases, as in the following:
SQL> SELECT * FROM ALL_USERS@TERA2;
SQL> SELECT * FROM ALL_USERS@TERA3;
Part V
Installing and Configuring Oracle
Database Gateway for SQL Server
Part V
Part V, "Installing and Configuring Oracle Database Gateway for SQL Server"
describes how to install and configure of Oracle Database Gateway for SQL Server
It contains the following chapters:
8
8
Ensure that the system meets all of the hardware and software requirements
specified in "System Requirements for Oracle Database Gateway for SQL Server"
section on page 8-1.
2.
Hardware Requirements
Table 81 lists the minimum hardware requirements for Oracle Database Gateway for
SQL Server.
Table 81
5 GB
Physical Memory
Minimum of 1 GB
Virtual memory
Video adapter
256 colors
Table 81 (Cont.) Hardware Requirements for Oracle Database Gateway for SQL Server
Requirement
Processor
Determine the physical RAM size. For a computer using Microsoft Windows 2000,
for example, open System in the control panel and select the General tab. If the
size of the physical RAM installed in the system is less than the required size, then
you must install more memory before continuing.
2.
Determine the size of the configured swap space (also known as paging file size).
For a computer using Microsoft Windows 2000, for example, open System in the
control panel, select the Advanced tab, and click Performance Options.
If necessary, then see your operating system documentation for information about
how to configure additional swap space.
3.
Determine the amount of free disk space on the system. For a computer using
Microsoft Windows 2000, for example, open My Computer, right-click the drive
where the Oracle software is to be installed, and select Properties.
4.
Determine the amount of disk space available in the temp directory. This is
equivalent to the total amount of free disk space, minus what will be needed for
the Oracle software to be installed.
If there is less than 125 MB of disk space available in the temp directory, then first
delete all unnecessary files. If the temp disk space is still less than 125 MB, then set
the TEMP or TMP environment variable to point to a different hard drive. For a
computer using Microsoft Windows 2000, for example, open the System control
panel, select the Advanced tab, and click Environment Variables.
Software Requirements
Oracle Database Gateway for SQL Server is supported on the following Microsoft
Windows (64-bit) operating systems:
Certified Configurations
The gateway supports SQL Server. For the latest versions supported refer to the OTN
Web site:
http://www.oracle.com/technetwork/database/gateways/index.html
Screen
Response
Click Next.
Specify a name for the installation in the Name field. You can also choose
not to edit the default setting of the Name field of the Specify Home
Details screen.
The Path field in the Specify Home Details screen is where you specify
the destination for your installation. You need not edit the path
specification in the Path field. The default setting for this field points to
ORACLE_HOME. After you set the fields in the Specify Home Details screen
as necessary, click Next to continue. After loading the necessary
information from the installation, the Oracle Universal Installer displays
the Available Products screen.
SQL Server Database Server Host Name - Specify the host name of the
machine hosting the SQL Server database.
SQL Server Database Server Port number - Specify the port number of
the SQL Server database server
SQL Server Database Name - Specify the SQL Server database name
Click Next to continue.
Click Cancel.
Click Exit.
Exit
The final screen of the Oracle Universal Installer is the End of Installation
screen. Click Exit to exit the installer.
Each of these variables in the log file name represents the date and time the product
was installed.
9
9
2.
3.
4.
5.
6.
7.
8.
2.
Where:
Variable
Description
host_name
is the host name or IP address of the machine hosting the SQL Server
database.
instance_name
database_name
2.
Stop and Start the Oracle Net Listener for the Gateway
A list of Oracle Net addresses on which the Oracle Net Listener listens
The executable name of the gateway that the Oracle Net Listener starts in response
to incoming connection requests
Where:
Variable
Description
host_name
port_number
specifies the port number used by the Oracle Net Listener. If you
have other listeners running on the same machine, then the
value of port_number must be different from the other listeners'
port numbers.
To direct the Oracle Net Listener to start the gateway in response to incoming
connection requests, add an entry to the listener.ora file.
You must use the same SID value in the listener.ora file and
the tnsnames.ora file which will be configured in the next step.
Note:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4msql)
)
)
Where:
Variable
Description
gateway_sid
specifies the SID of the gateway and matches the gateway SID
specified in the connect descriptor entry in the tnsnames.ora
file.
oracle_home_directory
dg4msql
If you already have an existing Oracle Net Listener, then add the following syntax to
SID_LIST in the existing listener.ora file:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=.
.
)
(SID_DESC=.
.
)
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4msql)
)
)
Stop and Start the Oracle Net Listener for the Gateway
You must stop and restart the Oracle Net Listener to initiate the new settings, as
follows:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
4.
Configuring tnsnames.ora
Edit the tnsnames.ora file to add a connect descriptor for the gateway. The following
is a syntax of the Oracle Net entry using the TCP/IP protocol:
connect_descriptor=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=host_name)
(PORT=port_number)
)
(CONNECT_DATA=
(SID=gateway_sid))
(HS=OK))
Where:
Variable
Description
connect_descriptor
names.default_domain = world
name.default_zone = world
host_name
port_number
matches the port number used by the Oracle Net Listener that is
listening for the gateway. The Oracle Net Listener's port number
can be found in the listener.ora file used by the Oracle Net
Listener. See "Syntax of listener.ora File Entries" on page 9-3.
gateway_sid
specifies the SID of the gateway and matches the SID specified
in the listener.ora file of the Oracle Net Listener that is
listening for the gateway. See"Configure Oracle Net Listener for
the Gateway" on page 9-3 for more information.
(HS=OK)
(HOST=host_name_1)
(PORT=port_number_1)
)
(ADDRESS=
(PROTOCOL=TCP)
(HOST=host_name_2)
(PORT=port_number_2)
)
(CONNECT_DATA=
(SID=gateway_sid))
(HS=OK))
This indicates that, if the listener for host_name_1 and port_number_1 is not available,
then the second listener for host_name_2 and port_number_2 will take over.
See Also: Oracle Database Administrator's Guide for information
about editing the tnsnames.ora file.
Where:
Variable
Description
dblink
tns_name_entry
After the database link is created you can verify the connection to the SQL Server
database, as follows:
SQL> SELECT * FROM DUAL@dblink;
COMMIT_CONFIRM
READ_ONLY
SINGLE_SITE
2.
The log table, called HS_TRANSACTION_LOG, is where two-phase commit transactions are
recorded.
1.
Set up a user account in the SQL Server database. Both the user name and
password must be a valid SQL Server user name and password.
2.
See Also:
Note:
Note:
See Also:
Create the transaction log table in the user account you created in "Create a Recovery
Account and Password" on page 9-7. Because the transaction log table is used to record
the status of a gateway transaction, the table must reside at the database where the
SQL Server update takes place. Also, the transaction log table must be created under
the owner of the recovery account.
To utilize the transaction log table, users of the gateway
must be granted privileges on the table.
Note:
To create a transaction log table use the dg4msql_tx.sql script, located in the directory
ORACLE_HOME\dg4msql\admin where ORACLE_HOME is the directory under which the
gateway is installed. Use isql to execute the script at the MS-DOS prompt, as follows:
> isql -Urecovery_account -Precovery_account_password [-Sserver] -idg4msql_tx.sql
where sa_user and sa_pwd are the SQL Server system administrator user ID and
password respectively.
The gateway is installed and configured with the default SID of dg4msql
The gateway is configured for one SQL Server database named db1
Two SQL Server databases named db2 and db3 on a host with IP Address
204.179.79.15 are being added
HS_FDS_CONNECT_INFO=204.179.79.15//db3
If you have multiple gateway SIDs for the same SQL Server
database because you want to use different gateway parameter
settings at different times, follow the same procedure. You create
several initialization parameter files, each with different SIDs and
different parameter settings.
Note:
Multiple SQL Server Databases Example: Stopping and Starting the Oracle Net Listener
Perform the following steps:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
Click Stop.
4.
Click Start.
Multiple SQL Server Databases Example: Configuring Oracle Database for Gateway
Access
Add two connect descriptor entries to the tnsnames.ora file. You must have an entry
for each gateway instance, even if the gateway instances access the same database.
This example describes how to configure Oracle Net on the Oracle database for
multiple gateway instances. It shows the entry for the original installed gateway first,
followed by the two entries for the new gateway instances:
old_db_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4msql))
(HS=OK))
new_db2_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4msql2))
(HS=OK))
new_db3_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4msql3))
(HS=OK))
The value for PORT is the TCP/IP port number of the Oracle Net Listener that is
listening for the gateway. The number can be found in the listener.ora file used by
the Oracle Net Listener. The value for HOST is the name of the machine on which the
gateway is running. The name also can be found in the listener.ora file used by the
Oracle Net Listener.
Enter the following to create a database link for the dg4msql3 gateway:
SQL> CREATE PUBLIC DATABASE LINK MSQL3 CONNECT TO
2 "user3" IDENTIFIED BY "password3" USING 'new_db3_using';
After the database links are created, you can verify the connection to the new SQL
Server databases, as in the following:
SQL> SELECT * FROM ALL_USERS@MSQL2;
SQL> SELECT * FROM ALL_USERS@MSQL3;
Part VI
Part VI
Part VI, "Installing and Configuring Oracle Database Gateway for ODBC" describes
how to install and configure Oracle Database Gateway for ODBC on Microsoft
Windows.
It contains the following chapters:
10
01
Ensure that the system meets all of the hardware and software requirements
specified in "System Requirements for Oracle Database Gateway for ODBC" on
page 10-1.
2.
Hardware Requirements
Table 101 lists the minimum hardware requirements for Oracle Database Gateway for
ODBC.
Table 101
5 GB
Physical Memory
Minimum of 1 GB
Virtual memory
Table 101 (Cont.) Hardware Requirements for Oracle Database Gateway for ODBC
Requirement
Video adapter
256 colors
Processor
Determine the physical RAM size. For a computer using Microsoft Windows 2000,
for example, open System in the control panel and select the General tab. If the
size of the physical RAM installed in the system is less than the required size, then
you must install more memory before continuing.
2.
Determine the size of the configured swap space (also known as paging file size).
For a computer using Microsoft Windows 2000, for example, open System in the
control panel, select the Advanced tab, and click Performance Options.
If necessary, then see your operating system documentation for information about
how to configure additional swap space.
3.
Determine the amount of free disk space on the system. For a computer using
Microsoft Windows 2000, for example, open My Computer, right-click the drive
where the Oracle software is to be installed, and select Properties.
4.
Determine the amount of disk space available in the temp directory. This is
equivalent to the total amount of free disk space, minus what will be needed for
the Oracle software to be installed.
If there is less than 125 MB of disk space available in the temp directory, then first
delete all unnecessary files. If the temp disk space is still less than 125 MB, then set
the TEMP or TMP environment variable to point to a different hard drive. For a
computer using Microsoft Windows 2000, for example, open the System control
panel, select the Advanced tab, and click Environment Variables.
Software Requirements
Oracle Database Gateway for ODBC is supported on the following Microsoft Windows
(64-bit) operating systems:
Certified Configurations
For the latest certified configuration refer to the OTN Web site:
http://www.oracle.com/technetwork/database/gateways/index.html
The Oracle Universal Installer: Steps for Installing Oracle Database Gateway for ODBC
Screen
Response
Click Next.
Specify a name for the installation in the Name field. You can also choose
not to edit the default setting of the Name field of the Specify Home
Details screen.
The Path field in the Specify Home Details screen is where you specify
the destination for your installation. You need not edit the path
specification in the Path field. The default setting for this field points to
ORACLE_HOME. After you set the fields in the Specify Home Details screen
as necessary, click Next to continue. After loading the necessary
information from the installation, the Oracle Universal Installer displays
the Available Products screen.
Oracle Universal Installer: Available a. Select Oracle Database Gateway for ODBC 12.1.
Product Components
b. Click Next.
Oracle Universal Installer:
Summary
Click Cancel.
Click Exit.
Exit
The final screen of the Oracle Universal Installer is the End of Installation
screen. Click Exit to exit the installer.
11
11
2.
3.
4.
5.
6.
2.
11-1
Note:
sqlserver7 is the name of the system DSN defined in the Microsoft Windows ODBC
Data Source Administrator.
The following procedure enables you to define a system DSN in the Microsoft
Windows ODBC Data Source Administrator, version 3.5:
1.
From the Start menu, choose Settings > Control Panel and select ODBC.
2.
Select the System DSN tab page to display the system data sources.
3.
Click Add.
4.
From the list of installed ODBC drivers, select the name of the driver that the data
source will use. For example, select SQL Server.
5.
Click Finish.
6.
Enter a name for the DSN and an optional description. Enter other information
depending on the ODBC driver. For example, for SQL Server enter the SQL Server
machine name.
The name entered for the DSN must match the value of the
initialization parameter HS_FDS_CONNECT_INFO that is specified in
initsid.ora.
Note:
7.
Refer to your ODBC driver documentation and follow the prompts to complete
configuration of the DSN.
8.
After creating the system DSN, click OK to exit the ODBC Data Source
Administrator.
If the ODBC driver supports Quoted Identifiers or
Delimited Identifiers it should be turned on.
Note:
2.
Stop and Start the Oracle Net Listener for the Gateway
A list of Oracle Net addresses on which the Oracle Net Listener listens
The executable name of the gateway that the Oracle Net Listener starts in response
to incoming connection requests
Where:
Variable
Description
host_name
port_number
specifies the port number used by the Oracle Net Listener. If you
have other listeners running on the same machine, then the value of
port_number must be different from the other listeners port
numbers.
To direct the Oracle Net Listener to start the gateway in response to incoming
connection requests, add an entry to the listener.ora file.
Configuring Oracle Database Gateway for ODBC
11-3
You must use the same SID value in the listener.ora file and
the tnsnames.ora file that will be configured in the next step.
Note:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4odbc)
)
)
Where:
Variable
Description
gateway_sid
specifies the SID of the gateway and matches the gateway SID
specified in the connect descriptor entry in the tnsnames.ora file.
oracle_home_
directory
dg4odbc
If you already have an existing Oracle Net Listener, then add the following syntax to
SID_LIST in the existing listener.ora file:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=.
.
)
(SID_DESC=.
.
)
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4odbc)
)
)
Stop and Start the Oracle Net Listener for the Gateway
You must stop and restart the Oracle Net Listener to initiate the new settings, as
follows:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
4.
Configuring tnsnames.ora
Edit the tnsnames.ora file to add a connect descriptor for the gateway. The following
is a syntax of the Oracle Net entry using the TCP/IP protocol:
connect_descriptor=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=host_name)
(PORT=port_number)
)
(CONNECT_DATA=
(SID=gateway_sid))
(HS=OK))
Where:
Table 111
Variable
Description
connect_descriptor
TCP
host_name
port_number
matches the port number used by the Oracle Net Listener that is
listening for the gateway. The Oracle Net Listeners port number
can be found in the listener.ora file used by the Oracle Net
Listener. See "Syntax of listener.ora File Entries" on page 11-3.
gateway_sid
specifies the SID of the gateway and matches the SID specified
in the listener.ora file of the Oracle Net Listener that is
listening for the gateway. See "Configure Oracle Net Listener for
the Gateway" on page 11-3 for more information.
(HS=OK)
11-5
This indicates that, if the listener for host_name_1 and port_number_1 is not available,
then the second listener for host_name_2 and port_number_2 will take over.
See Also: Oracle Database Administrator's Guide for information
about editing the tnsnames.ora file.
Where:
Variable
Description
dblink
tns_name_entry
After the database link is created you can verify the connection to the ODBC data
source, as follows:
SQL> SELECT * FROM DUAL@dblink;
The gateway is configured to access one ODBC data source named dsn1.
Two ODBC data sources named dsn2 and dsn3 where dsn2 and dsn3 are the
names of the system DSN defined in the Microsoft Windows ODBC Data Source
Administrator, are being added.
Change the value of the HS_FDS_CONNECT_INFO parameter in the new files as follows:
For initdg4odbc2.ora, enter the following:
Configuring Oracle Database Gateway for ODBC
11-7
HS_FDS_CONNECT_INFO=dsn2
If you have multiple gateway SIDs for the same ODBC data
source because you want to use different gateway parameter
settings at different times, follow the same procedure. You create
several initialization parameter files, each with different SIDs and
different parameter settings.
Note:
Multiple ODBC Data Sources Example: Stopping and Starting the Oracle Net Listener
Perform the following steps:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
Click Stop.
4.
Click Start.
Multiple ODBC Data Sources Example: Configuring Oracle Database for Gateway
Access
Add two connect descriptor entries to the tnsnames.ora file. You must have an entry
for each gateway instance, even if the gateway instances access the same database.
The following example shows the entry for the original installed gateway first,
followed by the two entries for the new gateway instances:
old_dsn_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4odbc))
(HS=OK))
new_dsn2_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4odbc2))
(HS=OK))
new_dsn3_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4odbc3))
(HS=OK))
The value for PORT is the TCP/IP port number of the Oracle Net Listener that is
listening for the gateway. The number can be found in the listener.ora file used by
the Oracle Net Listener. The value for HOST is the name of the machine on which the
gateway is running. The name also can be found in the listener.ora file used by the
Oracle Net Listener.
Enter the following to create a database link for the dg4odbc3 gateway:
SQL> CREATE PUBLIC DATABASE LINK ODBC3 CONNECT TO
2 "user3" IDENTIFIED BY "password3" USING new_dsn3_using;
After the database links are created, you can verify the connection to the new ODBC
data sources, as in the following:
SQL> SELECT * FROM ALL_USERS@ODBC2;
SQL> SELECT * FROM ALL_USERS@ODBC3;
11-9
Part VII
Installing and Configuring
Oracle Database Gateway for DRDA
Part VII
Part VII, "Installing and Configuring Oracle Database Gateway for DRDA" describes
how to install and configure of Oracle Database Gateway for DRDA.
It contains the following chapters:
12
21
Ensure that the system meets all of the hardware and software requirements
specified in "System Requirements for Oracle Database Gateway for DRDA" on
page 12-1.
2.
3.
Hardware Requirements
Table 121 lists the minimum hardware requirements for Oracle Database Gateway for
DRDA.
Table 121
5 GB
Physical Memory
Minimum of 1 GB
Virtual memory
Video adapter
256 colors
Table 121 (Cont.) Hardware Requirements for Oracle Database Gateway for DRDA
Requirement
Processor
Determine the physical RAM size. For a computer using Microsoft Windows 2000,
for example, open System in the control panel and select the General tab. If the
size of the physical RAM installed in the system is less than the required size, then
you must install more memory before continuing.
2.
Determine the size of the configured swap space (also known as paging file size).
For a computer using Microsoft Windows 2000, for example, open System in the
control panel, select the Advanced tab, and click Performance Options.
If necessary, then see your operating system documentation for information about
how to configure additional swap space.
3.
Determine the amount of free disk space on the system. For a computer using
Microsoft Windows 2000, for example, open My Computer, right-click the drive
where the Oracle software is to be installed, and select Properties.
4.
Determine the amount of disk space available in the temp directory. This is
equivalent to the total amount of free disk space, minus what will be needed for
the Oracle software to be installed.
If there is less than 125 MB of disk space available in the temp directory, then first
delete all unnecessary files. If the temp disk space is still less than 125 MB, then set
the TEMP or TMP environment variable to point to a different hard drive. For a
computer using Microsoft Windows 2000, for example, open the System control
panel, select the Advanced tab, and click Environment Variables.
Software Requirements
Oracle Database Gateway for DRDA is supported on the following Microsoft
Windows (64-bit) operating systems:
Certified Configurations
Oracle continually updates supported gateway configurations. For the latest
supported configuration information, visit the OTN Web site:
http://www.oracle.com/technetwork/database/gateways/index.html
Table 122
Screen
Response
Click Next.
Specify a name for the installation in the Name field. You can also choose
not to edit the default setting of the Name field of the Specify Home
Details screen.
The Path field in the Specify Home Details screen is where you specify
the destination for your installation. You need not edit the path
specification in the Path field. The default setting for this field points to
ORACLE_HOME. After you set the fields in the Specify Home Details screen
as necessary, click Next to continue. After loading the necessary
information from the installation, the Oracle Universal Installer displays
the Available Products screen.
Oracle Universal Installer: Available a. Select Oracle Database Gateway for DRDA 12.1.
Product Components
b. Click Next.
Oracle Universal Installer:
Summary
Click Cancel.
Click Exit.
Exit
The final screen of the Oracle Universal Installer is the End of Installation
screen. Click Exit to exit the installer.
13
13
This chapter describes tasks you must perform to configure the DRDA server. Each
supported operating system is addressed separately. Experience with the given
operating system and database is required.
The steps for configuring your remote DRDA server apply to the following DRDA
servers:
Configuring a DRDA database to enable access by the gateway requires actions on the
DRDA database and on certain components of the host operating system. Although no
Oracle software is installed on the host system, access to, and some knowledge of the
host system and DRDA database are required during the configuration. Refer to the
vendor documentation for complete information about your host system and DRDA
database.
This chapter contains the following sections:
"Configuring the DRDA Server for DB2 UDB for z/OS" on page 13-1
"Configuring the DRDA Server for DB2 UDB for iSeries" on page 13-3
"Configuring the DRDA Server for DB2 UDB for Linux, UNIX, and Windows" on
page 13-3
"Manual Binding of DRDA Gateway Packages" on page 13-4
GRANT COPY
ON PACKAGE oraclegtw.* TO userid
GRANT EXECUTE ON PACKAGE oraclegtw.* TO PUBLIC
Choose a user ID that will own the package and the HS_TRANSACTION_LOG table.
Ensure that this user ID is defined to both DB2 and OS/390 (MVS).
2.
3.
Configuring the DRDA Server for DB2 UDB for Linux, UNIX, and Windows
Choose a user ID now that will own the package and the HS_TRANSACTION_LOG
table. Ensure that this user ID is defined in DB2 UDB for iSeries and AS/400.
2.
3.
Determine DRDA location name for DB2 UDB for iSeries instance
The DRDA location name is required as a gateway parameter. To determine the
location name, run the following SQL query from a STRSQL session. If SQL is
unavailable on the system, then use the AS/400 command DSPRDBDIRE to identify
your LOCAL DRDA Server.
SELECT CURRENT SERVER FROM any_table
Configuring the DRDA Server for DB2 UDB for Linux, UNIX, and Windows
Experience with DB2/UDB, configuring the communication subsystem of DB2 UDB
for Linux, UNIX, and Windows, and the host System Administration tools is required
to perform the following steps.
1.
defined in the CREATE DATABASE LINK command) must have proper authority
on the DRDA Server to create the package. The followings are minimum
authorities needed by this user:
Choose a user ID that will own the package and HS_TRANSACTION_LOG table.
Ensure that this user ID is defined in both the DB2 instance ID and the operating
system.
2.
3.
Determine DRDA location name for DB2 UDB for Linux, UNIX, and Windows
instance
The DRDA location name is required as a gateway parameter. To determine the
location name, run the following SQL query from a DB2 CLI session:
SELECT CURRENT SERVER FROM any_table
gateway initialization parameters to set values otherwise, the gateway will attempt to
rebind the package automatically.
This section contains the following sub-sections:
Manually Binding of Packages for DB2 UDB for Linux, Unix, and Windows
2.
3.
FTP the following file to the previously allocated sequential dataset in BINARY
mode:
ORACLE_HOME\dg4db2\admin\dg4db2_zos_dbrm.xmit
FTP the following file to the previously allocated PDS in ASCII mode:
ORACLE_HOME\dg4db2\admin\dg4db2_zos_bind.jcl
Use the PUT command to place the file into the PDS as member name BIND.
5.
Use the TSO command option of ISPF (option 6) to issue the RECEIVE command:
RECEIVE INDS('userid.DBRMFILE.XMIT')
To use these packages with the gateway, please set the following init parameters in the
gateway initialization file:
HS_OPEN_CURSORS=200
HS_FDS_PACKAGE_COLLID=NULLID
Manually Binding of Packages for DB2 UDB for Linux, Unix, and Windows
Perform the following steps to manually bind packages for DB2 UDB for Linux, Unix,
and Windows:
1.
Copy the following files to the host running the DB2 instance from the ORACLE_
HOME\dg4db2\admin directoy:
DDOC510A.bnd
DDOC510B.bnd
DDOC510C.bnd
DDON510A.bnd
DDON510B.bnd
DDON510C.bnd
DDOR510A.bnd
DDOR510B.bnd
DDOR510C.bnd
DDOS510A.bnd
DDOS510B.bnd
DDOS510C.bnd
DDOU510A.bnd
DDOU510B.bnd
DDOU510C.bnd
dg4db2_luw_pkglist.lst
If copying via FTP, then files ending in .bnd should be transfered in BINARY
mode and files ending in .lst should be transfered in ASCII mode.
2.
Connect to the DB2 instance and issue the bind command. For example,
db2 'connect to <database_name> user <userid> using <password>'
db2 'bind @dg4db2_luw_pkglist.lst grant public'
To use these packages with the gateway, set the following initialization parameters in
the gateway initialization file:
HS_OPEN_CURSORS=200
HS_FDS_PACKAGE_COLLID=NULLID
14
41
2.
3.
4.
5.
6.
7.
SQL scripts are provided to perform steps such as creating the HS_TRANSACTION_LOG
table, removing obsolete tables and views, and creating tables and views to provide
data dictionary support.
These scripts must be run on the DRDA Server platform using a database native tool
(such as SPUFI on DB2 UDB for Linux, UNIX, and Windows), because no tool is
provided with the gateway to execute these scripts. Note that when running these
scripts, the user ID used must be suitably authorized.
SQL scripts are located in the dg4db2/admin directory. Appropriate platform scripts are
designated by having the DB2 platform identifiers (eg: "zos", "as400" and "luw") and
version specific numbers (eg: vw7, vw8) in their file names.
2.
parameter settings, and other times with different gateway parameter settings, you can
do that by having multiple gateway SIDs for the single DRDA database. The SID is
used as part of the file name for the initialization parameter file.
2.
Stop and Start the Oracle Net Listener for the Gateway
A list of Oracle Net addresses on which the Oracle Net Listener listens
The executable name of the gateway that the Oracle Net Listener starts in response
to incoming connection requests
Where:
Variable
Description
host_name
Variable
Description
port_number
To direct the Oracle Net Listener to start the gateway in response to incoming
connection requests, add an entry to the listener.ora file.
You must use the same SID value in the listener.ora file
and as the tnsnames.ora file which will be configured in the next
step.
Note:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4db2)
)
)
Where:
Variable
Description
gateway_sid
oracle_home_
directory
dg4db2
If you are already running a Oracle Net Listener that listens on multiple database SIDs,
add only the following syntax to SID_LIST in the existing listener.ora file:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=.
.
)
(SID_DESC=.
.
)
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4db2)
)
)
Stop and Start the Oracle Net Listener for the Gateway
You must stop and restart the Oracle Net Listener to initiate the new settings, as
follows:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
4.
If connecting to DB2 UDB for Linux, UNIX, and Windows, then run
ORACLE_HOME\dg4db2\admin\dg4db2_luw_drop.sql
2.
If connecting to DB2 UDB for Linux, UNIX, and Windows, then run
ORACLE_HOME\dg4db2\admin\dg4db2_luw_tab.sql
3.
If connecting to DB2 UDB for Linux, UNIX, and Windows, then run
For DB2 UDB for Linux, UNIX, and Windows V7:
ORACLE_HOME\dg4db2\admin\dg4db2_luw_vw7.sql
Configuring tnsnames.ora
Edit the tnsnames.ora file to add a connect descriptor for the gateway. The following
is a syntax of the Oracle Net entry using the TCP/IP protocol.
connect_descriptor=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=host_name)
(PORT=port_number)
)
(CONNECT_DATA=
(SID=gateway_sid))
(HS=OK))
Where:
Table 141
Variable
Description
connect_descriptor
TCP
host_name
port_number
matches the port number used by the Oracle Net Listener that is
listening for the gateway. The Oracle Net Listeners port number
can be found in the listener.ora file used by the Oracle Net
Listener. See "Syntax of listener.ora File Entries" on page 14-2.
gateway_sid
specifies the SID of the gateway and matches the SID specified
in the listener.ora file of the Oracle Net Listener that is
listening for the gateway. See "Configure Oracle Net Listener for
the Gateway" on page 14-2 for more information.
(HS=OK)
(HS=OK))
This indicates that, if the listener for host_name_1 and port_number_1 is not available,
then the second listener for host_name_2 and port_number_2 will take over.
See Also: Oracle Database Administrator's Guide for information
about editing the tnsnames.ora file.
Where:
Variable
Description
dblink
tns_name_entry
After the database link is created you can verify the connection to the DRDA database,
as follows:
SQL> SELECT * FROM DUAL@dblink;
Two DRDA databases named db2 and db3 on a host with IP Address 204.179.79.15
are being added.
Note: If you have multiple gateway SIDs for the same DRDA
database because you want to use different gateway parameter
settings at different times, follow the same procedure. You create
several initialization parameter files, each with different SIDs and
different parameter settings.
Multiple DRDA Databases Example: Stopping and Starting the Oracle Net Listener
Perform the following steps:
1.
From the Start menu, select Settings, Control Panel and then select Services.
2.
3.
Click Stop.
4.
Click Start.
Multiple DRDA Databases Example: Configuring Oracle Database for Gateway Access
Add two connect descriptor entries to the tnsnames.ora file. You must have an entry
for each gateway instance, even if the gateway instances access the same database.
This example describes how to configure Oracle Net on the Oracle database for
multiple gateway instances. It shows the entry for the original installed gateway first,
followed by the two entries for the new gateway instances:
old_db_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4db2))
(HS=OK))
new_db2_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4db22))
(HS=OK))
new_db3_using=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(PORT=port_number)
(HOST=host_name))
(CONNECT_DATA=
(SID=dg4db23))
(HS=OK))
The value for PORT is the TCP/IP port number of the Oracle Net Listener that is
listening for the gateway. The number can be found in the listener.ora file used by
the Oracle Net Listener. The value for HOST is the name of the machine on which the
gateway is running. The name also can be found in the listener.ora file used by the
Oracle Net Listener.
Enter the following to create a database link for the dg4db23 gateway:
SQL> CREATE PUBLIC DATABASE LINK DRDA3 CONNECT TO
2 "user3" IDENTIFIED BY "password3" USING new_db3_using;
After the database links are created, you can verify the connection to the new DRDA
databases, as in the following:
SQL> SELECT * FROM ALL_USERS@DRDA2;
SQL> SELECT * FROM ALL_USERS@DRDA3;
15
15
Security Considerations
The gateway architecture involves multiple computer setups that have distinct
security capabilities and limitations. This chapter provides information for planning
and implementing your security system.
It contains the following sections:
Security Overview
Security Overview
When you connect several different systems, generally the system with the strictest
security requirements dictates and rules the system.
Gateway security involves two groups:
Users and applications that are permitted access to a given gateway instance and
DRDA database server
Server database objects that users and applications are able to query and update
You can control access in the gateway architecture at several points. Each DRDA
database server with GRANTs and related native authorization mechanisms based on
user ID provides control over database object access.
When the gateway is involved in a SQL request, security mechanisms are in effect for
each DRDA system component encountered by the gateway. The first system
component encountered is the application tool or 3GL program. The last system
component encountered is the DRDA database.
For more information about authenticating application logons, refer to the Oracle
Database Reference.
Link Accessibility
The database link should be accessible to a given user. Any user ID can use a public
database link. Only the user who created it can use a private database link. The server
makes no distinction regarding the type of use (such as read-only versus update or
write) or accessibility of remote objects. The DRDA database, which is accessed, is
responsible for these distinctions.
User ID Mapping
The most useful DRDA Server security capability is user ID mapping. User ID
mapping refers to changing the user ID associated with an incoming DRDA request to
some other user ID known to that server. This is a useful feature if your Oracle
Database Gateway installation does not have a uniform user ID structure across all
systems and databases.
SYSIBM.IPNAMES table
The SYSIBM.IPNAMES table controls inbound security conducted for TCP/IP based
sessions, affecting all DRDA connections from a particular host system. This table
also controls whether inbound connection user IDs are subject to translation or
mapping.
SYSIBM.SYSUSERNAMES table
When translation is used, rows in the SYSIBM.SYSUSERNAMES table specify
translated user IDs by IP name and inbound user ID. Default entries that pertain
to all IPs and to all inbound user IDs can be made in both tables. The mapping
table can also be used simply to indicate which inbound user IDs are permitted
from a particular IP or from all IPs, whether or not they are mapped.
This implementation provides a flexible mapping structure. You can specify that all
connections from a particular IP use a single DB2 user ID, or that a particular inbound
user ID always be mapped to a particular DB2 user ID regardless of origin. A
SYSUSERNAMES entry with blank IP name and inbound user ID can designate a single
default DB2 user ID for all connections unless a more specific entry, by IP name,
user ID, or both, exists.
A user with update privilege can update the CDB tables using a SQL tool such as the
DB2 SPUFI utility. For example, most database administrators, systems programmers,
and security officers can update CDB tables. The DB2 DDF component must be
stopped and restarted for CDB changes to take effect.
The DB2 non-DRDA-specific security features are also involved in DRDA connections.
User IDs are subject to normal DB2 or SAF/RACF validation in addition to connection
or sign-on exit processing. Passwords are also subject to validation. After the
connection is established, all normal authorizations or GRANTs associated with the
user ID are in effect. The user ID must have execute privilege on the gateway DRDA
package to process any SQL statements.
The user ID must have execute authority on the gateway DRDA package to execute
any SQL statements.
16
16
This chapter describes how to migrate to new instances of Oracle Database Gateway
for DRDA from an existing installation. Perform the following steps to migrate to a
new release of Oracle Database Gateway for DRDA from an existing release:
1.
2.
3.
4.
5.
Changed Parameters
The use of DRDA_CONNECT_PARM has changed in this version. Refer to Appendix C,
"Initialization Parameters" for the syntax of the parameter.
Migration From Previous Releases
16-1
Obsolete Parameters
The following parameters are obsolete for the 11g version. Remove them from your
configuration files:
MODE
SERVER_PATH
DRDA_OVERRIDE_FROM_CODEPAGE
DRDA_OVERRIDE_TO_CODEPAGE
ERROR_LOGGING
ERROR_REPORTING
ERRORTAG
GATEWAY_SID
GROUP_BY_OFF
GTWDEBUG
INCREMENT_CURSORS
DRDA_CALLDESC_STMT
DRDA_CALLDESC_PROC
DRDA_DISABLE_CALL
DRDA_ISOLATION_LEVEL
DRDA_PACKAGE_COLLID
DRDA_PACKAGE_CONSTOKEN
DRDA_PACKAGE_NAME
DRDA_PACKAGE_OWNER
DRDA_PACKAGE_SECTIONS
Part VIII
Removing Oracle
Database Gateway
Part VIII
Part VIII, "Removing Oracle Database Gateway" describes how to remove Oracle
Database Gateways.
It contains the following chapter:
17
Removing Oracle Database Gateway
71
This chapter describes how to remove Oracle Database Gateway from an Oracle home
directory. It contains information about the following topics:
-silent
Use this flag to run the command in noninteractive mode. This option requires a
properties file that contains the configuration values for the Oracle home that is
being deinstalled or deconfigured.
To create a properties file and provide the required parameters, see the template
file deinstall.rsp.tmpl, located in the response folder. If you prefer, instead of
using the template file, you can generate a properties file by using the -checkonly
option to have deconfig discover information from the Oracle home that you want
to deinstall and deconfigure. The tool will generate the properties file, which you
can then use with the -silent option.
-checkonly
Use this flag to check the status of the Oracle software home configuration.
Running the command with the -checkonly flag does not remove the Oracle
configuration.
-local
Use this flag on a multinode environment to deconfigure Oracle software in a
cluster.
When you run deconfig with this flag, it deconfigures and deinstalls the Oracle
software on the local node (the node where deconfig is run). On remote nodes, it
deconfigures Oracle software, but does not deinstall the Oracle software.
-help | -h
Use the help option (-help or -h) to obtain additional information about the
optional flags
2.
Run the deinstall command, providing information about the Oracle System
Identifier (SID), when prompted.
Part IX
Part IX
Appendixes
A
A
Introduction
Introduction
Typically, Oracle Universal Installer runs in interactive mode, which means that it
prompts you to provide information in graphical user interface (GUI) screens.
Alternatively, you can run Oracle Universal Installer in noninteractive mode.
Noninteractive mode is also referred to as silent mode, or silent installation.
You may want to use noninteractive mode to install Oracle Database Gateway on
Microsoft Windows (64-bit) in the following scenarios:
This section covers the following topics on how you can use response files to run
Oracle Universal Installer in noninteractive mode:
A-1
See Also: Oracle Universal Installer and OPatch User's Guide for
Windows and UNIX for more information about response file formats
Note:
Copy the necessary response files from the \Response directory on the installation
media to your hard drive.
2.
From the Start menu, select Programs, then Oracle - HOME_NAME, then Oracle
Installation Products, then Universal Installer Concepts Guide.
Oracle Universal Installer and OPatch User's Guide for Windows and UNIX appears in
HTML format.
3.
Modify the response files with any text file editor by following the instructions in
both the response files and Oracle Universal Installer and OPatch User's Guide for
Windows and UNIX.
4.
Run the response file by following the instructions in the "Running Oracle
Universal Installer and Specifying a Response File" section on page A-3.
Note:
Make sure that the computer on which you are creating the response file has met
the requirements described in respective gateway installation chapters.
2.
At the command prompt, use the cd command to change to the directory that
contains the Oracle Universal Installer setup.exe executable.
On the installation media, setup.exe is located on Disk 1. If you want to run
Oracle Universal Installer from an existing gateway installation, then you can find
setup.exe in ORACLE_BASE\ORACLE_HOME\oui\bin.
3.
Replace response_file_name with the complete path for the new response file. For
example:
setup -record -destinationFile C:\response_files\install_oracle11g
4.
After Oracle Universal Installer launches, enter the installation settings, which will
be recorded into the response file.
5.
Later, Oracle Universal Installer will save your new response file using the path
and file name you specified on the command line.
6.
If necessary, make any environment-specific changes to the response file for the
computer on which you will run it.
7.
Run the response file by following the instructions in the "Running Oracle
Universal Installer and Specifying a Response File" section.
2.
3.
From the command line, run Oracle Universal Installer with the correct response
file. For example:
C:\ORACLE_BASE\ORACLE_HOME\oui\bin> setup.exe [-silent] [-nowelcome]
[-nowait] -responseFile filename
Where...
Description
filename
-silent
-nowelcome
nowait
A-3
B
B
Verifying Requirements
Verifying Requirements
Before you try any of the troubleshooting steps in this appendix, do the following:
For example, if the installation occurred at 9:00:56 A.M. on May 14, 2009, then the log
file would be named:
installActions2009-05-14_09-00-56-am.log
Review the installation log files listed in the "Reviewing the Log of an Installation
Session" section on page B-2.
Review the specific configuration assistant log file located in the
ORACLE_
BASE\ORACLE_HOME\cfgtoollogs directory. Try to fix the issue that caused the
error.
If you see the Fatal Error. Reinstall message, then look for the cause of the
problem by reviewing the log files. Refer to the "Fatal Errors" section on page B-2
for further instructions.
Result Code
-1
Fatal Errors
If you receive a fatal error while a configuration assistant is running then:
1.
2.
3.
Oracle Universal Installer or a configuration assistant validates the response file at run
time. If the validation fails, then the noninteractive installation or configuration
process ends. Oracle Universal Installer treats values for parameters that are of the
wrong context, format, or type as if no value was specified in the file.
C
C
Initialization Parameters
The Oracle database initialization parameters in the init.ora file are distinct from
gateway initialization parameters. Set the gateway parameters in the initialization
parameter file using an agent-specific mechanism, or set them in the Oracle data
dictionary using the DBMS_HS package. The gateway initialization parameter file must
be available when the gateway is started. Changes made to the initialization
parameters only take effect in the next gateway session.
This appendix contains a list of the gateway initialization parameters that can be set
for each gateway and their description. It also describes the initialization parameter
file syntax. It includes the following sections:
2.
3.
4.
If there is a syntax error in an initialization parameter file, none of the settings take
effect.
5.
Where:
Initialization Parameters
C-1
A string of characters that does not contain any backslashes, white space or
double quotation marks (")
b.
A quoted string beginning with a double quotation mark and ending with a
double quotation mark. The following can be used inside a quoted string:
*
\t inserts a tab
\\ inserts a backslash
A backslash at the end of the line continues the string on the next line. If a
backslash precedes any other character then the backslash is ignored.
For example, to enable tracing for an agent, set the HS_FDS_TRACE_LEVEL
initialization parameter as follows:
HS_FDS_TRACE_LEVEL=ON
SET and PRIVATE are optional keywords. You cannot use either as an initialization
parameter name. Most parameters are needed only as initialization parameters, so
you usually do not need to use the SET or PRIVATE keywords. If you do not specify
either SET or PRIVATE, the parameter is used only as an initialization parameter for
the agent.
SET specifies that, in addition to being used as an initialization parameter, the
parameter value is set as an environment variable for the agent process. Use SET
for parameter values that the drivers or non-Oracle system need as environment
variables.
PRIVATE specifies that the initialization parameter should be private to the agent
and should not be uploaded to the Oracle database. Most initialization parameters
should not be private. If, however, you are storing sensitive information like a
password in the initialization parameter file, then you may not want it uploaded
to the server because the initialization parameters and values are not encrypted
when uploaded. Making the initialization parameters private prevents the upload
from happening and they do not appear in dynamic performance views. Use
PRIVATE for the initialization parameters only if the parameter value includes
sensitive information such as a user name or password.
SET PRIVATE specifies that the parameter value is set as an environment variable
for the agent process and is also private (not transferred to the Oracle database,
not appearing in dynamic performance views or graphical user interfaces).
HS_CALL_NAME
HS_DB_DOMAIN
HS_DB_INTERNAL_NAME
HS_DB_NAME
HS_DESCRIBE_CACHE_HWM
HS_LANGUAGE
HS_LONG_PIECE_TRANSFER_SIZE
HS_OPEN_CURSORS
HS_RPC_FETCH_REBLOCKING
HS_RPC_FETCH_SIZE
HS_TIME_ZONE
HS_TRANSACTION_MODEL
IFILE
HS_FDS_TIMESTAMP_MAPPING
HS_FDS_DATE_MAPPING
HS_FDS_ARRAY_EXEC
HS_FDS_CONNECT_INFO
HS_FDS_PROC_IS_FUNC
HS_FDS_RECOVERY_ACCOUNT
HS_FDS_RECOVERY_PWD
HS_FDS_RESULTSET_SUPPORT
HS_FDS_TRACE_LEVEL
HS_FDS_TRANSACTION_LOG
HS_FDS_FETCH_ROWS
HS_FDS_QUOTE_IDENTIFIER
HS_IDLE_TIMEOUT
HS_NLS_LENGTH_SEMANTICS
HS_KEEP_REMOTE_COLUMN_SIZE
HS_FDS_REMOTE_DB_CHARSET
HS_FDS_SUPPORT_STATISTICS
HS_FDS_RSET_RETURN_ROWCOUNT
HS_FDS_SQLLEN_INTERPRETATION
HS_FDS_REPORT_REAL_AS_DOUBLE
HS_DB_DOMAIN
Initialization Parameters
C-3
HS_DB_INTERNAL_NAME
HS_DB_NAME
HS_DESCRIBE_CACHE_HWM
HS_LANGUAGE
HS_LONG_PIECE_TRANSFER_SIZE
HS_OPEN_CURSORS
HS_RPC_FETCH_REBLOCKING
HS_RPC_FETCH_SIZE
HS_TIME_ZONE
HS_TRANSACTION_MODEL
IFILE
HS_FDS_TIMESTAMP_MAPPING
HS_FDS_DATE_MAPPING
HS_FDS_ARRAY_EXEC
HS_FDS_CONNECT_INFO
HS_FDS_RECOVERY_ACCOUNT
HS_FDS_RECOVERY_PWD
HS_FDS_TRACE_LEVEL
HS_FDS_TRANSACTION_LOG
HS_FDS_FETCH_ROWS
HS_IDLE_TIMEOUT
HS_NLS_LENGTH_SEMANTICS
HS_KEEP_REMOTE_COLUMN_SIZE
HS_FDS_REMOTE_DB_CHARSET
HS_FDS_SUPPORT_STATISTICS
HS_FDS_SQLLEN_INTERPRETATION
HS_DB_DOMAIN
HS_DB_INTERNAL_NAME
HS_DB_NAME
HS_DESCRIBE_CACHE_HWM
HS_LANGUAGE
HS_LONG_PIECE_TRANSFER_SIZE
HS_OPEN_CURSORS
HS_RPC_FETCH_REBLOCKING
HS_RPC_FETCH_SIZE
HS_TIME_ZONE
HS_TRANSACTION_MODEL
IFILE
HS_FDS_TIMESTAMP_MAPPING
HS_FDS_DATE_MAPPING
HS_FDS_ARRAY_EXEC
HS_FDS_CONNECT_INFO
HS_FDS_RECOVERY_ACCOUNT
HS_FDS_RECOVERY_PWD
HS_FDS_TRACE_LEVEL
HS_FDS_TRANSACTION_LOG
HS_FDS_FETCH_ROWS
HS_IDLE_TIMEOUT
HS_NLS_LENGTH_SEMANTICS
HS_KEEP_REMOTE_COLUMN_SIZE
HS_FDS_REMOTE_DB_CHARSET
HS_FDS_SUPPORT_STATISTICS
HS_CALL_NAME
HS_DB_DOMAIN
HS_DB_INTERNAL_NAME
HS_DB_NAME
HS_DESCRIBE_CACHE_HWM
HS_LANGUAGE
HS_LONG_PIECE_TRANSFER_SIZE
HS_OPEN_CURSORS
HS_RPC_FETCH_REBLOCKING
HS_RPC_FETCH_SIZE
HS_TIME_ZONE
HS_TRANSACTION_MODEL
IFILE
HS_FDS_CONNECT_INFO
Initialization Parameters
C-5
HS_FDS_PROC_IS_FUNC
HS_FDS_RECOVERY_ACCOUNT
HS_FDS_RECOVERY_PWD
HS_FDS_REPORT_REAL_AS_DOUBLE
HS_FDS_RESULTSET_SUPPORT
HS_FDS_TRACE_LEVEL
HS_FDS_TRANSACTION_LOG
HS_FDS_FETCH_ROWS
HS_FDS_TIMESTAMP_MAPPING
HS_FDS_DATE_MAPPING
HS_FDS_ARRAY_EXEC
HS_IDLE_TIMEOUT
HS_NLS_LENGTH_SEMANTICS
HS_KEEP_REMOTE_COLUMN_SIZE
HS_FDS_REMOTE_DB_CHARSET
HS_FDS_SUPPORT_STATISTICS
HS_FDS_RSET_RETURN_ROWCOUNT
HS_FDS_SQLLEN_INTERPRETATION
HS_DB_DOMAIN
HS_DB_INTERNAL_NAME
HS_DB_NAME
HS_DESCRIBE_CACHE_HWM
HS_LANGUAGE
HS_LONG_PIECE_TRANSFER_SIZE
HS_OPEN_CURSORS
HS_RPC_FETCH_REBLOCKING
HS_RPC_FETCH_SIZE
HS_FDS_SHAREABLE_NAME
HS_TIME_ZONE
IFILE
HS_FDS_TIMESTAMP_MAPPING
HS_FDS_DATE_MAPPING
HS_FDS_ARRAY_EXEC
HS_FDS_CONNECT_INFO
HS_FDS_TRACE_LEVEL
HS_TRANSACTION_MODEL
HS_FDS_FETCH_ROWS
HS_FDS_REMOTE_DB_CHARSET
HS_FDS_SQLLEN_INTERPRETATION
HS_FDS_REPORT_REAL_AS_DOUBLE
HS_CALL_NAME
HS_DB_DOMAIN
HS_DB_INTERNAL_NAME
HS_DB_NAME
HS_DESCRIBE_CACHE_HWM
HS_LANGUAGE
HS_LONG_PIECE_TRANSFER_SIZE
HS_OPEN_CURSORS
HS_RPC_FETCH_REBLOCKING
HS_RPC_FETCH_SIZE
HS_TRANSACTION_MODEL
HS_FDS_FETCH_ROWS
IFILE
HS_FDS_CONNECT_INFO
HS_FDS_TRACE_LEVEL
HS_FDS_TRANSACTION_LOG
HS_IDLE_TIMEOUT
HS_FDS_MBCS_TO_GRAPHIC
HS_FDS_GRAPHIC_TO_MBCS
HS_FDS_TIMESTAMP_MAPPING
HS_FDS_DATE_MAPPING
HS_FDS_ARRAY_EXEC
HS_FDS_QUOTE_IDENTIFIER
HS_FDS_ISOLATION_LEVEL
HS_FDS_PACKAGE_COLLID
HS_FDS_RECOVERY_ACCOUNT
Initialization Parameters
C-7
HS_FDS_RECOVERY_PWD
HS_NLS_LENGTH_SEMANTICS
HS_KEEP_REMOTE_COLUMN_SIZE
HS_FDS_RESULTSET_SUPPORT
HS_FDS_REMOTE_DB_CHARSET
HS_FDS_SUPPORT_STATISTICS
HS_FDS_RSET_RETURN_ROWCOUNT
HS_FDS_AUTHENTICATE_METHOD
HS_FDS_ENCRYPT_SESSION
HS_FDS_TRUSTSTORE_FILE
HS_FDS_TRUSTSTORE_PASSWORD
HS_FDS_SQLLEN_INTERPRETATION
HS_CALL_NAME
Property
Description
Default value
None
Range of values
Not applicable
Specifies the remote functions that can be referenced in SQL statements. The value is a
list of remote functions and their owners, separated by semicolons, in the following
format:
owner_name.function_name
For example:
owner1.A1;owner2.A2;owner3.A3
If an owner name is not specified for a remote function, the default owner name
becomes the user name used to connect to the remote database (specified when the
Heterogeneous Services database link is created or taken from user session if not
specified in the DB link).
The entries for the owner names and the function names are case-sensitive.
HS_DB_DOMAIN
Property
Description
Default value
WORLD
Range of values
1 to 199 characters
Note:
HS_DB_INTERNAL_NAME
Property
Description
Default value
01010101
Range of values
1 to 16 hexadecimal characters
HS_DB_NAME
Property
Description
Default value
HO
Range of values
1 to 8 characters
Specifies a unique alphanumeric name for the data store given to the non-Oracle
system. This name identifies the non-Oracle system within the cooperative server
environment. The HS_DB_NAME and HS_DB_DOMAIN initialization parameters define the
global name of the non-Oracle system.
HS_DESCRIBE_CACHE_HWM
Property
Description
Default value
100
Range of values
1 to 4000
Initialization Parameters
C-9
HS_LANGUAGE
Property
Description
Default value
System-specific
Range of values
Note:
Character Sets
Ideally, the character sets of the Oracle database and the non-Oracle data source are
the same. In almost all cases, HS_LANGUAGE should be set exactly the same as Oracle
database character set for optimal character set mapping and performance. If they are
not the same, Heterogeneous Services attempts to translate the character set of the
non-Oracle data source to the Oracle database character set, and back again. The
translation can degrade performance. In some cases, Heterogeneous Services cannot
translate a character from one character set to another.
The specified character set must be a superset of the
operating system character set on the platform where the agent is
installed.
Note:
Language
The language component of the HS_LANGUAGE initialization parameter determines:
Note that Oracle does not determine the language for error messages for the generic
Heterogeneous Services messages (ORA-25000 through ORA-28000). These are
controlled by the session settings in the Oracle database.
Territory
The territory clause specifies the conventions for day and week numbering, default
date format, decimal character and group separator, and ISO and local currency
symbols. Note that the level of globalization support between the Oracle database and
the non-Oracle data source depends on how the gateway is implemented.
HS_LONG_PIECE_TRANSFER_SIZE
Property
Description
Default value
64 KB
Range of values
Any value up to 2 GB
Sets the size of the piece of LONG data being transferred. A smaller piece size means less
memory requirement, but more round-trips to fetch all the data. A larger piece size
means fewer round-trips, but more of a memory requirement to store the intermediate
pieces internally. Thus, the initialization parameter can be used to tune a system for
the best performance, with the best trade-off between round-trips and memory
requirements, and network latency or response time.
HS_OPEN_CURSORS
Property
Description
Default value
50
Range of values
Defines the maximum number of cursors that can be open on one connection to a
non-Oracle system instance.
The value never exceeds the number of open cursors in the Oracle database. Therefore,
setting the same value as the OPEN_CURSORS initialization parameter in the Oracle
database is recommended.
HS_RPC_FETCH_REBLOCKING
Property
Description
Default value
ON
Range of values
OFF or ON
OFF disables reblocking of fetched data so that data is immediately sent from agent
to server.
ON enables reblocking, which means that data fetched from the non-Oracle system
is buffered in the agent and is not sent to the Oracle database until the amount of
fetched data is equal to or higher than the value of HS_RPC_FETCH_SIZE
initialization parameter. However, any buffered data is returned immediately
when a fetch indicates that no more data exists or when the non-Oracle system
reports an error.
Initialization Parameters
C-11
HS_RPC_FETCH_SIZE
Property
Description
Default value
50000
Range of values
1 to 10000000
Tunes internal data buffering to optimize the data transfer rate between the server and
the agent process.
Increasing the value can reduce the number of network round-trips needed to transfer
a given amount of data, but also tends to increase data bandwidth and to reduce
latency as measured between issuing a query and completion of all fetches for the
query. Nevertheless, increasing the fetch size can increase latency for the initial fetch
results of a query, because the first fetch results are not transmitted until additional
data is available.
HS_FDS_SHAREABLE_NAME
Property
Description
Default Value
None
Range of Values
Not applicable
Where:
odbc_installation_path is the path where the ODBC driver is installed.
HS_TIME_ZONE
Property
Description
Specifies the default local time zone displacement for the current SQL session. The
format mask, [+|-]hh:mm, is specified to indicate the hours and minutes before or
after UTC (Coordinated Universal Timeformerly Greenwich Mean Time). For
example:
HS_TIME_ZONE = [+ | -] hh:mm
HS_TRANSACTION_MODEL
Property
Description
Default Value
COMMIT_CONFIRM
Range of Values
Specifies the type of transaction model that is used when the non-Oracle database is
updated by a transaction.
The following values are possible:
COMMIT_CONFIRM provides read and write access to the non-Oracle database and
allows the gateway to be part of a distributed update. To use the commit-confirm
model, the following items must be created in the non-Oracle database:
IFILE
Property
Description
Default value
None
Range of values
Use the IFILE initialization parameter to embed another initialization file within the
current initialization file. The value should be an absolute path and should not contain
environment variables. The three levels of nesting limit do not apply.
See Also:
Initialization Parameters
C-13
HS_FDS_CONNECT_INFO
Property
Description
Default Value
None
Range of Values
Not applicable
where, host_name is the host name or IP address of the machine hosting the Sybase
database, port_number is the port number of the Sybase database server, and
database_name is the Sybase database name.
For Oracle Database Gateway for Informix:
HS_FDS_CONNECT_INFO=host_name:port_number/server_name/database_name
where, host_name is the host name or IP address of the machine hosting the Informix
database, port_number is the port number of the Informix database server, server_
name is the name of the server machine for the Informix data, and database_name is the
Informix database name.
For Oracle Database Gateway for Teradata:
HS_FDS_CONNECT_INFO=host_alias:port_number[/database_name]
where, host_alias is the host alias name or IP address of the machine hosting the
Teradata database, port_number is the port number of the Teradata database server,
and database_name is the Teradata database name. The database_name variable is
optional.
For Oracle Database Gateway for SQL Server:
HS_FDS_CONNECT_INFO= host_name/[instance_name][/database_name]
where, host_name is the host name or IP address of the machine hosting the SQL
Server database, instance_name is the instance of SQL Server running on the machine,
and database_name is the SQL Server database name. Both instance_name and
database_name are optional. If instance_name is omitted and database_name is
provided, the slash (/) is required. This can be shown as follows:
HS_FDS_CONNECT_INFO= host_name//database_name
where dsn_value is the name of the system DSN defined in the Microsoft Windows
ODBC Data Source Administrator.
C-14 Oracle Database Gateway Installation and Configuration Guide
For example,
HS_FDS_CONNECT_INFO=[2001:0db8:20C:F1FF:FEC6:38AF]:1300/DB2M,ZOS
HS_FDS_PROC_IS_FUNC
Property
Description
Default Value
FALSE
Range of Values
TRUE, FALSE
Enables return values from functions. By default, all stored procedures and functions
do not return a return value to the user.
If you set this initialization parameter, you must change the
syntax of the procedure execute statement for all existing stored
procedures to handle return values.
Note:
HS_FDS_RECOVERY_ACCOUNT
Property
Description
Default Value
RECOVER.
Range of values
Specifies the name of the recovery account used for the commit-confirm transaction
model. An account with user name and password must be set up at the non-Oracle
system. For more information about the commit-confirm model, see the HS_
TRANSACTION_MODEL parameter.
For DRDA, HS_FDS_RECOVERY_ACCOUNT specifies the user ID that is used by the
gateway if a distributed transaction becomes in doubt. This user ID must have execute
privileges on the package and must be defined to the IBM database.
If a distributed transaction becomes in doubt, then the Oracle database determines the
status of the transaction by connecting to the IBM database, using the HS_FDS_
RECOVERY_ACCOUNT. If this parameter is missing, then the gateway attempts to connect
to a user ID of RECOVER.
Initialization Parameters
C-15
HS_FDS_RECOVERY_PWD
Property
Description
Default Value
none
Range of values
Specifies the password of the recovery account used for the commit-confirm
transaction model set up at the non-Oracle system. For more information about the
commit-confirm model, see the HS_TRANSACTION_MODEL parameter.
HS_FDS_RECOVERY_PWD is used with the HS_FDS_RECOVERY_ACCOUNT. The recovery user
connects to the non-Oracle database if a distributed transaction is in doubt.
The name of the password of the recovery account is case-sensitive.
HS_FDS_RESULTSET_SUPPORT
Property
Description
Default Value
FALSE
Range of Values
TRUE, FALSE
Enables result sets to be returned from stored procedures. By default, all stored
procedures do not return a result set to the user.
If you set this initialization parameter, you must do the
following:
Note:
HS_FDS_TRACE_LEVEL
Property
Description
Default Value
OFF
Range of values
HS_FDS_TRANSACTION_LOG
Property
Description
Default Value
HS_TRANSACTION_LOG
Range of Values
Specifies the name of the table created in the non-Oracle system for logging
transactions. For more information about the transaction model, see the HS_
TRANSACTION_MODEL parameter.
HS_FDS_REPORT_REAL_AS_DOUBLE
Property
Description
Default Value
FALSE
Range of Values
TRUE, FALSE
Enables Oracle Database Gateway for SQL Server, Oracle Database Gateway for
ODBC, and Oracle Database Gateway for Sybase treat SINGLE FLOAT PRECISION fields
as DOUBLE FLOAT PRECISION fields.
HS_FDS_FETCH_ROWS
Property
Description
Default Value
100
Range of Values
Syntax
HS_FDS_FETCH_ROWS=num
HS_FDS_FETCH_ROWS specifies the fetch array size. This is the number of rows to be
fetched from the non-Oracle database and to return to Oracle database at one time.
This parameter will be affected by the HS_RPC_FETCH_SIZE and HS_RPC_FETCH_
REBLOCKING parameters.
HS_FDS_CAPABILITY
Property
Description
Default Value
None
Range of Values
Syntax
HS_FDS_CAPABILITY= {FUNCTION/{ON|OFF|SKIP}},...
If the HS_FDS_CAPABILITY is set to ON then the specified function will be sent to DB2 for
processing. In other words, post processing will be not needed for that function.
If the HS_FDS_CAPABILITY is set to OFF then the specified function will be not be sent to
DB2 for processing. In other words, it will be post processed.
Initialization Parameters
C-17
If the HS_FDS_CAPABILITY is set to SKIP then the specified function will be stripped
from the SQL statement sent to DB2. In other words the function will be ignored.
HS_FDS_ISOLATION_LEVEL
Property
Description
Default Value
CHG for DB2 UDB for iSeries, CS for DB2 UDB for z/OS,
DB2/UDB
Range of Values
{CHG|CS|RR|ALL|NC}
Syntax
HS_FDS_ISOLATION_LEVEL={CHG|CS|RR|ALL|NC}
Level
Description
CHG
CS
Cursor Stability (default for DB2 UDB for Linux, UNIX, and
Windows, and DB2 UDB for z/OS)
RR
Repeatable Read
ALL
ALL
NC
No Commit
HS_FDS_PACKAGE_COLLID
Property
Description
Default Value
ORACLEGTW
Range of Values
Syntax
HS_FDS_PACKAGE_COLLID=collection_id
HS_FDS_PACKAGE_COLLID specifies the package collection ID. Note that in DB2 UDB for
iSeries, the collection ID is actually the name of an AS/400 library.
HS_IDLE_TIMEOUT
Property
Description
Default Value
0 (no timeout)
Range of Values
0-9999 (minutes)
Syntax
HS_IDLE_TIMEOUT=num
HS_FDS_MBCS_TO_GRAPHIC
Property
Description
Default Value
FALSE
Range of Values
FALSE|TRUE
Syntax
HS_FDS_MBCS_TO_GRAPHIC={FALSE|TRUE}
If set to TRUE, any single-byte character meant to insert to DB2 (var)graphic column
would be converted to equivalent double-byte value before the insert operation.
HS_FDS_GRAPHIC_TO_MBCS
Property
Description
Default Value
FALSE
Range of Values
FALSE|TRUE
Syntax
HS_FDS_GRAPHIC_TO_MBCS={FALSE|TRUE}
If set to TRUE, any double-byte characters in DB2 (var)graphic column that can have
equivalent single-byte equivalent would be translated to equivalent single-byte before
sending to the user.
Initialization Parameters
C-19
HS_FDS_TIMESTAMP_MAPPING
Property
Description
Default Value
Range of Values
CHAR|DATE|TIMESTAMP
Syntax
HS_FDS_TIMESTAMP_MAPPING={CHAR|DATE|TIMESTAMP}
If set to CHAR, then non-oracle target timestamp would be mapped to CHAR(26). If set to
DATE, then non-Oracle target timestamp would be mapped to Oracle date. If set to
TIMESTAMP, then non-Oracle target timestamp would be mapped to Oracle timestamp.
HS_FDS_DATE_MAPPING
Property
Description
Default Value
Range of Values
DATE|CHAR
Syntax
HS_FDS_DATE_MAPPING={DATE|CHAR}
If set to CHAR, then non-oracle target date would be mapped to CHAR(10). If set to DATE,
then non-Oracle target date would be mapped to Oracle date.
HS_FDS_ARRAY_EXEC
Property
Description
Default Value
TRUE (except for Oracle Database Gateway for DRDA which uses
FALSE as default)
Range of values
{TRUE|FALSE}
Syntax
HS_FDS_ARRAY_EXEC= {TRUE|FALSE}
If set to TRUE, the gateway will use array operations for insert, update, delete
statements containing binds against the remote data source. The array size is
determined by the value of the HS_FDS_FETCH_ROWS init parameter.
If set to FALSE, the gateway will not use array operations for insert, update, and delete
statements. Instead, a single statement will be issued for every value.
HS_FDS_QUOTE_IDENTIFIER
Property
Description
Default Value
Range of Values
TRUE|FALSE
Syntax
HS_FDS_QUOTE_IDENTIFIER={FALSE|TRUE}
By default, the gateway will quote identifiers if the FDS supports it. However, we give
the user the ability to overwrite the behavior. HS_FDS_QUOTE_IDENTIFIER overrides the
targets ability to support quote identifier depending on the value provided.
HS_NLS_LENGTH_SEMANTICS
Property
Description
Default Value
BYTE
Range of values
BYTE | CHAR
Syntax
This release of gateway has Character Semantics functionality equivalent to the Oracle
database Character Semantics, that is, NLS_LENGTH_SEMANTICS. When HS_NLS_LENGTH_
SEMANTICS is set to CHAR, the (VAR)CHAR columns of non-Oracle database are to be
interpreted as having CHAR semantics. The only situation the gateway does not honor
the HS_NLS_LENGTH_SEMANTICS=CHAR setting is when both Oracle and gateway are on
the same multi-byte character set.
HS_KEEP_REMOTE_COLUMN_SIZE
Property
Description
Default Value
OFF
Range of Values
Syntax
Parameter type
String
HS_FDS_REMOTE_DB_CHARSET
Property
Description
Default Value
None
Range of values
Not Applicable
Initialization Parameters
C-21
Property
Description
Syntax
HS_FDS_REMOTE_DB_CHARSET
This parameter is valid only when HS_LANGUAGE is set to AL32UTF8 and the gateway
runs on Windows. As more Oracle databases and non-Oracle databases use Unicode as
database character sets, it is preferable to also run the gateway in Unicode character
set. To do so, you must set HS_LANGUAGE=AL32UTF8. However, when the gateway runs
on Windows, the Microsoft ODBC Driver Manager interface can exchange data only in
the double-byte character set, UCS2. This results in extra ratio expansion of described
buffer and column sizes. To compensate, the gateway can re-adjust the column size if
HS_FDS_REMOTE_DB_CHARSET is set to the corresponding non-Oracle database character
set. For example, HS_FDS_REMOTE_DB_CHARSET=KO16KSC5601.
HS_FDS_SUPPORT_STATISTICS
Property
Description
Default Value
TRUE
Range of values
{TRUE|FALSE}
Syntax
HS_FDS_SUPPORT_STATISTICS= {TRUE|FALSE}
We gather statistics from the non-Oracle database by default. You can choose to disable
the gathering of remote database statistics by setting the HS_FDS_SUPPORT_STATISTICS
parameter to FALSE.
HS_FDS_RSET_RETURN_ROWCOUNT
Property
Description
Default Value
FALSE
Range of values
{TRUE|FALSE}
Syntax
HS_FDS_RSET_RETURN_ROWCOUNT= {TRUE|FALSE}
When set to TRUE, the gateway returns the row counts of DML statements that are
executed inside a stored procedure. The row count is returned as a single row, single
column result set of type signed integer.
When set to FALSE, the gateway skips the row counts of DML statements that are
executed inside a stored procedure. This is the default behavior, and it is the behavior
of 11.1 and older gateways.
HS_FDS_SQLLEN_INTERPRETATION
Property
Description
Default Value
64
Range of values
{64|32}
Syntax
HS_FDS_SQLLEN_INTERPRETATION= {64|32}
This parameter is only valid for 64 bit platforms. ODBC standard specifies SQLLEN (of
internal ODBC construct) being 64 bit on 64 bit platforms, but some ODBC driver
managers and drivers violate this convention, and implement it as 32 bit. In order for
the gateway to compensate their behavior, you need to specify HS_FDS_SQLLEN_
INTERPRETATION=32 if you use these types of driver managers and driver.
HS_FDS_AUTHENTICATE_METHOD
Property
Description
Default Value
CLEARTEXT
Range of values
{CLEARTEXT|ENCRYPT|ENCRYPT_BOTH|CLIENT|KERBEROS}
Syntax
HS_FDS_AUTHENTICATE_METHOD= {CLEARTEXT|ENCRYPT|ENCRYPT_
BOTH|CLIENT|KERBEROS}
Specifies the way in which user ID and password are sent to the remote DB2 server
and authenticated. Valid values are:
CLEARTEXT : user ID and password are sent in clear text to server (default).
HS_FDS_ENCRYPT_SESSION
Property
Description
Default Value
NONE
Range of values
NONE|SSL|DB2}
Syntax
HS_FDS_ENCRYPT_SESSION = {NONE|SSL|DB2}
Specifies the way the session to DB2 is encrypted. Valid values are:
SSL : Use SSL to encrypt data session (supported only by DB2 for iSeries).
DB2 : Use DB2 encryption protocol for data session (supported only by DB2 for
LUW and DB2 for z/OS, and can be used only when authentication is CLEARTEXT,
ENCRYPT, or ENCRYPT_BOTH).
HS_FDS_TRUSTSTORE_FILE
Property
Description
Default Value
none
Range of values
Syntax
Initialization Parameters
C-23
Specifies the path that specifies the location of the truststore file. The truststore file
contains a list of the valid Certificate Authorities (CAs) that are trusted by the client
machine for SSL server authentication.
HS_FDS_TRUSTSTORE_PASSWORD
Property
Description
Default Value
none
Range of values
password
Syntax
HS_FDS_TRUSTSTORE_PASSWORD= password
D
D
The table below is a worksheet that lists all of the parameter names and the reasons
that you will need them for configuring the gateway and TCP/IP. Use the worksheet
to gather the specific information that you need before you begin the configuration
process.
Table D1
Reason
Oracle home of the
gateway
System ID of the
gateway
Configuring TCP/IP
ORACLE_HOME
ORACLE_SID
IP Address
Network Mask
Recovery user ID
Recovery Password
HS_FDS_RECOVERY_PWD
DRDA_REMOTE_DB_NAME
DRDA_CONNECT_PARM
Remote Database
Name
Connection Parameter
HS_FDS_RECOVERY_
ACCOUNT
Remote collection ID
HS_FDS_PACKAGE_COLLID
Remote package name
DRDA_PACKAGE_NAME
Owner ID of DRDA
package
DB Name used with
Oracle database
DB Domain used with
Oracle database
DRDA_PACKAGE_OWNER
HS_DB_NAME
HS_DB_DOMAIN
Note:
Index
A
action items, 2-1, 4-1, 6-1, 8-1, 10-1, 12-1
application
authenticating logons, 15-1
AS/400
command DSPRDBDIRE, 13-3
defining user ID, 13-3
library name, HS_FDS_PACKAGE_
COLLID, C-18
B
Basic installation method
noninteractive installations, A-2
Bind Package Stored Procedure
DB2 UDB for iSeries, 13-3
DB2/OS390, 13-1
bind privilege
configuration worksheet, D-2
DB2 UDB for iSeries, 13-3
DB2 UDB for Linux, UNIX, and Windows, 13-4
DB2/OS390, 13-1
BINDADD privilege
configuration worksheet, D-2
DB2 UDB for Linux, UNIX, and Windows, 13-4
DB2/OS390, 13-2
BINDAGENT privilege
configuration worksheet, D-2
DB2/OS390, 13-2
binding the DRDA package
authority of user ID and password
DB2 UDB for iSeries, 13-3
DB2/OS390, 13-1
C
character sets
Heterogeneous Services, C-10
checklist
DRDA server configuration, 13-1
closing and opening again any session against db2
required with any change to
HS_FDS_PACKAGE_COLLID, C-19
collection privilege - CREATE IN
configuration worksheet, D-2
DB2/OS390, 13-2
collection privilege - CREATETAB,
DB2/OS390, 13-2
Communication Database (CDB) tables, DDF, 13-2
configuration assistants
troubleshooting, B-2
configuration assistants, troubleshooting, B-2
Configuring
two-phase commit, 3-6, 5-6, 7-6, 9-7
configuring
checklists for DRDA server, 13-1
DB2 UDB for iSeries, 13-3
DB2 UDB for Linux, UNIX, and Windows, 13-3
DB2/OS390, 13-1
list of parameters needed to configure the
gateway, D-1
Configuring the gateway, 3-1, 5-1, 7-1, 9-1, 14-1
CONNECT authority
DB2 UDB for Linux, UNIX, and Windows, 13-4
connect_descriptor, 3-5, 5-5, 7-5, 9-5, 11-6, 14-6
COPY
privilege
configuration worksheet, D-2
DB2/OS390, 13-1
CREATE IN privilege
configuration worksheet, D-2
DB2/OS390, 13-2
CREATEIN privilege, DB2 UDB for Linux, UNIX, and
Windows, 13-4
CREATETAB privilege
DB2 UDB for Linux, UNIX, and Windows, 13-4
DB2/OS390, 13-2
Creating
transaction log table, 3-7, 5-7, 7-7, 9-8
cursor
stability, HS_FDS_ISOLATION_LEVEL, C-18
D
data dictionary
support, 14-1
database
authorities - CONNECT, BINDADD, and
CREATETAB, 13-4
link
defining and controlling, 15-2
Index-1
E
environment variables
TEMP and TMP, hardware requirements, 2-2,
4-2, 6-2, 8-2, 10-2, 12-2
error
obsolete parameters, 16-2
Index-2
Error messages
error tracing, C-16
errors
configuration assistants, B-2
installation, B-2
noninteractive installation, B-3
EXECUTE privilege
configuration worksheet, D-2
DB2 UDB for Linux, UNIX, and Windows, 13-4
DB2/OS390, 13-1
F
fatal errors, B-2
fetch array size, with HS_FDS_FETCH_ROWS, C-17
files
Oracle Universal Installer log files, B-2
G
Gateway
default SID, 3-1, 5-1, 7-1, 9-1
system identifier (SID), 3-1, 5-1, 7-1, 9-1, 11-1
two-phase commit, 3-6, 5-6, 7-7, 9-7
gateway
authenticating logons, 15-1
Gateway Password Encryption Tool, 3-8, 5-8, 7-8,
9-9, 11-7
globalization support
Heterogeneous Services, C-10
H
Heterogeneous Services
defining maximum number of open cursors, C-11
initialization parameters, 11-1
optimizing data transfer, C-11
Oracle Database Gateway for ODBC
creating initialization file, 11-1
setting global name, C-9
specifying cache high water mark, C-9
tuning internal data buffering, C-12
tuning LONG data transfer, C-11
HS_CALL_NAME initialization parameter, C-8
HS_DB_NAME initialization parameter, C-9
HS_DESCRIBE_CACHE_HWM initialization
parameter, C-9
HS_FDS_CONNECT_INFO, C-14
HS_FDS_CONNECT_INFO initialization parameter
specifying connection information, 11-2
HS_FDS_FETCH_ROWS parameter, C-17
HS_FDS_ISOLATION_LEVEL parameter, C-18
HS_FDS_PACKAGE_COLLID parameter
defined, C-18
HS_FDS_PROC_IS_FUNC initialization
parameter, C-15
HS_FDS_RECOVERY_ACCOUNT parameter
DB2 UDB for iSeries, 13-3
DB2 UDB for Linux, UNIX, and Windows, 13-4
DB2/OS390, 13-2
HS_FDS_RECOVERY_PWD initialization
parameter, C-17
HS_FDS_RECOVERY_PWD parameter
DB2 UDB for Linux, UNIX, and Windows, 13-4
DB2/OS390, 13-2, 13-3
HS_FDS_RESULTSET_SUPPORT initialization
parameter, C-16
HS_FDS_SHAREABLE_NAME initialization
parameter, C-12
HS_FDS_TRACE_LEVEL initialization
parameter, C-16
enabling agent tracing, C-2
HS_FDS_TRANSACTION_LOG initialization
parameter, C-17
HS_KEEP_REMOTE_COLUMN_SIZE initialization
parameter, C-21
HS_LANGUAGE initialization parameter, C-10
HS_LONG_PIECE_TRANSFER_SIZE initialization
parameter, C-11
HS_OPEN_CURSORS initialization parameter, C-11
HS_RPC_FETCH_REBLOCKING initialization
parameter, C-11
HS_RPC_FETCH_SIZE initialization
parameter, C-12
HS_TIME_ZONE initialization parameter, C-12
HS_TRANSACTION_LOG, 3-7, 5-7, 7-7, 9-8
HS_TRANSACTION_LOG table
DB2 UDB for iSeries, 13-3
DB2 UDB for Linux, UNIX, and Windows, 13-4
I
IFILE initialization parameter, C-13
inbound connections
processing, 15-2
Informix Server, Oracle Database Gateway, 4-1
Informix, Oracle Database Gateway, 4-1
Initialization parameter file
customizing, 3-2, 5-1, 7-1, 9-2, C-1
initialization parameters
Heterogeneous Services (HS), 11-1
initialization parameters (HS)
Oracle Database Gateway for ODBC, 11-1
initsid.ora file, 3-2, 5-2, 7-2, 9-2
installActions.log file, B-2
installation
accessing installation software, 1-3, 1-4
checklists
DRDA server, 13-1
downloading software from Oracle Technology
Network, 1-3
errors
log session, B-2
while configuration assistant runs, B-2
log files, B-2
noninteractive error handling, B-3
procedure, 1-4
response files, B-3
reviewing a log of an installation session, B-2
troubleshooting, B-1, B-3
installation software, accessing, 1-3, 1-4
installations
log file, B-2
isolation level, HS_FDS_ISOLATION_LEVEL, C-18
L
listener, 3-5, 5-5, 7-5, 9-5, 11-6, 14-6
listener.ora file, 3-10, 5-9, 7-9, 9-10, 11-8, 14-8
example, 3-3, 5-3, 7-3, 9-3, 11-3, 14-3
location, 3-2, 5-2, 7-2, 9-3, 11-3, 14-2
log files, B-2
reviewing an installation session, B-2
troubleshooting, B-2
N
Net Configuration Assistant, troubleshooting, B-2
noninteractive installation
errors, B-3
Record mode, A-2
See also noninteractive deinstallation, response
files, A-1
O
obsolete parameters since V4 gateway, 16-2
ODBC connectivity
specifying path to library, C-12
ODBC, Oracle Database Gateway, 10-1
option
DRDA session security, 15-3
security conduct, 15-2
Oracle Database Gateway
DRDA, 12-1
DRDA Server, 12-1
Informix, 4-1
Informix Server, 4-1
ODBC, 10-1
SQL Server, 8-1
Sybase, 2-1
Sybase Server, 2-1
Teradata Server, 6-1
Oracle Database Gateway for ODBC
creating initialization file, 11-1
Oracle Net
configuring, 3-2, 5-2, 7-2, 9-2, 11-3
operating system authentication, 15-2
Oracle Net Listener, 3-5, 5-5, 7-5, 9-5, 11-6, 14-6
starting, 3-4, 5-4, 7-4, 9-4, 11-4, 14-4
Oracle Technology Network (OTN)
accessing, 1-3
downloading software from, 1-3
Oracle Universal Installer (OUI)
log files, B-2
ore, D-1
OTN. See Oracle Technology Network, 1-3
P
package
collection id, HS_FDS_PACKAGE_COLLID, C-18
Index-3
Index-4
R
RECOVER user ID
DB2 UDB for iSeries, 13-3
DB2 UDB for Linux, UNIX, and Windows, 13-4
DB2/OS390, 13-2
HS_FDS_RECOVERY_ACCOUNT, C-15
recovery user ID and password
DB2 UDB for iSeries, 13-3
DB2 UDB for Linux, UNIX, and Windows, 13-4
DB2/OS390, 13-2
RECOVERY_ACCOUNT
account user name, 3-7, 5-7, 7-7, 9-7
creating a recovery account, 3-7, 5-7, 7-7, 9-7
remote
database
configuration worksheet, D-2
DB2 UDB for iSeries, 13-3
DB2 UDB for Linux, UNIX, and
Windows, 13-4
DB2/OS390, 13-2
DRDA database, HS_FDS_ISOLATION_
LEVEL, C-18
remote functions
referenced in SQL statements, C-8
response files
creating, A-2
customizing, A-2
samples, A-2
specifying during installation, A-3
See also noninteractive installation, A-1
S
schema privileges - CREATEIN, 13-4
security
overview, 15-1
SID, 3-1, 5-1, 7-1, 9-1, 11-1
silent installation. See noninteractive
installation, A-1
SPUFI on DB2/OS390, 14-1
SQL
statements, HS_FDS_ISOLATION_LEVEL, C-18
SQL Server, Oracle Database Gateway, 8-1
SQL Server,Oracle Database Gateway, 8-1
stability, of cursor, HS_FDS_ISOLATION_
LEVEL, C-18
Sybase Server, Oracle Database Gateway, 2-1
Sybase, Oracle Database Gateway, 2-1
system privileges - BINDADD and BINDAGENT
configuration worksheet, D-2
DB2/OS390, 13-2
T
TEMP
environment variable, hardware
requirements, 2-2, 4-2, 6-2, 8-2, 10-2, 12-2
temporary directory, 2-2, 4-2, 6-2, 8-2, 10-2, 12-2
temporary disk space
checking, 2-2, 4-2, 6-2, 8-2, 10-2, 12-2
U
user ID mapping
DB2 UDB for iSeries,
DB2/OS390, 15-3
15-3
Index-5
Index-6