BSDPORTAL.RU

На этом сайте обсуждаются вопросы использования ОС FreeBSD
 Портал  •  Статьи  •  Форум  •  Wiki  •  Поиск  •  FAQ  •  Обои  •   Официальная документация  •  Новые темы 

Часовой пояс: UTC + 4 часа




Начать новую тему Ответить на тему  [ 1 сообщение ] 
Автор Сообщение
 Заголовок сообщения: Странное поведение CARP
СообщениеДобавлено: Пн 06 июл, 2020 5:26 pm 
Не в сети

Зарегистрирован: Пн 06 июл, 2020 5:17 pm
Сообщения: 1
Добрый день. Сегодня столкнулись с проблемой. Пока не понимаем, куда копать.
Есть два сервера. Оба гейты. Юзается карп + pfsynс
Все отлично работает, сервер 2 при падении первого автоматом подхватывает ип и все работает.

Но сегодня одна из карт локальной сети стала выдавать

лог с первого сервера
: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:33 gw0 kernel: carp: 23@re0: BACKUP -> INIT (hardware interface down)
Jul 6 13:30:33 gw0 kernel: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:33 gw0 kernel: carp: 25@re0: BACKUP -> INIT (hardware interface down)
Jul 6 13:30:33 gw0 kernel: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:33 gw0 kernel: carp: 29@re0: BACKUP -> INIT (hardware interface down)
Jul 6 13:30:33 gw0 kernel: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:33 gw0 kernel: re0: link state changed to DOWN
Jul 6 13:30:36 gw0 kernel: carp: 20@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:36 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:36 gw0 kernel: carp: 21@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:36 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:36 gw0 kernel: carp: 22@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:36 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:36 gw0 kernel: carp: 23@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:36 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:36 gw0 kernel: carp: 25@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:36 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:36 gw0 kernel: carp: 29@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:36 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:36 gw0 kernel: re0: link state changed to UP
Jul 6 13:30:39 gw0 kernel: carp: 29@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:39 gw0 kernel: carp: 25@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:39 gw0 kernel: carp: 23@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:39 gw0 kernel: carp: 22@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:39 gw0 kernel: carp: 21@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:39 gw0 kernel: carp: 20@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:43 gw0 kernel: carp: 20@re0: MASTER -> INIT (hardware interface down)
Jul 6 13:30:43 gw0 kernel: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:43 gw0 kernel: carp: 21@re0: MASTER -> INIT (hardware interface down)
Jul 6 13:30:43 gw0 kernel: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:43 gw0 kernel: carp: 22@re0: MASTER -> INIT (hardware interface down)
Jul 6 13:30:43 gw0 kernel: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:43 gw0 kernel: carp: 23@re0: MASTER -> INIT (hardware interface down)
Jul 6 13:30:43 gw0 kernel: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:43 gw0 kernel: carp: 25@re0: MASTER -> INIT (hardware interface down)
Jul 6 13:30:43 gw0 kernel: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:43 gw0 kernel: carp: 29@re0: MASTER -> INIT (hardware interface down)
Jul 6 13:30:43 gw0 kernel: carp: demoted by 0 to 0 (interface down)
Jul 6 13:30:43 gw0 kernel: re0: link state changed to DOWN
Jul 6 13:30:51 gw0 kernel: carp: 20@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:51 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:51 gw0 kernel: carp: 21@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:51 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:51 gw0 kernel: carp: 22@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:51 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:51 gw0 kernel: carp: 23@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:51 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:51 gw0 kernel: carp: 25@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:51 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:51 gw0 kernel: carp: 29@re0: INIT -> BACKUP (initialization complete)
Jul 6 13:30:51 gw0 kernel: carp: demoted by 0 to 0 (interface up)
Jul 6 13:30:51 gw0 kernel: re0: link state changed to UP
Jul 6 13:30:54 gw0 kernel: carp: 20@re0: BACKUP -> MASTER (preempting a slower master)
Jul 6 13:30:54 gw0 kernel: carp: 21@re0: BACKUP -> MASTER (preempting a slower master)
Jul 6 13:30:54 gw0 kernel: carp: 22@re0: BACKUP -> MASTER (preempting a slower master)
Jul 6 13:30:54 gw0 kernel: carp: 23@re0: BACKUP -> MASTER (preempting a slower master)
Jul 6 13:30:54 gw0 kernel: carp: 25@re0: BACKUP -> MASTER (preempting a slower master)
Jul 6 13:30:54 gw0 kernel: carp: 29@re0: BACKUP -> MASTER (preempting a slower master)


В то время второй выдает:

лог со второго сервера
Jul 6 13:29:34 gw1 kernel: carp: 29@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:29:34 gw1 kernel: carp: 25@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:29:34 gw1 kernel: carp: 23@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:29:34 gw1 kernel: carp: 22@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:29:34 gw1 kernel: carp: 21@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:29:34 gw1 kernel: carp: 20@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:29:37 gw1 kernel: carp: 29@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:29:37 gw1 kernel: re0: deletion failed: 3
Jul 6 13:29:37 gw1 kernel: carp: 25@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:29:37 gw1 kernel: re0: deletion failed: 3
Jul 6 13:29:37 gw1 kernel: carp: 23@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:29:37 gw1 kernel: re0: deletion failed: 3
Jul 6 13:29:37 gw1 kernel: carp: 22@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:29:37 gw1 kernel: re0: deletion failed: 3
Jul 6 13:29:37 gw1 kernel: carp: 21@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:29:37 gw1 kernel: re0: deletion failed: 3
Jul 6 13:29:37 gw1 kernel: carp: 20@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:29:37 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:10 gw1 kernel: carp: 29@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:10 gw1 kernel: carp: 25@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:10 gw1 kernel: carp: 23@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:10 gw1 kernel: carp: 22@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:10 gw1 kernel: carp: 21@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:10 gw1 kernel: carp: 20@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:39 gw1 kernel: carp: 29@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:39 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:39 gw1 kernel: carp: 25@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:39 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:39 gw1 kernel: carp: 23@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:39 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:39 gw1 kernel: carp: 22@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:39 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:39 gw1 kernel: carp: 21@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:39 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:39 gw1 kernel: carp: 20@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:39 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:44 gw1 kernel: carp: 29@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:44 gw1 kernel: carp: 25@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:44 gw1 kernel: carp: 23@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:44 gw1 kernel: carp: 22@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:44 gw1 kernel: carp: 21@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:44 gw1 kernel: carp: 20@re0: BACKUP -> MASTER (master timed out)
Jul 6 13:30:54 gw1 kernel: carp: 20@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:54 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:54 gw1 kernel: carp: 21@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:54 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:54 gw1 kernel: carp: 22@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:54 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:54 gw1 kernel: carp: 23@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:54 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:54 gw1 kernel: carp: 25@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:54 gw1 kernel: re0: deletion failed: 3
Jul 6 13:30:54 gw1 kernel: carp: 29@re0: MASTER -> BACKUP (more frequent advertisement received)
Jul 6 13:30:54 gw1 kernel: re0: deletion failed: 3


Куда копать пока не понятно.
Может ли это быть повреждением сетевой карты?
Или у нас какая-то другая может быть проблема?


Вернуться к началу
 Профиль  
 
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ 1 сообщение ] 

Часовой пояс: UTC + 4 часа


Кто сейчас на конференции

Зарегистрированные пользователи: Google [Bot]


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB
Яндекс.Метрика