473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Oracle Net VS DB2 Connect

Hello,
Is it right to tell that DB2 Connect has the same function that Oracle
Net ?
If I have an ODBC application is it also right to tell that I have 2
possibilities on my client workstation to acces a remote UDB database
on a Sun machine :
a) with a run-time client
b) with DB2 Connect Personnal Edition

Thank you
Nov 12 '05 #1
5 4584
"Kona" <ko*******@yahoo.fr> wrote in message
news:a1**************************@posting.google.c om...
Hello,
Is it right to tell that DB2 Connect has the same function that Oracle
Net ?
If I have an ODBC application is it also right to tell that I have 2
possibilities on my client workstation to acces a remote UDB database
on a Sun machine :
a) with a run-time client
b) with DB2 Connect Personnal Edition

Thank you


You need DB2 connect to remotely access DB2 on the mainframe, but you don't
need it for DB2 on Unix. The run-time client is free, and DB2 Connect is not
free.

But if you want to set up a gateway machine, so that all clients go through
the gateway instead of directly connecting to the DB2 server, then DB2
Connect does provide that on functionality.
Nov 12 '05 #2
Kona wrote:
Hello,
Is it right to tell that DB2 Connect has the same function that Oracle
Net ?
If I have an ODBC application is it also right to tell that I have 2
possibilities on my client workstation to acces a remote UDB database
on a Sun machine :
a) with a run-time client
b) with DB2 Connect Personnal Edition

Thank you


1. I don't know what functions Oracle.Net has - therefore I am unable to
comment on this. DB2 Connect enables customers to connect to DRDA host
(DB2 VSE/VM, DB2/400, DB2/xOS) - ither from local workstation only (DB2
Connect PE) - or acting as Gateway server (DB2 Connect EE).

2. Any of DB2 products have RunTime clients; therefore you have several
posibilities on the requester workstation:

DB2 Run-Time Client
DB2 Development Client
DB2 Administration Client
DB2 Personal Edition (on Windows and Linux)
DB2 Workgroup Server Edition
DB2 Enterprise Server Edition
DB2 Connect Personal Edition (on Windows and Linux)
DB2 Connect Enterprize Edition

depending on additional capabilities you may want to use/explore.

Jan M. Nelken
Nov 12 '05 #3
Thank you for your informations.
But if you want to set up a gateway machine, so that all clients go throughthe gateway instead of directly connecting to the DB2 server, then DB2Connect does provide that on functionality


If we setup a gateway machine for the clients, is it also possible to
access my UDB database on my Sun machine directly ?
I ask you that because we would like to enable the access to the UBD
only from authorized clients. We would like to prevent UDB access from
unauthorized clients workstations that have setup an ODBC and access
the DB using a foreign tool like MS Query.

Thank in advance (a db2connect newbie)
Nov 12 '05 #4
Kona wrote:

If we setup a gateway machine for the clients, is it also possible to
access my UDB database on my Sun machine directly ?
I ask you that because we would like to enable the access to the UBD
only from authorized clients. We would like to prevent UDB access from
unauthorized clients workstations that have setup an ODBC and access
the DB using a foreign tool like MS Query.


You most likely would like to control access (by GRANTing CONNECT
priviledge to users or group) at UDB server.
There is nothing like "authorised" versus "unauthorised" workstation in
native UDB. Remember that for ODBC access you have to have as a minimum
the DB2 UDB Run-Time client installed on the workstation.

so the matrix looks like:
RT Client -------------------------------------------> UDB Server
(or other clients)

or

RT Client -----------> DB2 Connect Gateway ------------> DRDA HOST
(or other clients)

or

DB2 Connect Personal Edition --------------------------> DRDA HOST

There are several other possibilities as well (Federated Database
Support) to consider - so perhaps reviewing DB2 Books may help you a bit
more.

As a rule - DB2 Connect is used when ultimate destination is DRDA Host
(DB2 for VSE/VM, DB2/400 or DB2/zOS).
Jan M. Nelken
Nov 12 '05 #5
"Jan M. Nelken" <Un**********@Invalid.Domain> wrote in message news:<40********@news1.prserv.net>...
Kona wrote:

If we setup a gateway machine for the clients, is it also possible to
access my UDB database on my Sun machine directly ?
I ask you that because we would like to enable the access to the UBD
only from authorized clients. We would like to prevent UDB access from
unauthorized clients workstations that have setup an ODBC and access
the DB using a foreign tool like MS Query.
You most likely would like to control access (by GRANTing CONNECT
priviledge to users or group) at UDB server.
There is nothing like "authorised" versus "unauthorised" workstation in
native UDB. Remember that for ODBC access you have to have as a minimum
the DB2 UDB Run-Time client installed on the workstation.

so the matrix looks like:
RT Client -------------------------------------------> UDB Server
(or other clients)

or

RT Client -----------> DB2 Connect Gateway ------------> DRDA HOST
(or other clients)

or

DB2 Connect Personal Edition --------------------------> DRDA HOST

There are several other possibilities as well (Federated Database
Support) to consider - so perhaps reviewing DB2 Books may help you a bit
more.

As a rule - DB2 Connect is used when ultimate destination is DRDA Host
(DB2 for VSE/VM, DB2/400 or DB2/zOS).
Jan M. Nelken


Hello Jan,
Remember that for ODBC access you have to have as a minimum
the DB2 UDB Run-Time client installed on the workstation.


Case 1 : normal user on agreed workstation

Application
-------------------
IBM DB2 ODBC DRIVER
-------------------
Run-Time DB2 ----------DB2 Gateway------------- UDB Unix
server
-------------------
All security rules are set by the application.
Case 3 : normal user on agreed workstation

Application / MSQUERY
-------------------
IBM DB2 ODBC DRIVER
-------------------
Run-Time DB2 ----------DB2 Gateway------------- UDB Unix
server
-------------------

In this case the user could use MSQUERY to by-pass security rules set
by the Application.

Case 4 : Hacker

MSQUERY
-------------------
IBM DB2 ODBC DRIVER
-------------------
Run-Time DB2 --------------------------------- UDB Unix
server
-------------------

We suppose that the hacker knowns all informations like
username/pasword and DSN configuration.
But he access the UDB directly, no DB2 Gateway.
In this case is it possible to tell that the UDB server only accept
connexions from DB2 Gateway ?
I thing that SSL is not supported by DB2connect, an other way ?

Thank you
Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Greg Lindstrom | last post by:
>Shouldn't this be '/u01/app/oracle/product/9.2.0' ? Based on the following values, that's what I'd expect. I changed the ORCALE_HOME environment variable to the above suggested value and got a...
4
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
0
by: Kong Li | last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset (9.2.0.5) fixed the handle count leak problem. The problem is in Oracle client component. Thanks. Kong ----- From: Kong...
4
by: Tig | last post by:
Hi all. I have a need to connect to an Oracle 7.3.3.5 database. I have a user who successfully connects to it with her Oracle 7.3 client. I have an Oracle 9.2 client installed on my machine....
4
by: Ellen K. | last post by:
Hi all, Being that so far I didn't get an answer to my below problem on the Oracle newsgroup, I figured it couldn't hurt to try here. While at my current job I've been working with mostly SQL...
5
by: jrefactors | last post by:
My machine is Windows XP with Oracle 9.2 Home; IIS and Oracle are in the same box. I have tried both Oracle OLEDB Provider and Microsoft ODBC For Oracle, but both not working. For Microsoft...
8
by: danbredy | last post by:
Hi, I'm attempting to connect to an Oracle database using SQL Server 2005 Express (OS is Windows XP Professional) and having absolutely no luck. Here is the information SQL Plus gives me about...
7
by: D. Patrick | last post by:
I need to connect to an Oracle database. I've never done it before. I see that with framework 1.1 you had to download ODP.NET from Oracle's site in order for the framework classes to even work....
9
by: D. Patrick | last post by:
I need to connect to an Oracle database. I've never done it before. I see that with framework 1.1 you had to download ODP.NET from Oracle's site in order for the framework classes to even work....
0
by: piyushdabomb | last post by:
Hi Oracle Gurus!! Before I proceed, as per the moderators request, I would like to mention that I have already taken a look at the other threads pertaining to a similar issue which I am having and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.