Bios

如何從 HPilo CLI DL380p 列出或下載 BIOS 日誌

  • January 16, 2021

我環顧四周,但找不到任何命令來顯示來自 CLI 的 HP 日誌

  • iLO 事件日誌
  • 綜合管理日誌
  • 活動健康日誌

我也無法從 iLO 提示中顯示/列出系統執行狀況。惠普的人怎麼了???順便說一下,這是 DL380p,它是 iLO v4.0

我打算列出日誌中的所有條目:像這樣:(它在 Web 的 CSV 輸出中顯示的方式)

685     01/16/2021 19:59    01/16/2021 19:59    1   Browser login: <uid> - <IP_addr>(DNS name not found).
684     01/16/2021 19:53    01/16/2021 19:53    1   SSH login: <uid> - <IP_Addr>(DNS name not found).

以下不起作用…

</>hpiLO-> show ilo log all

status=2
status_tag=COMMAND PROCESSING FAILED
error_tag=INVALID OPTION
Fri Jan 15 21:38:57 2021

這不起作用….

</>hpiLO-> show /system1/log1

status=0
status_tag=COMMAND COMPLETED
Sat Jan 16 19:54:14 2021



/system1/log1
 Targets
   record1
   record2
   record3
   record4
   record5
   record6
   record7
   record8
   record9
   record10
   record11
   record12
   record13
   record14
   record15
   record16
   record17
   record18
   record19
   record20
   record21
   record22
   record23
   record24
   record25
   record26
 Properties
 Verbs
   cd version exit show delete


</>hpiLO-> show /map1/log1

status=0
status_tag=COMMAND COMPLETED
Sat Jan 16 19:54:34 2021



/map1/log1
 Targets
   record1
   record2
   record3
   record4
   record5
   record6
   record7
   record8
   record9
   record10
   record11
   record12
   record13
   record14
   record15
   record16
   record17
   record18
   record19
   record20
   record21
   record22
   record23
   record24
   record25
   record26
   record27
   record28
   record29
   record30
   record31
   record32
   record33
   record34
   record35
   record36
   record37
   record38
   record39
   record40
   record41
   record42
   record43
   record44
   record45
   record46
   record47
   record48
   record49
   record50
   record51
   record52
   record53
   record54
   record55
   record56
   record57
   record58
   record59
   record60
   record61
   record62
   record63
   record64
   record65
   record66
   record67
   record68
   record69
   record70
   record71
   record72
   record73
   record74
   record75
   record76
   record77
   record78
   record79
   record80
   record81
   record82
   record83
   record84
   record85
   record86
   record87
   record88
   record89
   record90
   record91
   record92
   record93
   record94
   record95
   record96
   record97
   record98
   record99
   record100
   record101
   record102
   record103
   record104
   record105
   record106
   record107
   record108
   record109
   record110
   record111
   record112
   record113
   record114
   record115
   record116
   record117
   record118
   record119
   record120
   record121
   record122
   record123
   record124
   record125
   record126
   record127
   record128
   record129
   record130
   record131
   record132
   record133
   record134
   record135
   record136
   record137
   record138
   record139
   record140
   record141
   record142
   record143
   record144
   record145
   record146
   record147
   record148
   record149
   record150
   record151
   record152
   record153
   record154
   record155
   record156
   record157
   record158
   record159
   record160
   record161
   record162
   record163
   record164
   record165
   record166
   record167
   record168
   record169
   record170
   record171
   record172
   record173
   record174
   record175
   record176
   record177
   record178
   record179
   record180
   record181
   record182
   record183
   record184
   record185
   record186
   record187
   record188
   record189
   record190
   record191
   record192
   record193
   record194
   record195
   record196
   record197
   record198
   record199
   record200
   record201
   record202
   record203
   record204
   record205
   record206
   record207
   record208
   record209
   record210
   record211
   record212
   record213
   record214
   record215
   record216
   record217
   record218
   record219
   record220
   record221
   record222
   record223
   record224
   record225
   record226
   record227
   record228
   record229
   record230
   record231
   record232
   record233
   record234
   record235
   record236
   record237
   record238
   record239
   record240
   record241
   record242
   record243
   record244
   record245
   record246
   record247
   record248
   record249
   record250
   record251
   record252
   record253
   record254
   record255
   record256
   record257
   record258
   record259
   record260
   record261
   record262
   record263
   record264
   record265
   record266
   record267
   record268
   record269
   record270
   record271
   record272
   record273
   record274
   record275
   record276
   record277
 Properties
 Verbs
   cd version exit show delete


</>hpiLO->

問題與 Unix/Linux 無關(可能非常遙遠,因為 HP iLO 內部基於 Linux,有時 HP iLO 支持在解決問題時可以為您提供一個特殊的 iLO 建構,允許訪問實際的 Linux shell :) - 我曾經使用過這樣的一),但無論如何我都會回答:)

您鍵入的命令完全錯誤。讓我們從鍵入開始show。您將獲得以下資訊(還有更多,這是輸出的重要部分):

/
 Targets
   system1
   map1

所以showcommand 的參數可以以/system1or開頭/map1。鍵入show /system1並查看進一步的可能性。

簡而言之,集成管理日誌的命令是:

show /system1/log1

這將為您提供所有日誌條目的列表,從record1到 - 比如說 - record200。要查看特定日誌條目,請鍵入:

show /system1/log1/record153

好吧,不是大多數使用者友好的,但這就是它的工作原理。您還可以使用以下命令一次顯示所有日誌條目(但輸出量很大!):

show -a /system1/log1

對於 iLO 事件日誌,執行相同操作,但使用/map1/log1而不是/system1/log1.

我不知道從 CLI 訪問 Active Health Log 的可能性。

引用自:https://unix.stackexchange.com/questions/629377