Проект

Общее

Профиль

Idrac shared or dedicated » История » Версия 3

Андрей Волков, 2020-02-14 00:51

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 2 Андрей Волков
65 1 Андрей Волков
<pre>
66
ipmitool delloem lan set shared with failover all loms
67
</pre>
68
69
<pre>
70
ERROR: Cannot set shared with failover loms when NIC is set to dedicated Mode.
71
</pre>
72
73
h2. Пробуем вариант с явным указанием shared интерфейса
74
75
<pre>
76
ipmitool delloem lan set shared with lom3
77
</pre>
78
79
<pre>
80
configured successfully
81
</pre>
82
83
Примерно через 30 idrac начинает отвечать на icmp echo запросы.
84
85
h2. Смотрим, что поменялось:
86
87
<pre>
88
ipmitool delloem lan get
89
</pre>
90
91
<pre>
92
Shared LOM   :  shared with lom3
93
Failover LOM :  None
94
</pre>
95
96
h2. Добавляем failover карты
97 3 Андрей Волков
98 1 Андрей Волков
<pre>
99
ipmitool delloem lan set shared with failover all loms
100
</pre>
101
102
<pre>
103
configured successfully
104
</pre>
105
106
Важно, слово fialover пишем с маленькой буквы! не как в help.
107
108
h2. Смотрим, что поменялось:
109
110
<pre>
111
ipmitool delloem lan get
112
</pre>
113
114
<pre>
115
Shared LOM   :  shared with lom3
116
Failover LOM :  shared with failover all loms
117
</pre>
118
119
h2. Смотрим еще раз, какая сетевая карта активна:
120
121
<pre>
122
ipmitool delloem lan get active
123
</pre>
124
125
<pre>
126
127
LOM3
128
</pre>