IPMP NIC fails to come back up.


 
Thread Tools Search this Thread
Operating Systems Solaris IPMP NIC fails to come back up.
# 8  
Old 05-06-2009
Data

Hi DukeNuke2. The - failover + failover in the config file should be ok. I had the Sun engineer take a look and he said it was fine. I'll ask him to double check it. The first -failover is for the test address which won't fail over. The second +failover is for the virtual address which will. I have implemented this on to three other servers with the exact same configuration and it has worked.

I have used if_mpadm to test the failover instead of unplugging the network cable. It worked with no problem. IPMP configuration aside, this failed interface problem has happened on a server I have without using IPMP.

We did a network test where the primary network was switched off. This server had one interface connected to that network. When the network was switched back on the interface on the Sun-Fire-V210 had a failed flag on it.

I couldn't get it working again so I plumbed a second interface and configured that. It only happened to that server. All the other servers were fine. Even unplumbing and plumbing the problem interface did not work. There has to be a hardware/software setting somewhere that prevents this from happening. Sun engineer so far has come back with nothingSmilie

Thanks.

Sparcman
# 9  
Old 05-06-2009
just for test, use the settings from the admin guide like:

Code:
dummy1 netmask + broadcast + group netgroup up \
	addif hostname deprecated -failover netmask + broadcast + up

dummy2 netmask + broadcast + deprecated group netgroup -failover standby up

hth,
DN2
# 10  
Old 05-06-2009
Mmmm IPMP, we meet again. :-) I had issue with this, and it was down to the config. Here's a copy of my setup :-

::::::::::::::
hostname.ce0
::::::::::::::
group bsun50-ipmp-grp0
set 148.253.138.36/27 broadcast + -failover standby deprecated up
::::::::::::::
hostname.ce2
::::::::::::::
group bsun50-ipmp-grp0
set 148.253.138.37/27 broadcast + -failover deprecated up
addif bsun50/27 broadcast +

I dont see any definition of group in your settings. Mind you, IVe seen a ton of different ways of configuring IPMP.

Here are some dos / donts :-

IPMP requires a default gateway to be set. (A remote to ping to ensure things are working)
Clients must connect to the logical interfaces not the physical.
Local mac address must be used. * (# eeprom local-macaddress?=true)
Load balancing is performed on a connection basis not per packet.
When the failover occurs you will see the logical address of the failed card or link appear on the working interface card.
Can be made permanent using /etc/hostname.(networkcardtype+number) e.g. hostname.ce0
*Applications should not bind to the physical IP addresses but use the logcal ip address


There's a comand that allows you to failover the cards, e.g. if_mpadm

# if_mpadm -d ce0 - detaches ce0
# if_mpadm -r ce0 - re-attaches ce0



HTH

SBK
# 11  
Old 05-06-2009
This is how I will prefer. My following example provides failover with 1 public IP. Advantages will be easier debugging, 1 lesser IP used and easier firewalling.

Primary Interface
# cat /etc/hostname.ce0
DUMMY1 netmask + broadcast + group production deprecated -failover up \
addif REALNAME netmask + broadcast + failover up

Standby Interface
# cat /etc/hostname.ce1
DUMMY2 netmask + broadcast + group production deprecated -failover standby up

/etc/hosts file
# Internet host table
#
127.0.0.1 localhost
192.168.1.10 REALNAME loghost
192.168.1.11 DUMMY1
192.168.1.12 DUMMY2

The above sets up two dummy (private) IP addresses that are fixed to the interfaces. It sets up a failover group named production. It adds an IP REALNAME to the group and marks it as the failover IP that will be migrated, and ce1 is set as the standby interface. In most situations, ce0 will be used to transmit and receive packets. In the case of failure (interface, switch, cable, router, etc), the IP for REALNAME will migrate to ce1 interface. When ce0 recovers, the IP will migrate back.
# 12  
Old 05-06-2009
Thanks for the input. I do have my group set up in the config files. It's called netgroup. I will change the configuration slightly and test it that way.

I'm implementing IPMP across all of my test servers at the moment so I can play around with the config a little to get it right before implementing on Prod.

I'm confident that the interface on this server hasn't physically failed. Solaris has just flagged it as failed. There must be some way of changing the flag manually or to get Solaris to probe the interface again?

I have the default router set up etc which is used to check the health of the interface. Basically all I did was unplug the network cable for about two minutes and then plug it back in. Won't be doing that againSmilie Still working with the Sun Engineer to resolve that problem. I will post the resolution if i get it.

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Add two different subnet public IPs to single NIC or two different NIC on same box

Hello Admins, My ask is how can I add two different subnet IPs to same box with two different gateways? The issue is I can connect to the box when I am on ethernet LAN, but I am not able to connect to the same IP when I am on wifi. The server is RHEL 7 VM on vmware. How can I get connected... (4 Replies)
Discussion started by: snchaudhari2
4 Replies

2. Red Hat

I want to tune NIC's rps, rfs and xps value. which NIC device should I modify.

Dear All I want tune my NIC's rps, rfs and xps value. In my system I have two NIC (eth0, eth1) and I have a bond0 ( eth0, eth1). Here is the question? Which device should I modify ? eth0 and eth1? or just modify bond0 or modify all device (eth0, eth1, bond0) Any advice is welcome.... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

3. IP Networking

squid proxy: one NIC for inbound & one NIC for outbound?

I am new in squid proxy. My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)? Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

4. Solaris

x86 Solaris 10 nic driver added but not attached. NIC is not detected.

I couldn't install my nic in solaris 10. I compiled and added the driver but failed to attach the driver and ifconfig output shows only loopback dev. Please see the following output and tell me whether my nic has been detected and why the driver failed to attach? My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies

5. Solaris

IPMP. Is this a NIC problem!!?

-- IPMP Groups -- Node Name Group Status Adapter Status --------- ----- ------ ------- ------ IPMP Group: hostname1.xx-xxxx.xxxi sc_ipmp1 Online ce5 Online IPMP Group: hostname1.xx-xxxx.xxxi ipmpgrp01... (2 Replies)
Discussion started by: FeNiCrC_Neil
2 Replies

6. HP-UX

how can I determine which NIC card is virtual NIC Card

how can I determine which NIC card is virtual NIC Card which condition can make a decision Does HP UX have Virtual Network Adapter Concept if ,it has where I can Find if I Install Virutal Network Adapter or which command that i can get it or which software can generate thanks (2 Replies)
Discussion started by: alert0919
2 Replies

7. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

8. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

9. Solaris

IPMP setup removed, comes back with reboot

Hi all, I have 3 Sun v490's running Solaris 10. Each one has 2 zones on it. I changed the IP address and configuration on them this weekend, where ce0 was once the primary IP nic, now ce2 is. Previously, ce0 and ce4 were set up with IP multipathing, but I tried to remove that by changing the... (2 Replies)
Discussion started by: jackiea
2 Replies
Login or Register to Ask a Question