Operating System - HP-UX
1826499 Members
1615 Online
109692 Solutions
New Discussion

Multiple NIC cards on HP-UX 11.0

 
Pete Kelly
Frequent Advisor

Multiple NIC cards on HP-UX 11.0

I have just configured a second NIC card on my HP-UX 11.0 server. One of our DBA's has reported problems accessing the server using ORACLE Enterprise Manager. How do I check which NIC card is acting as the primary NIC for the server?
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: Multiple NIC cards on HP-UX 11.0

How did you configure the second nic card?

What is the IP, netmask, and routes?

resolv.conf?

netconf?

/etc/hosts?

nslookup??

live free or die
harry
Live Free or Die
Pete Kelly
Frequent Advisor

Re: Multiple NIC cards on HP-UX 11.0

I used the ifconfig command to configure the NIC. We do not have APA installed on the server, so I'm aware of not being able to have multiple NIC's on the same sub-net. I have configured the secondary NIC card on a spare network we can currently use. Primary NIC is 199.51.x.x, secondary NIC is 193.128.x.x No changes to resolv.conf (DNS??). The 1 thing I havent done is create an entry in the hosts file. Not sure that will resolve my DBA's query.
harry d brown jr
Honored Contributor

Re: Multiple NIC cards on HP-UX 11.0


Pete,

How is the DBA connecting to oracle, and what error message is he/she receiving?


There is a tnsnames configuration file that might need to be modified, but I don't remember what the name of it is.

live free or die
harry
Live Free or Die
Wodisch_1
Honored Contributor

Re: Multiple NIC cards on HP-UX 11.0

Hi Pete,

Oracle's Net8 (that's their networking software) needs TWO config files: one for the server (called LISTENER), and one for the client (like SQL*Plus).
The first file is named "listener.ora" and the second is named "tnsnames.ora". If those files exist in "/etc/" then these will be used, if not they have to be located in "$ORACLE/network/admin/"!

And as long as the server/listener is not restarted, Oracle will not use the new IP-address...

HTH,
Wodisch