?
Solved

Oracle on multihomed host

Posted on 2012-09-13
4
Medium Priority
?
756 Views
Last Modified: 2012-09-14
We have a client running Oracle 11g on a server with 2 NICs. Only one is currently enabled, as the machine is servicing a community of users on a network related to a large construction project. The client now wants people on another related project to be able to use the Oracle instance on this machine, which will require the activation of the second NIC so that it appears on the other project's network as well.

What (if anything) do we need to do to the Oracle instance to ensure that it serves requests for data via port 1521 on both IP addresses? I assume we may need to edit some .ora files but detailed guidance would be welcome.

Thanks in advance

Richard
0
Comment
Question by:Richard Jebb
  • 2
  • 2
4 Comments
 
LVL 35

Expert Comment

by:johnsone
ID: 38396219
The one I can think of is the listener.ora file.  I am not sure you can listen on 2 addresses with one listener.  We always set up a separate listener for situations like this.  That way we can control each NIC separately.
0
 

Author Comment

by:Richard Jebb
ID: 38396714
Can you point me at any docs for how to set up a listener, as I assume there will only be one on this machine at the moment. I am not an Oracle expert, my expertise is with the application using the database and the client doesn't have any Oracle DBA skills inhouse.
0
 
LVL 35

Accepted Solution

by:
johnsone earned 600 total points
ID: 38398475
Here is the listener documentation:

http://docs.oracle.com/cd/E11882_01/network.112/e10836/listenercfg.htm#i486171

Also, look at this in the documentation:

http://docs.oracle.com/cd/E11882_01/network.112/e10836/advcfg.htm#sthref843

There is an example of using 2 different addresses to get to the same listener in there.

From an administrative point of view, I prefer 2 listeners.  Not much additional overhead to administration, but it separates out the 2 sets of connections and can help with auditing.
0
 

Author Closing Comment

by:Richard Jebb
ID: 38398673
Thanks for this - hours of fun with network parameters ahead!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question