carpnodes trouble

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Wednesday, April 23, 2008 - 1:14 pm

hi

i try today to use the ip loadbalancing feature of carp.

basiclly there ist an working carp cluster with 5 carp interfaces on 2 boxes.

on host a:
hostname.carp0
inet 10.100.0.254 255.255.252.0 10.100.3.255 \
vhid 25 pass office2world group lan_if
hostname.carp1
inet 10.10.223.15 255.255.255.0 10.10.223.255 \
vhid 15 pass office2world group wan_if
hostname.carp2
inet 10.90.1.202 255.255.255.0 10.90.1.255
vhid 90 pass manage2world group management_if
hostname.carp3
inet 10.90.5.202 255.255.255.0 10.90.1.255 \
carpdev em4 vhid 91 pass manage2world group management_if
hostname carp4
inet 10.11.223.15 255.255.255.0 10.11.223.255 \
carpdev em5 vhid 92 pass manage2world group an10-predmz

the devices em4 and em5 have are no ip .

on host b:
hostname.carp0
inet 10.100.0.254 255.255.252.0 10.100.3.255 \
group lan_if \
pass office2world \
vhid 25 \
advskew 100
hostname.carp1
inet 10.10.223.15 255.255.255.0 10.10.223.255 \
group wan_if \
vhid 15 \
advskew 100 \
pass office2world

hostname.carp2
inet 10.90.1.202 255.255.255.0 10.90.1.255 \
group management_if \
vhid 90 \
advskew 100 \
pass manage2world

hostname.carp3
inet 10.90.5.202 255.255.255.0 10.90.1.255 \
group management_if \
carpdev em4 \
vhid 91 \
advskew 100 \
pass manage2world

hostname.carp4

inet 10.11.223.15 255.255.255.0 10.11.223.255 \
group an10-predmz \
vhid 92 \
pass manage2world \
advskew 100 \
carpdev em5

now i try to what the document says i add the line on
host a
carpnodes 15:0,15:100 balancing ip
host b
carpnodes 15:100,15:0 balancing ip

id did this for all vhid's
then i try to load the setup i got the error "ifconfig: SIOCSVH: Invalid
argument" if i delete the part after the , der error is gone but it
kills my network.

what did i wrong ?
what i miss understud the man page ?

holger

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
carpnodes trouble, Holger Glaess, (Wed Apr 23, 1:14 pm)
Re: carpnodes trouble, Holger Glaess, (Thu Apr 24, 5:13 am)