I "think" I almost have it working, but I just can't get it all the way.  I
have read and read and read as much info as I could find about it and, near
as I can tell, I've done everything correctly.  The problem is that after
takeover, guests sharing the same OSA can no longer talk to each other until
the failed OSA is back up.  Here's the scoop:

I have 2 guests under VM, call 'em guest1 and guest2.  Each one has 2 OSAs,
call 'em eth0 and eth1.  The eth0 OSAs are the same card and the eth1 OSA
are the same card.  Sort of like this:

guest1
eth0:
  real device: 1403-1405
  vert device: 1000-1002
eth1:
  real device: 1503-1505
  vert device: 1010-1012

guest2
eth0:
  real device: 1406-1408
  vert device: 1000-1002
eth1:
  real device: 1506-1508
  vert device: 1010-1012

On guest1, I've added this to /proc/qeth_ipa_takeover:  (nothing on guest2)

add_vipa4 0a0e0340:eth0
add_vipa4 0a0e0340:eth1

And I have the devices configured like:

eth0      Link encap:Ethernet  HWaddr 00:02:55:9A:B8:98
          inet addr:10.14.3.16  Mask:255.255.255.0

eth1      Link encap:Ethernet  HWaddr 00:02:55:9A:B9:CA
          inet addr:10.14.3.32  Mask:255.255.255.0

lo:0      Link encap:Local Loopback
          inet addr:10.14.3.64  Mask:255.255.255.255

Giving me these routes:

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.14.3.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.14.3.0       0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         10.14.3.1       0.0.0.0         UG    0      0        0 eth0

Now, I'm able to ssh into 10.14.3.64 just fine, so I go over to VM and
detach the eth0 OSA from guest1, unplugging the virtual cable from the
virtual jack.  At this point, my ssh session freezes and will eventually
timeout, unless I manually change the default route to go through eth1:

0.0.0.0         10.14.3.1       0.0.0.0         UG    0      0        0 eth1

Once it's changed, my ssh session starts working again, but I still can't
get guest1 and guest2 to talk to each other.

I know I've done something wrong here.  I just can't seem to figure it out,
so any pointers would be greatly appreciated.

Thanks much,

Leland

Reply via email to