BSDPORTAL.RU
http://bsdportal.ru/

Странное поведение CARP
http://bsdportal.ru/viewtopic.php?f=13&t=29107
Страница 1 из 1

Автор:  vetedie [ Пн 06 июл, 2020 5:26 pm ]
Заголовок сообщения:  Странное поведение CARP

Добрый день. Сегодня столкнулись с проблемой. Пока не понимаем, куда копать.
Есть два сервера. Оба гейты. Юзается карп + 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 из 1 Часовой пояс: UTC + 4 часа
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/