Project

General

Profile

Actions

Bug #1023

closed

Carp Status Incorrect

Added by Martin Klein about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/18/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

I Have Multiple Carp Interfaces (vip21 - vip24),
on the Status Page and the Dashboard Widget all
Interfaces have the state of the first Interfaces
(in my case vip21). If vip21 is Master all are Shown
as master even if they are in Backup state.
If vip21 is Backup all are shown as backup.

Actions #1

Updated by Jim Pingle about 11 years ago

Do you have a screenshot output of the CARP status and the ifconfig -a output that confirms these are producing conflicting output?

Generally all of the VIPs on the master are master, and all on the backup are backup, and they all flip at once when there is a failover. It's not typical to have only certain VIPs be master and others backup.

Actions #2

Updated by Martin Klein about 11 years ago

Sorry I dont have a screenshot at the moment but here are the ifconfigs:

machine 1:

vip21: flags=8<LOOPBACK> metric 0 mtu 1500
inet 192.168.1.1 netmask 0xffffff00
carp: INIT vhid 21 advbase 1 advskew 0
vip22: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 172.16.1.1 netmask 0xffffff00
carp: MASTER vhid 22 advbase 1 advskew 0
vip23: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 192.168.2.1 netmask 0xffffff00
carp: MASTER vhid 23 advbase 1 advskew 0
vip24: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 81.16.52.1 netmask 0xffffff80
carp: MASTER vhid 24 advbase 1 advskew 0

machine 2:

vip21: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 192.168.1.1 netmask 0xffffff00
carp: MASTER vhid 21 advbase 1 advskew 100
vip22: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 172.16.1.1 netmask 0xffffff00
carp: BACKUP vhid 22 advbase 1 advskew 100
vip23: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 192.168.2.1 netmask 0xffffff00
carp: BACKUP vhid 23 advbase 1 advskew 100
vip24: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 81.16.52.1 netmask 0xffffff00
carp: BACKUP vhid 24 advbase 1 advskew 100

And in the status they both show master status on all
interfaces.

Actions #3

Updated by Chris Buechler about 11 years ago

  • Target version set to 2.0
Actions #4

Updated by Ermal Luçi about 11 years ago

  • Status changed from New to Feedback
Actions #5

Updated by Martin Klein about 11 years ago

Tried the snapshot from today and
everything seems Fixed.

Thank You

Actions #6

Updated by Chris Buechler about 11 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF