Проект

Общее

Профиль

Idrac shared or dedicated » История » Редакция 2

Редакция 1 (Андрей Волков, 2020-02-14 00:50) → Редакция 2/3 (Андрей Волков, 2020-02-14 00:51)

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

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

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

 <pre> 
 ipmitool delloem lan get 
 </pre>  

 <pre> 
 dedicated 
 </pre> 

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

 <pre> 
 ipmitool delloem lan get active 
 </pre> 

 <pre> 
 None 
 </pre> 

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


 h3. Справка 

 <pre> 
 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). 

 </pre> 

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

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

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

 
 <pre> 
 ipmitool delloem lan set shared with failover all loms 
 </pre> 

 <pre> 
 ERROR: Cannot set shared with failover loms when NIC is set to dedicated Mode. 
 </pre> 

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

 <pre> 
 ipmitool delloem lan set shared with lom3 
 </pre> 

 <pre> 
 configured successfully 
 </pre> 

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

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

 <pre> 
 ipmitool delloem lan get 
 </pre> 

 <pre> 
 Shared LOM     :    shared with lom3 
 Failover LOM :    None 
 </pre> 

 h2. Добавляем failover карты 
 <pre> 
 ipmitool delloem lan set shared with failover all loms 
 </pre> 

 <pre> 
 configured successfully 
 </pre> 

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

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

 <pre> 
 ipmitool delloem lan get 
 </pre> 

 <pre> 
 Shared LOM     :    shared with lom3 
 Failover LOM :    shared with failover all loms 
 </pre> 

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

 <pre> 
 ipmitool delloem lan get active 
 </pre> 

 <pre> 

 LOM3 
 </pre>