HACMP with VIO, service IP failover


 
Thread Tools Search this Thread
Operating Systems AIX HACMP with VIO, service IP failover
# 1  
Old 01-03-2012
HACMP with VIO, service IP failover

Would anyone please kindly help to solve this problem...

An LPAR with the below network configuration. ent0 and ent1 are logical lan (virtual ethernet) from VIO SEA.

en0
1.2.3.4 <- boot ip
192.168.1.1 <- persistent ip
192.168.1.10 <- service ip
en1
11.22.33.44 <- boot ip

When I unplug the en0 cable (i.e. unplug the corresponding VIO ethernet cable), persistent and service will not failover to en1.

I tried the case for dedicated machine, when en0 is unplugged, in error report it will show a failure of ethernet, and the persistent and service IP will failover to en1. This will not happen at VIO LPAR since it is logical LAN and it will not detect a failure.

I found a solution from IBM to add !REQD <source IP> <destination IP> in the netmon.cf file, but not successful. I also added the IPs for the variable ping_client_list in clrginfo.rc file, but still failed.

Please kindly help how to make the LPAR know there is a failure in adapter, and will failover the persistent and service IP to the other interface.

Thank you very much!!
# 2  
Old 01-03-2012
how is the system supposed to know that you want them to failover to the other adapter - as this is a hacmp cluster I would expect the cluster to fail it over to the other node rather than to the other adapter?

I mean - there is no reason for it to do it ? If you want an adapter failover than use etherchannel ...
# 3  
Old 01-03-2012
well hacmp switches ips from one adapter to another (see the cspoc option swap adapter to trigger this manually)

when you just use one etherchannel then hacmp complains about the missing second boot interface. but I don't care, that's the way my clusters are configured

in Power ha 7 boot ips can be in the same subnet as service/persistent ips and you just need one


but afaik netmon.cf is the way you configure the ip failover. first the adapter swaps, then the whole resource group


how did you simulate the interface down? hacmp will not react to ifconfig xxx down, at least in hacmp 5.4/5.5
# 4  
Old 01-03-2012
Perhaps I should use "interface" instead of "adapter".
interface "en0" and "en1" is backed by adapter "ent0" and "ent1".
Since both en0 and en1 are communication ports for PowerHA, when either en0 or en1 failure, the persistent IP and service IP should move to the other interface first.
In VIO environment, PCI hot plug is not available i.e. when you unplug the ethernet cable for ent0, in AIX it is still considered "up". You will only see an adapter failure at VIO, but not AIX.
In this case, IBM proposed using netmon.cf. But I failed following the this guildlines...
[img]www.ibm.com/developerworks/aix/library/au-powerha/?S_TACT=105AGY20&S_CMP=HP[/img]

---------- Post updated at 10:56 PM ---------- Previous update was at 10:52 PM ----------

Quote:
how did you simulate the interface down? hacmp will not react to ifconfig xxx down, at least in hacmp 5.4/5.5
That is what I want to know. I am using PowerHA 6.1 Sp5, VIOS 2.2
PCI Hot plug is not available for AIX with virtual ethernet. What I want to know is how will it detect an interface down? If it is not possible, how to make sure the IP will failover to another interface, when the interface is malfunction (e.g. unplugged ethernet cable in VIO)?
# 5  
Old 01-04-2012
what's wrong with netmon.cf?

I would use it the following way in your case:

Code:
!REQD en0 1.2.3.254
!REQD en1 11.22.33.254

assuming .254 is your default gateway in all subnets
maybe add some additional ips pingable from your service ip
# 6  
Old 01-04-2012
Dear funksen,

Yes I did exactly the same thing as you have written
I also tried !REQD 1.2.3.4 1.2.3.254 and !REQD !ALL 1.2.3.254
but still failed.

When I unplug the cable, clstat -a shows all UP
hacmp.out and cluster.log did not react
it just seems not aware that the network is malfunction.
I doubt if the netmon.cf function properly.
# 7  
Old 01-05-2012
strange behaviour, probably works as designed, I never tested hacmp with netmon.cf in an environment like yours.

do you need two boot subnets?
what about:

both interfaces in the same vlan, etherchannel, and one ip:




en0 + en1 etherchannel (smitty etherchannel)

ent2 Available EtherChannel / IEEE 802.3ad Link Aggregation
en2: 1.2.3.4


otherwise I would open an ibm call
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

To stop ftp service on VIO

Hi all, How can I close ftp port 21 on VIO server. Best regards, ---------- Post updated at 10:06 AM ---------- Previous update was at 08:45 AM ---------- I resoved with switch to OS mode. $ oem_setup_env (0 Replies)
Discussion started by: getrue
0 Replies

2. AIX

Service IP issue in HACMP, Working with only one node

Hi, I have a running HACMP Cluster with two nodes. Its working in active/passive mode. (i.e Out of the two nodes in the cluster one will be active and the other one will be on standby. If first node fails the other takes over) 1. There is a Service IP associated with the cluster. Now the... (2 Replies)
Discussion started by: aixromeo
2 Replies

3. AIX

HACMP does not start db2 after failover (db2nodes not getting modified by hacmp)

hi, when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies

4. AIX

HACMP: set preferred adapter for service ip

Hi, lets say we have two boot interfaces en0 en1 and two resource groups, with two service ips, sip1 and sip2, one persistent ip pers1 both persistend and service ips are applied as ip-alias when I start the cluster, and bring the resource groups up, it looks like en0: sip1 and sip2 ... (4 Replies)
Discussion started by: funksen
4 Replies

5. AIX

vio server and vio client

Hi, I want to know wheather partition size for installation of vio client can be specified on vio server example If I am installing vio server on blade with 2*300gb hard disk,after that I want to create 2 vio client (AIX Operating system) wheather I can specify hard disk size while... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

6. AIX

POWER6 VIO Failover

Hello, Can someone point to me document or the method to make failover for VIO Servers ? I have one VIO_Server1 which has 4 AIX LPARS - From the VIO_SERVER1 I have assigned virtual SCSI DISK to the four LPARS - For Ethernet I have used LHEA So, if my VIO Server1 crashes all the LPARS... (17 Replies)
Discussion started by: filosophizer
17 Replies

7. AIX

hacmp ip load balancer failover

Hi All, How do I failover on the ip load balancer (back and forth)? It involves first to load a new config on the passive ip. If success, load the new config on the ip active (which is now passive). Any idea, please. Thanks in advance. (0 Replies)
Discussion started by: itik
0 Replies

8. AIX

failover on 4.5 hacmp

Hi All, How do I trigger the failover on the second hacmp server? Please give me idea and I will do the rest. Thanks, itik (2 Replies)
Discussion started by: itik
2 Replies

9. AIX

Can anyone shed some light on this HACMP failover?

Hello All, Here is a snipet from our cluster.log, I was wondering if anyone could shed some light on what may have caused the failover. The first two lines indicate a possible memory issue which I am currently looking into. Thanks. (0 Replies)
Discussion started by: Wez
0 Replies

10. AIX

hacmp service ip

Hi, I have two resource grps in hacmp 5.2 cluster.One is cascading and other is concurrent. I have apply one svc_ip to cascading rg but not able to apply any svc ip with node bound option for concurrent rg. Can any one guide me with the step to apply svc ip . thanks in advance (0 Replies)
Discussion started by: aix_53
0 Replies
Login or Register to Ask a Question