Oracle on multihomed host

Posted on 2012-09-13
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

Question by:rjebb
    LVL 34

    Expert Comment

    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.

    Author Comment

    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.
    LVL 34

    Accepted Solution

    Here is the listener documentation:

    Also, look at this in the documentation:

    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.

    Author Closing Comment

    Thanks for this - hours of fun with network parameters ahead!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
    How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
    This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
    This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now