[nycbug-talk] carp question

Steve Rieger riegersteve at gmail.com
Thu Feb 2 16:36:38 EST 2006


i've used carp (kernel based) before and now have to use ucarp, (no  
kernel carp available,)

something aint right here


on the master (192.168.101.51)

ucarp -i eth1 -s 192.168.101.51 -v 10 -p secret -a 192.168.101.41 -- 
upscript=/etc/sysconfig/carp/vip-up.sh --downscript=/etc/sysconfig/ 
carp/vip-down.sh -P


on the slave (192.168.101.52)

ucarp -i eth1 -s 192.168.101.52 -v 10 -p secret -a 192.168.101.41 -- 
upscript=/etc/sysconfig/carp/vip-up.sh --downscript=/etc/sysconfig/ 
carp/vip-down.sh


the master has the -P flag but the slave still sees itself as a master,


on the slave

Feb  2 10:50:50 test2 ucarp[2862]: [WARNING] Switching to state: BACKUP
Feb  2 10:50:50 test2 ucarp[2862]: [WARNING] Spawning [/etc/sysconfig/ 
carp/vip-down.sh eth1]
Feb  2 10:50:51 test2 ucarp[2862]: [WARNING] Switching to state: MASTER
Feb  2 10:50:51 test2 ucarp[2862]: [WARNING] Spawning [/etc/sysconfig/ 
carp/vip-up.sh eth1]

on the master

Feb  2 10:50:07 test1 ucarp[14308]: [INFO] Local advertised ethernet  
address is [00:14:5e:31:1d:23]
Feb  2 10:50:07 test1 ucarp[14308]: [WARNING] Switching to state: MASTER
Feb  2 10:50:07 test1 ucarp[14308]: [WARNING] Spawning [/etc/ 
sysconfig/carp/vip-up.sh eth1]

and i cant ping the vip (.41)  but i can ping .51 and .52




--
Steve Rieger
riegersteve at gmail.com
310-339-4355
yahoo  = riegersteve
icq        = 53956607
Ride Free, Ride On, Ride Safe


I had the blues because I had no shoes until upon the street, I met a  
man who had no feet.

Biker Blue




More information about the talk mailing list