如何从 HPilo CLI DL380p 列出或下载 BIOS 日志

如何从 HPilo CLI DL380p 列出或下载 BIOS 日志

我环顾四周,但找不到任何命令来从 CLI 显示以下 HP 日志

  • iLO 事件日志
  • 综合管理日志
  • 主动健康日志

我也无法从 iLO 提示符显示/列出系统运行状况。惠普的人怎么了???顺便说一下,这是DL380p,它是ilo v4.0

我打算列出日志中的所有条目:像这样:(它在网络 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->

答案1

问题与 Unix/Linux 无关(可能非常遥远,因为 HP iLO 内部是基于 Linux 的,有时在解决问题时 HP 支持可以为您提供一个特殊的 iLO 版本,允许访问实际的 Linux shell :) - 我曾经使用过这样的一),但无论如何我都会回答:)

您输入的命令完全错误。让我们从仅输入 开始show。您将得到以下内容(还有更多,这是输出的重要部分):

/
  Targets
    system1
    map1

因此命令的参数可以以orshow开头。输入并查看还有哪些进一步的可能性。/system1/map1show /system1

简而言之,集成管理日志的命令是:

show /system1/log1

这将为您提供所有日志条目的列表,从record1到 - 比如说 - record200。要查看特定日志条目,请键入:

show /system1/log1/record153

嗯,虽然不是最用户友好的,但它就是这样工作的。您还可以使用以下命令一次显示所有日志条目(但输出很多!):

show -a /system1/log1

对于 iLO 事件日志,执行相同的操作,但/map1/log1使用/system1/log1.

我不知道可以从 CLI 访问 Active Health Log。

相关内容