No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Pro E9000 Server iBMC (Earlier Than V250) User Guide 31

This document describes the underlying management software Intelligent Baseboard Management Controller (iBMC) of the servers.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
System Commands

System Commands

Querying the System Name (systemname)

Function

The systemname command is used to query the system name.

Format

ipmcget -t smbios -d systemname

Parameters

None

Usage Guidelines

None

Example

# Query the system name.

iBMC:/->ipmcget -t smbios -d systemname
System name is: xxxxx

Querying the iBMC Time (time)

Function

The time command is used to query the iBMC time.

Format

ipmcget -d time

Parameters

None

Usage Guidelines

None

Example

# Query the iBMC time.

iBMC:/->ipmcget -d time
2014-06-28 Saturday 16:43:51 GMT+08:00

Querying Device Version Information (version)

Function

The version command is used to query the version information about the device.

Format

ipmcget -d version

Parameters

None

Usage Guidelines

None

Example

# Query version information about the device.

iBMC:/->ipmcget -d version
------------------- iBMC INFO -------------------
IPMC               CPU:           Hi1710
IPMI           Version:           2.0
CPLD           Version:           (U7)1.01
Active iBMC    Version:           (U4000)1.03
Active iBMC      Built:           21:14:09 Sep  3 2014
Backup iBMC    Version:           1.02
SDK            Version:           1.39
SDK              Built:           14:42:37 Aug 23 2014
Active Uboot   Version:           1.1.26 (Jun 20 2014 - 14:28:52)
Backup Uboot   Version:           1.1.26 (Jun 20 2014 - 14:28:52)
IPMB           Address:           0x82
----------------- Product INFO -----------------
Product             ID:           0x0004
Product           Name:           CH121 V3
BIOS           Version:           (U47)0.00
-------------- Mother Board INFO ---------------
SGCA           BoardID:           0x0040
SGCA               PCB:           .B
Cypress FX3S   Version:           (U21)
---------------- Raid Card INFO ----------------
RU120          BoardID:           0x0021
RU120              PCB:           .A
---------------- Mezz Card INFO ----------------
MZ510          BoardID:           0x0083
MZ510              PCB:           .A

Querying FRU Information (fruinfo)

Function

The fruinfo command is used to query information about the FRUs except the PSUs, which include the mainboard, RAID controller card, mezzanine card, hard disk backplane, PCIe rsier card, and GPU board.

Format

ipmcget [-t fru0] -d fruinfo

Parameters

None

Usage Guidelines

None

Example

# Query information about the FRUs of the server.

iBMC:/->ipmcget -d fruinfo
FRU Device Description : Builtin FRU Device (ID 0, SGCA)
 Board Mfg. Date       : 1996/01/01 Mon 00:00:00
 Board Manufacturer    : Huawei Technologies Co., Ltd.
 Board Product Name    : CH121
 Product Manufacturer  : Huawei Technologies Co., Ltd.

FRU Device Description : Builtin FRU Device (ID 2, MZ510)
 Board Mfg. Date       : 1996/01/01 Mon 00:00:00
 Board Manufacturer    : 3
 Board Product Name    : 3
 Product Manufacturer  : Huawei Technologies Co., Ltd.

Querying System Health Status (health)

Function

The health command is used to query the health status of the system.

Format

ipmcget [-t fru0] -d health

Parameters

None

Usage Guidelines

None

Example

# Query the health status of the system.

iBMC:/->ipmcget -d health
System in health state.

Querying System Health Event Information (healthevents)

Function

The healthevents command is used to query the health event information about the system.

Format

ipmcget [-t fru0] -d healthevents

Parameters

None

Usage Guidelines

None

Example

# Query health event information about the system.

iBMC:/->ipmcget -d healthevents
Event Num  | Event Time           | Alarm Level  | Event Code   | Event Description
1          | 2016-10-17 06:27:14  | Minor        | 0x01000021   | Failed to obtain data of the CPU 1 DIMM VDDQ2 voltage.
2          | 2016-10-17 10:24:43  | Critical     | 0x01000015   |  DIMM020 DIMM  configuration error or training failed.
3          | 2016-10-17 10:24:43  | Major        | 0x01000017   |  DIMM012 DIMM  triggered an uncorrectable error, .
4          | 2016-10-17 10:24:43  | Critical     | 0x01000015   |  DIMM001 DIMM  configuration error or training failed.
5          | 2016-10-17 08:47:27  | Major        | 0x03000009   | [Mock]PSU 1 failure.
6          | 2016-10-17 07:40:57  | Minor        | 0x0D000003   | The NIC 1 temperature (150 degrees C) exceeds the overtemperature threshold (100 degrees C).
7          | 2016-10-17 07:04:47  | Major        | 0x2100000B   | Data rebuild failed at SD card 2.
8          | 2016-10-17 06:33:21  | Major        | 0x2C000029   | The OS is forcibly powered off and on due to the watchdog timeout.

Querying Port 80 Information (port80)

Function

The port80 command is used to query information about port 80.

Port 80 can be used to output BIOS state code generated during the BIOS startup process. The BIOS state code information helps locate fault in troubleshooting.

Format

ipmcget -d port80

Parameters

None

Usage Guidelines

Switch modules do not support this command.

Example

# Query information about port 80.

iBMC:/->ipmcget -d port80
port80 diagnose code:
[00]-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00
00-00-00-00-00-00-00-00--00-00-00-00-00-00-00-00

The value in square brackets is the current value.

Querying the Serial Number of the Server (serialnumber)

Function

The serialnumber command is used to query the serial number of the server.

Format

ipmcget [-t smbios] -d serialnumber

Parameters

None

Usage Guidelines

Switch modules do not support this command.

Example

# Query the server SN.

iBMC:/->ipmcget -d serialnumber
System SN is:4444444444444444444444

Querying and Clearing SEL Information (sel)

Function

The sel command is used to query and clear system event log (SEL) information.

Format

ipmcget -d sel -v <option> [sel_id]

ipmcset [-t fru0] -d sel -v clear

Parameters

Parameter Description Value
option Specifies the operation to be performed.
  • list: lists all SEL records.
  • info: queries the usage of SEL records.
  • suggestion: queries the handling suggestion of a specified SEL.
NOTE:
A maximum of 4000 SEL records can be stored. If more SEL records are generated, the system automatically deletes the earliest 2000 SEL records and numbers the new SEL records from 2001.
sel_id Identifies an SEL.

This parameter is valid only when the suggestion operation is to be performed.

You can perform the list operation to obtain the sel_id.

clear

Clears all SELs.

NOTE:

Cleared SELs cannot be restored.

-

Usage Guidelines

None

Example

# Query SEL records.

iBMC:/->ipmcget -d sel -v info
SEL Information
Version               :1.0.0
Current Event Number  :  147
Max Event Number      :  4000

# Query the handling suggestion of SEL 146.

iBMC:/->ipmcget -d sel -v suggestion 146
ID                  :  146
Generation Time     :  2016-10-26 03:26:23
Severity            :  Minor
Event Code          :  0x12000013
Status              :  Asserted
Event Description   :  [Mock]Failed to obtain data of the air inlet temperature
Suggestion          :  1. Restart the iBMC.
                       2. Remove and reconnect power cables or remove and reinstall the board in the chassis.

Querying Operation Logs (operatelog)

Function

The operatelog command is used to query the system operation log.

Format

ipmcget -d operatelog

Parameters

None

Usage Guidelines

When the operation log reaches 200 KB, it will be automatically compressed. When a new compressed package is generated, the old compressed package will be automatically deleted.

Example

# Query the operation log.

iBMC:/->ipmcget -d operatelog
2013-11-12 18:27:36 CLI,root@128.5.197.2,Cooling,Set fan manual mode expired time (300) seconds
2013-11-12 18:27:36 CLI,root@128.5.197.2,Cooling,Set fan mode (manual)
2013-11-12 18:23:19 CLI,root@128.5.197.2,Cooling,Set fan manual mode expired time (60) seconds
2013-11-12 18:23:19 CLI,root@128.5.197.2,Cooling,Set fan mode (manual)
2013-11-12 18:18:48 CLI,root@128.5.197.2,Cooling,Set fan level (80)
2013-11-12 18:18:45 CLI,root@128.5.197.2,Cooling,Set fan manual mode expired time (30) seconds
2013-11-12 18:18:45 CLI,root@128.5.197.2,Cooling,Set fan mode (manual)
2013-11-12 18:18:28 CLI,root@128.5.197.2,Cooling,Set fan level (80)
2013-11-12 18:17:43 CLI,root@128.5.197.2,Cooling,Set fan level (80)
2013-11-12 18:13:37 CLI,root@128.5.197.2,Led,Set UID identify force on
2013-11-12 17:56:11 CLI,root@128.5.197.2,User,Modify user(mytest|user5) password
2013-11-12 17:56:02 CLI,root@128.5.197.2,User,Add user5's username (mytest)
2013-11-12 17:51:44 CLI,root@128.5.197.2,diagnose,Download black box data
2013-11-12 17:51:24 CLI,root@128.5.197.2,diagnose,Download System COM data
2013-11-12 17:29:43 CLI,root@128.5.197.2,BMC,Set time zone to (+8:00)
2013-11-12 09:18:11 CLI,root@128.5.197.2,Payload,Set graceful shutdown timeout to (600) seconds
2013-11-12 08:59:00 CLI,root@128.5.197.2,sensor_alarm,Set SNMP trap severity filter alarm to (Minar )
2013-11-12 08:45:45 CLI,root@128.5.197.2,sensor_alarm,Set SNMP trap destination 1 address to (10.10.10.10)
2013-11-12 08:41:55 CLI,root@128.5.197.2,sensor_alarm,Set SNMP trap community to (mytrap)
2013-11-12 08:22:22 CLI,root@128.5.197.2,sensor_alarm,Enable SNMP trap destination 1
Input 'q' to quit:

Downloading System Serial Port Data (systemcom)

Function

The systemcom command is used to download data that is output from the system serial port.

Format

ipmcget -d systemcom

Parameters

None

Usage Guidelines

Switch modules do not support this command.

Before running this command, ensure that Serial Port Data is set to on the Diagnosis > Serial Port Data page of the iBMC WebUI.

To view the Systemcom data, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the serial port data (for example systemcom.tar) from the /tmp directory to the local PC.

Example

# Download system serial port data.

iBMC:/->ipmcget -d systemcom
Download System Com data to /tmp/systemcom.tar successfully.

Downloading the Black Box File (blackbox)

Function

The blackbox command is used to download the black box file.

Format

ipmcget -d blackbox

Parameters

None

Usage Guidelines

  • Switch modules do not support this command.

  • The black box stores the kernel information of the server before a critical fault such as OS breakdown occurs.

  • The black box function can be used only after the fault monitoring software (for example, iBMA) is installed on the server. For details about how to parse black box data, see iBMA User Guide.

  • Before running this command, ensure that the black box function is enabled on the Diagnosis > Black Box page of the iBMC WebUI. For more details, see Black Box.

  • To view the black box file, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the blackbox.tar file from the /tmp directory to the local PC.

Example

# Download black box data.

iBMC:/->ipmcget -d blackbox
Downloading...
100%
Download Black Box data to /tmp/blackbox.tar successfully.

Downloading the BIOS (download)

Function

The maintenance -d download command is used to download BIOS data to /tmp.

Format

ipmcset -t maintenance -d download –v <option>

Parameters

Parameter Description Value
option Specifies the destination directory to which the BIOS data is downloaded. The value must be 1, which indicates /tmp.
NOTE:
Currently, the value of option is only 1.

Usage Guidelines

Switch modules do not support this command.

To prevent timeout, disable the CLP timeout feature before downloading BIOS data. For details, see Disabling the CLP Timeout Feature (notimeout).

To view the BIOS data, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the file (for example bios.bin) from the /tmp directory to the local PC.

Example

# Download the BIOS file bios.bin to /tmp.

iBMC:/->ipmcset -t maintenance -d download –v 1
Download /tmp/bios.bin.
Downloading BIOS... 
Download BIOS successfully.

Upgrading the BIOS (upgradebios)

Function

The maintenance -d upgradebios command is used to upgrade the BIOS.

Format

ipmcset -t maintenance -d upgradebios -v filepath

Parameters

Parameter Description Value
filepath Specifies the path of the BIOS upgrade file.

For example, /tmp/biosimage.hpm.

Usage Guidelines

Switch modules do not support this command.

  • Before running this command, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the upgrade file to the specified directory (for example /tmp) of the iBMC file system.

  • Both the maintenance -d upgradebios and upgrade commands can be used to upgrade the BIOS, the difference is as follows:

    • To use the maintenance -d upgradebios command, you need to power off the OS. To use the upgrade command, you can choose to power off the OS or not.

    • If the maintenance -d upgradebios command is used, default BIOS settings are restored after the upgrade.

    • If the upgrade command is used, system settings will not be changed. For details, see Upgrading the Firmware (upgrade).

Example

# Upgrade the BIOS using the /tmp/biosimage.hpm file.

iBMC:/->ipmcset -t maintenance -d upgradebios -v /tmp/biosimage.hpm
Please make sure the iBMC is working while upgrading.
Updating...
System needs two minutes time to prepare.
<100%>
Update successfully.

Setting the iBMC Network Port State (ethlink)

Usage Guidelines

Switch modules do not support this command.

Collecting Diagnosis Information (diaginfo)

Function

The diaginfo command is used to collect diagnosis information about the system. For more details, see One-Click Information Collection.

Format

ipmcget -d diaginfo

Parameters

None

Usage Guidelines

To view the collected information, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the file (for example dump_info.tar.gz) from the /tmp directory to the local PC.

Example

# Collect diagnosis information about the system.

iBMC:/->ipmcget -d diaginfo
Download diagnose info to /tmp/ successfully.

Restoring the iBMC Factory Settings (restore)

Function

The restore command is used to restore the iBMC factory settings. The iBMC restarts after this command is executed.

Format

ipmcset -d restore

Parameters

None

Usage Guidelines

None

Example

# Restore the iBMC factory settings.

iBMC:/->ipmcset -d restore
WARNING: The iBMC will automatically restart and restore factory settings. Continue? [Y/N]:Y
Restore factory setting successfully.

Querying the Chassis Number

Function

The chassisnum command is used to query the chassis number.

Format

ipmcget -d chassisnum

Parameters

None

Usage Guidelines

None

Example

# Query the chassis number.

iBMC:/->ipmcget -d chassisnum
Chassis Number : 51000

Setting CLP Notimeout

Function

The notimeout command is used to enable or disable the CLP notimeout function. The setting takes effect only after you exit and log in to iBMC CLI again.

By default, the CLP notimeout function is disabled.

Format

ipmcset -d notimeout -v <enabled | disabled>

Parameters

Parameter Description Value
enabled Enables the CLP notimeout function.

-

disabled Disables the CLP notimeout function.

-

Usage Guidelines

None

Example

# Enable the CLP notimeout function.

iBMC:/->ipmcset -d notimeout -v enabled
Set no timeout state successfully.

# Disable the CLP notimeout function.

iBMC:/->ipmcset -d notimeout -v disabled
Set no timeout state successfully.

Updating the System Workkey (workkey)

Function

The workkey command is used to update the system workkey.

Format

ipmcset -d workkey

Parameters

None

Usage Guidelines

None

Example

# Update the system workkey.

iBMC:/->ipmcset -d workkey
Update system workkey successfully.

Querying and Setting BIOS Debug (biosprint)

Function

The biosprint command is used to query and set BIOS debug. If BIOS debug is enabled, debug information will be sent to the serial port during the POST process.

Format

ipmcget -t maintenance -d biosprint

ipmcset -t maintenance -d biosprint -v <option>

Parameters

Parameter Description Value
<option> Specifies the operation to be performed.
  • 1: forcibly enables BIOS debug.
  • 2: applies the setting on the BIOS.

Usage Guidelines

None

Switch modules do not support this command.

Example

# Enable BIOS print.

iBMC:/->ipmcset -t maintenance -d biosprint -v 1
WARNING: Setting BIOS debug info enbale will make system start slow. Do you want to continue?[Y/N]y
Set BIOS debug info enable successfully

# Query the BIOS print status.

iBMC:/->ipmcget -t maintenance -d biosprint
BIOS debug info enable
Translation
Download
Updated: 2019-08-01

Document ID: EDOC1000058833

Views: 204482

Downloads: 1934

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next