Re: last try (anyone who here who has a working carp setup??)

2005-11-24 Thread Matthew Hagerty

Mark Jayson Alvarez wrote:


Hi,
Been trying to make this work for the past three days,
yet still no luck.

On host A (which is suppose to be the master):

xl0:
flags=8943
mtu 1500
   options=9
   inet6 fe80::201:2ff:fe88:d8c%xl0 prefixlen 64
scopeid 0x1
   inet 10.10.8.144 netmask 0xff00 broadcast
10.10.8.255
   ether 00:01:02:88:0d:8c
   media: Ethernet autoselect (100baseTX
)
   status: active
plip0:
flags=108810
mtu 1500
lo0: flags=8049 mtu
16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
   inet 127.0.0.1 netmask 0xff00
carp0: flags=41 mtu 1500
   inet 10.10.8.146 netmask 0xff00
   carp: MASTER vhid 1 advbase 1 advskew 0



On host B (which is supposed to be the backup)
xl0:
flags=8943
mtu 1500
   options=9
   inet6 fe80::201:2ff:fe90:1957%xl0 prefixlen 64
scopeid 0x1
   inet 10.10.8.145 netmask 0xff00 broadcast
10.10.8.255
   ether 00:01:02:90:19:57
   media: Ethernet autoselect (100baseTX
)
   status: active
plip0:
flags=108810
mtu 1500
lo0: flags=8049 mtu
16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
   inet 127.0.0.1 netmask 0xff00
carp0: flags=41 mtu 1500
   inet 10.10.8.146 netmask 0xff00
   carp: BACKUP vhid 1 advbase 1 advskew 100


Even host B with a higher advskew, both of them seems
to be the BACKUP... no MASTER at all. pinging
10.10.8.146 won't reply however.. arping works?
Now the big question... how am I going to use this
virtual IP if I can't even ping it???


Thanks...


 


Please post the commands you are using to set up carp on each machine?
Also, can you connect to the machines via their unique IP addresses
(ping .144 and .145)?

Matthew


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Force box to become CARP master?

2005-11-23 Thread Matthew Hagerty

Greetings,

I'm working on setting up to machines that will be using CARP to provide 
fail-over, and I was wondering a couple of things:


1. How do you determine if the current box is the master?  I need to 
have each machine do certain things at startup depending on whether or 
not it is the current CARP master.


2. How to force a box to become the CARP master?  Suppose I want to take 
the current master offline to do regular maintenance, but I don't want 
to do so by rebooting the current master.  A controlled switch of the 
CARP master to the hot-spare box is what I'd like to be able to do.


3. How to run a script when the hot-spare becomes the CARP master?

Any insight or suggestions as to how I might do these things would be 
greatly appreciated!


Thanks,
Matthew

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"