Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > DB2 > DB2 & Oracle on the same server ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-13-01, 07:47
Jeffrey Boulier
 
Posts: n/a
Question DB2 & Oracle on the same server ?

Is it possible to run both DB2 and Oracle simultaneously on the same machine (assuming Solaris as the operating system)? Are there any ports that would conflict, and if so, could the database listeners be bound to different IP addresses?

Yours Truly,
Jeffrey Boulier
Reply With Quote
  #2 (permalink)  
Old 04-13-01, 08:46
Blair Kenneth Adam
 
Posts: n/a
Yes, this is possible. Ensure that settings for all Solaris kernel configuration parameters (documented in the DB2 Quick Beginnings manual) use the sum of the DB2 and Oracle recommendations. I read somewhere (maybe in this newsgroup) that the manner of binding IP addresses to ports is different between DB2 and Oracle. Perhaps a comm. expert who has used can explain.
Reply With Quote
  #3 (permalink)  
Old 04-13-01, 09:47
Leonard F Clark
 
Posts: n/a
We have a pretty vanila install of UDB and Oracle on Solaris 7 on a Sun E5500 (and 450) and there were no problems and no tweaks needed. The Oracle is 8.1.6; the UDB is 5.1, I think.

Len
Reply With Quote
  #4 (permalink)  
Old 04-13-01, 10:47
Dennis Flinn
 
Posts: n/a
Quote:
Is it possible to run both DB2 and Oracle simultaneously on the same machine (assuming Solaris as the operating system)? Are there any ports that would conflict, and if so, could the database listeners be bound to different IP addresses?
Jeffrey:

In Oracle you have to configure a listener file usually found in $ORACLE_HOME/network/admin/listener.ora. In that file you define the port which the the listener will bound to - I think the default is like 1520 or 1521 you then identify the instances(Oracle instances which are not the same thing as a UDB instance) which will use the listener..

Dennis
Reply With Quote
  #5 (permalink)  
Old 04-13-01, 11:46
Blair Kenneth Adam
 
Posts: n/a
Quote:
In Oracle you have to configure a listener file usually found in $ORACLE_HOME/network/admin/listener.ora. In that file you define the port which the the listener will bound to - I think the default is like 1520 or 1521 you then identify the instances(Oracle instances which are not the same thing as a UDB instance) which will use the listener..
Thanks. In DB2, you define the ports in /etc/services Typical entries look like this:
Code:
db2cDB2 50000/tcp #connection port for the DB2 instance DB2 db2iDB2 50001/tcp #interrupt port for the DB2 instance DB2 db2cDB2CTLSV 50002/tcp #connection port for the DB2 instance DB2CTLSV db2iDB2CTLSV 50003/tcp #interrupt port for the DB2 instance DB2CTLSV
Reply With Quote
  #6 (permalink)  
Old 04-14-01, 02:43
Daniel A. Morgan
 
Posts: n/a
Can't speak to the DB2 listener. But the Oracle listener is not bound to an IP address: It is bound to a port. The default port is 2481.

Daniel A. Morgan
Reply With Quote
  #7 (permalink)  
Old 04-14-01, 06:09
Gert van der Kooij
 
Posts: n/a
Quote:
Code:
db2cDB2 50000/tcp #connection port for the DB2 instance DB2 db2iDB2 50001/tcp #interrupt port for the DB2 instance DB2 db2cDB2CTLSV 50002/tcp #connection port for the DB2 instance DB2CTLSV db2iDB2CTLSV 50003/tcp #interrupt port for the DB2 instance DB2CTLSV
Also the administration instance db2das00 (to enable remote administration) is bound on port 523, AFAIK this can't be changed. All ports on 'normal' instances can be configured the way you need it.
Reply With Quote
  #8 (permalink)  
Old 04-16-01, 20:26
Fuzzy
 
Posts: n/a
Quote:
Is it possible to run both DB2 and Oracle simultaneously on the same machine (assuming Solaris as the operating system)? Are there any ports that would conflict, and if so, could the database listeners be bound to different IP addresses?
Yep, not a problem. There'll be no port conflicts unless you configure it that way. (the defaults are safe ... )

Ciao Fuzzy
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On