|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
CARP not leaving backup state(Sorry if this is a dupe, not sure if you had to be a subscriber to send
to the list) Hello all, I am a new to OpenBSD but not *nix in general... I have two systems running OpenBSD 4.2. It has 9 carp interfaces, and has been running fine for months. All of a sudden, both systems are in BACKUP state. I halted one of the systems then on the remaining system rebooted, shut down and restarted, run "ifconfig carp1 state master", changed the sysctls, removed the hostname files, rebooted, then replaced the hostname files, fiddled with the advskew and lots of other things. Even with no other system running, carp will not go into MASTER state, period, no errors, no logs. I tried setting net.inet.carp.log=1 and 2 and 1000, I see no logs anywhere in /var/log. Anything else I can look at? William |
|
|
Re: CARP not leaving backup stateHi William,
I don't know for sure, but I remember dealing with this kind of problem and setting preempt did work, maybe worth a try: /etc/sysctl.conf: net.inet.carp.preempt=1 Anyone else? HTH, Vinicius William Stuart escreveu: > (Sorry if this is a dupe, not sure if you had to be a subscriber to > send to the list) > > Hello all, > > I am a new to OpenBSD but not *nix in general... > > I have two systems running OpenBSD 4.2. It has 9 carp interfaces, and > has been running fine for months. All of a sudden, both systems are > in BACKUP state. > > I halted one of the systems then on the remaining system rebooted, > shut down and restarted, run "ifconfig carp1 state master", changed > the sysctls, removed the hostname files, rebooted, then replaced the > hostname files, fiddled with the advskew and lots of other things. > > Even with no other system running, carp will not go into MASTER state, > period, no errors, no logs. > > I tried setting net.inet.carp.log=1 and 2 and 1000, I see no logs > anywhere in /var/log. > > Anything else I can look at? > > William |
|
|
Re: CARP not leaving backup stateThank you for the idea. I did try that, but it still did not become MASTER.
I had to give up on carp (and redundancy altogether) and run with aliases for now. Vinicius Vianna wrote: > Hi William, > > I don't know for sure, but I remember dealing with this kind of > problem and setting preempt did work, maybe worth a try: > > /etc/sysctl.conf: > net.inet.carp.preempt=1 > > Anyone else? > > HTH, > Vinicius > > William Stuart escreveu: >> (Sorry if this is a dupe, not sure if you had to be a subscriber to >> send to the list) >> >> Hello all, >> >> I am a new to OpenBSD but not *nix in general... >> >> I have two systems running OpenBSD 4.2. It has 9 carp interfaces, >> and has been running fine for months. All of a sudden, both systems >> are in BACKUP state. >> >> I halted one of the systems then on the remaining system rebooted, >> shut down and restarted, run "ifconfig carp1 state master", changed >> the sysctls, removed the hostname files, rebooted, then replaced the >> hostname files, fiddled with the advskew and lots of other things. >> >> Even with no other system running, carp will not go into MASTER >> state, period, no errors, no logs. >> >> I tried setting net.inet.carp.log=1 and 2 and 1000, I see no logs >> anywhere in /var/log. >> >> Anything else I can look at? >> >> William |
|
|
Re: CARP not leaving backup stateHi
Are you sure that all the interfaces you have configured carp on have link and can connect to each other? (I've seen similar behaviour caused by defective NICs: receive buffer not receiving while send buffer still sending - try ping on all interfaces) Is lo up? Is there any other router on the same network segment that propagates the same VHID with a better metric (i suppose that a VRRP router on the same net could cause trouble if it uses the same VHIDs). no answers, just questions, I know ... hth /markus |
|
|
|
|
|
Re: CARP not leaving backup stateIf you tcpdump do you see any carp traffic at all (ip proto 112)? Upon
reboot? And you did enable carp preemption on both hosts (sysctl net.inet.carp.preempt=1)? |
|
|
Re: CARP not leaving backup stateOn Fri, Jul 18, 2008 at 01:26:07PM -0700, William Stuart wrote:
> Markus Wernig wrote: >> Hi >> >> Are you sure that all the interfaces you have configured carp on have >> link and can connect to each other? (I've seen similar behaviour >> caused by defective NICs: receive buffer not receiving while send >> buffer still sending - try ping on all interfaces) Is lo up? Is there >> any other router on the same network segment that propagates the same >> VHID with a better metric (i suppose that a VRRP router on the same >> net could cause trouble if it uses the same VHIDs). >> >> no answers, just questions, I know ... >> >> hth /markus > Don't mind the questions! Just hoping someone will ask one where I say, > "I am such an IDIOT! Why didn't I think of that!" > > Yes, it had link (I was ssh'ing to the configured interface). They can > connect to each other (I would assume if they couldn't see each other I > would have a MASTER/MASTER issue and not a BACKUP/BACKUP issue), I ended > up halting one of them to see if I can get just one to go MASTER when it > was alone, no dice. I did a tcpdump and did not see any other VRRP > traffic. Is there any chance another CARP segment has recently been added to the same switch / stack? I've seen CARP vhid's "leak" through to other broadcast domains on some Avaya switches. -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net/ |
|
|
|
|
|
Re: CARP not leaving backup stateOn 2008-07-19, William Stuart <william@...> wrote:
> Thanks everyone I figured it out! > > 19:13:46.334037 CARPv2-advertise 36: vhid=50 advbase=1 advskew=0 > demote=0 (DF) [tos 0x10] > 19:13:46.334299 CARPv2-advertise 36: vhid=50 advbase=1 advskew=0 > demote=0 (DF) [tos 0x10] > > Something is mirroring and replaying all the packets back. > > Grrr. Must be a vmWare config issue. Anyone asking about any wierd problems, _please_ mention any VMs that may be involved early on in the thread... as always, a dmesg would be a good starting point. |
|
|
Re: CARP not leaving backup stateHello everyone,
I am sorry for not mentioning it was a vmWare instance. The packet replay seemed to be the culprit. This occured when we moved the image to a vmWare host running vmWare ESX 3.5 from 3.0. Our working theory is that under 3.5 pernicious mode works differently than under 3.0 and replays all of the traffic. Has anyone else experienced this problem? Stuart Henderson wrote: > On 2008-07-19, William Stuart <william@...> wrote: > >> Thanks everyone I figured it out! >> >> 19:13:46.334037 CARPv2-advertise 36: vhid=50 advbase=1 advskew=0 >> demote=0 (DF) [tos 0x10] >> 19:13:46.334299 CARPv2-advertise 36: vhid=50 advbase=1 advskew=0 >> demote=0 (DF) [tos 0x10] >> >> Something is mirroring and replaying all the packets back. >> >> Grrr. Must be a vmWare config issue. >> > > Anyone asking about any wierd problems, _please_ mention any VMs that > may be involved early on in the thread... as always, a dmesg would be > a good starting point. |
|
|
Re: CARP not leaving backup stateOn 2008-07-21, William Stuart <william@...> wrote:
> I am sorry for not mentioning it was a vmWare instance. The packet > replay seemed to be the culprit. > > This occured when we moved the image to a vmWare host running vmWare ESX > 3.5 from 3.0. Our working theory is that under 3.5 pernicious mode > works differently than under 3.0 and replays all of the traffic. > > Has anyone else experienced this problem? No vmware here, but I have noticed some emulator or other (maybe it was simh) returning transmitted ethernet frames on the receive side. Is it any better with vic(4)? (and can you check if basic functions work on ESX 3.x so the manual page, which only mentions 2.x, can be updated?) |
|
|
Re: CARP not leaving backup stateWilliam Stuart wrote:
> Hello everyone, > > I am sorry for not mentioning it was a vmWare instance. The packet > replay seemed to be the culprit. > > This occured when we moved the image to a vmWare host running vmWare ESX > 3.5 from 3.0. Our working theory is that under 3.5 pernicious mode > works differently than under 3.0 and replays all of the traffic. > > Has anyone else experienced this problem? We have also experienced problems with CARP when moving ESX from 3.0i to 3.5. No solution yet. |
|
|
Re: CARP not leaving backup state> We have also experienced problems with CARP when moving ESX from 3.0i to
> 3.5. No solution yet. > Have tried to tweak the vSwitch settings ? I remember I made CARP work with 2 OpenBSD 4.2 VM on ESX 3.5 after changing some settings in the networking properties... (I know I should document what I do...) Denis |
| Free Forum Powered by Nabble | Forum Help |