Idrac shared or dedicated » История » Версия 1
Андрей Волков, 2020-02-14 00:50
| 1 | 1 | Андрей Волков | h1. Idrac переключение сетевых карт |
|---|---|---|---|
| 2 | |||
| 3 | Все управление идет через ipmitool |
||
| 4 | |||
| 5 | h2. Смотрим текущий режим: |
||
| 6 | |||
| 7 | <pre> |
||
| 8 | ipmitool delloem lan get |
||
| 9 | </pre> |
||
| 10 | |||
| 11 | <pre> |
||
| 12 | dedicated |
||
| 13 | </pre> |
||
| 14 | |||
| 15 | h2. Смотрим, какая сетевая карта активна: |
||
| 16 | |||
| 17 | <pre> |
||
| 18 | ipmitool delloem lan get active |
||
| 19 | </pre> |
||
| 20 | |||
| 21 | <pre> |
||
| 22 | None |
||
| 23 | </pre> |
||
| 24 | |||
| 25 | h2. Переключаем режим |
||
| 26 | |||
| 27 | |||
| 28 | h3. Справка |
||
| 29 | |||
| 30 | <pre> |
||
| 31 | ipmitool delloem lan set |
||
| 32 | |||
| 33 | lan set <Mode> |
||
| 34 | sets the NIC Selection Mode : |
||
| 35 | on iDRAC12g OR iDRAC13g : |
||
| 36 | dedicated, shared with lom1, shared with lom2,shared with lom3,shared |
||
| 37 | with lom4,shared with failover lom1,shared with failover lom2,shared |
||
| 38 | with failover lom3,shared with failover lom4,shared with Failover all |
||
| 39 | loms, shared with Failover None). |
||
| 40 | on other systems : |
||
| 41 | dedicated, shared, shared with failover lom2, |
||
| 42 | shared with Failover all loms. |
||
| 43 | |||
| 44 | lan get |
||
| 45 | on iDRAC12g or iDRAC13g : |
||
| 46 | returns the current NIC Selection Mode (dedicated, shared with lom1, shared |
||
| 47 | with lom2, shared with lom3, shared with lom4,shared with failover lom1, |
||
| 48 | shared with failover lom2,shared with failover lom3,shared with failover |
||
| 49 | lom4,shared with Failover all loms,shared with Failover None). |
||
| 50 | on other systems : |
||
| 51 | dedicated, shared, shared with failover, |
||
| 52 | lom2, shared with Failover all loms. |
||
| 53 | |||
| 54 | lan get active |
||
| 55 | returns the current active NIC (dedicated, LOM1, LOM2, LOM3, LOM4). |
||
| 56 | |||
| 57 | </pre> |
||
| 58 | |||
| 59 | Режимы указывают *БЕЗ КАВЫЧЕК* |
||
| 60 | |||
| 61 | В нашем случае сервер PowerEdge R730xd (iDRAC8==iDRAC13G) |
||
| 62 | |||
| 63 | h2. Пробуем сменить на shared |
||
| 64 | <pre> |
||
| 65 | ipmitool delloem lan set shared with failover all loms |
||
| 66 | </pre> |
||
| 67 | |||
| 68 | <pre> |
||
| 69 | ERROR: Cannot set shared with failover loms when NIC is set to dedicated Mode. |
||
| 70 | </pre> |
||
| 71 | |||
| 72 | h2. Пробуем вариант с явным указанием shared интерфейса |
||
| 73 | |||
| 74 | <pre> |
||
| 75 | ipmitool delloem lan set shared with lom3 |
||
| 76 | </pre> |
||
| 77 | |||
| 78 | <pre> |
||
| 79 | configured successfully |
||
| 80 | </pre> |
||
| 81 | |||
| 82 | Примерно через 30 idrac начинает отвечать на icmp echo запросы. |
||
| 83 | |||
| 84 | h2. Смотрим, что поменялось: |
||
| 85 | |||
| 86 | <pre> |
||
| 87 | ipmitool delloem lan get |
||
| 88 | </pre> |
||
| 89 | |||
| 90 | <pre> |
||
| 91 | Shared LOM : shared with lom3 |
||
| 92 | Failover LOM : None |
||
| 93 | </pre> |
||
| 94 | |||
| 95 | h2. Добавляем failover карты |
||
| 96 | <pre> |
||
| 97 | ipmitool delloem lan set shared with failover all loms |
||
| 98 | </pre> |
||
| 99 | |||
| 100 | <pre> |
||
| 101 | configured successfully |
||
| 102 | </pre> |
||
| 103 | |||
| 104 | Важно, слово fialover пишем с маленькой буквы! не как в help. |
||
| 105 | |||
| 106 | h2. Смотрим, что поменялось: |
||
| 107 | |||
| 108 | <pre> |
||
| 109 | ipmitool delloem lan get |
||
| 110 | </pre> |
||
| 111 | |||
| 112 | <pre> |
||
| 113 | Shared LOM : shared with lom3 |
||
| 114 | Failover LOM : shared with failover all loms |
||
| 115 | </pre> |
||
| 116 | |||
| 117 | h2. Смотрим еще раз, какая сетевая карта активна: |
||
| 118 | |||
| 119 | <pre> |
||
| 120 | ipmitool delloem lan get active |
||
| 121 | </pre> |
||
| 122 | |||
| 123 | <pre> |
||
| 124 | |||
| 125 | LOM3 |
||
| 126 | </pre> |