Проект

Общее

Профиль

Действия

Idrac переключение сетевых карт

Все управление идет через ipmitool

Смотрим текущий режим:

ipmitool delloem lan get
dedicated

Смотрим, какая сетевая карта активна:

ipmitool delloem lan get active
None

Переключаем режим

Справка

ipmitool delloem lan set

   lan set <Mode>
      sets the NIC Selection Mode :
          on iDRAC12g OR iDRAC13g  :
              dedicated, shared with lom1, shared with lom2,shared with lom3,shared
              with lom4,shared with failover lom1,shared with failover lom2,shared
              with failover lom3,shared with failover lom4,shared with Failover all
              loms, shared with Failover None).
          on other systems :
              dedicated, shared, shared with failover lom2,
              shared with Failover all loms.

   lan get 
          on iDRAC12g or iDRAC13g  :
              returns the current NIC Selection Mode (dedicated, shared with lom1, shared
              with lom2, shared with lom3, shared with lom4,shared with failover lom1,
              shared with failover lom2,shared with failover lom3,shared with failover
              lom4,shared with Failover all loms,shared with Failover None).
          on other systems :
              dedicated, shared, shared with failover,
              lom2, shared with Failover all loms.

   lan get active
      returns the current active NIC (dedicated, LOM1, LOM2, LOM3, LOM4).

Режимы указывают БЕЗ КАВЫЧЕК

В нашем случае сервер PowerEdge R730xd (iDRAC8==iDRAC13G)

Пробуем сменить на shared

ipmitool delloem lan set shared with failover all loms
ERROR: Cannot set shared with failover loms when NIC is set to dedicated Mode.

Пробуем вариант с явным указанием shared интерфейса

ipmitool delloem lan set shared with lom3
configured successfully

Примерно через 30 idrac начинает отвечать на icmp echo запросы.

Смотрим, что поменялось:

ipmitool delloem lan get
Shared LOM   :  shared with lom3
Failover LOM :  None

Добавляем failover карты

ipmitool delloem lan set shared with failover all loms
configured successfully

Важно, слово fialover пишем с маленькой буквы! не как в help.

Смотрим, что поменялось:

ipmitool delloem lan get
Shared LOM   :  shared with lom3
Failover LOM :  shared with failover all loms

Смотрим еще раз, какая сетевая карта активна:

ipmitool delloem lan get active

LOM3

Обновлено Андрей Волков почти 5 года назад · 3 изменени(я, ий)