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 32

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 the Version Information About a Device (version)

Function

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

Format

ipmcget -d version

Parameters

None

Usage Guidelines

None

Example

# Query the version information about a 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
------------------- iBMC INFO -------------------
IPMC               CPU:           Hi1710
IPMI           Version:           2.0
CPLD           Version:           (U7)1.01
Active iBMC    Version:           (U4000)1.03
Active iBMC      Build:           001
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 the information about the FRUs.

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 the Health Status of the System (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 the Health Event Information About the System (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 the 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 the Information of Port 80 (port80)

Function

The port80 command is used to query the current and history information of port 80.

Format

ipmcget -d port80

Parameters

None

Usage Guidelines

The switch module does not support the command.

Example

# Query the current and history information of port 80. The value in square brackets is the current value.

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

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

The switch module does not support the 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 Indicates the operation to be set.
  • list: lists all SEL records of the system.
  • info: queries the usage of SEL records.
  • suggestion: queries the suggestions of a specified SEL.
NOTE:
The system stores a maximum of 4000 logs. When the 4001st log is generated, the system automatically deletes the earliest 2000 logs, and the new log number starts with 2001.
sel_id Specifies the ID of the SEL whose suggestions are to be obtained. The suggestions can be obtained from the output of the list operation.
NOTE:
This parameter is available only when the suggestion operation is performed.
clear Clear all SELs. Cleared SELs cannot be recovered. -

Usage Guidelines

None

Example

# Query the usage of SEL records.

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

# Query the suggestions of the SEL whose ID is 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 the Operation Log (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 the Systemcom Data (systemcom)

Function

The systemcom command is used to download the serial over lan (SOL) file.

Format

ipmcget -d systemcom

Parameters

None

Usage Guidelines

The switch module does not support the command.

Before running this command, ensure that the function for downloading data over the serial port is enabled on the 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 the SOL file.

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

  • The switch module does not support the 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 the black box file.

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 the BIOS to /tmp.

Format

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

Parameters

Parameter Description Value
option Indicates to download the BIOS to /tmp or not. 1 : Indicates to download the BIOS to /tmp.
NOTE:
Currently, the value of option is only 1.

Usage Guidelines

The switch module does not support the 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 Indicates the BIOS upgrade file path.

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 by 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 State of iBMC Network Interface (ethlink)

Function

The maintenance -d ethlink command is used to set the state of iBMC network interface.

Format

ipmcset -t maintenance -d ethlink -v <ethname> <action>

Parameters

Parameter Description Value
ethname The name of iBMC network interface eth0, eth1, eth2, and eth3

The number of iBMC ports varies with servers.

action The network interface state
  • enable
  • disable

Usage Guidelines

The switch modules do not support the command.

Example

# Enable eth2.

iBMC:/->ipmcset -t maintenance -d ethlink -v eth2 enable
WARNING: This operation will enable eth2.
Do you want to continue?[Y/N]:y
enable eth2 successfully.

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 Factory Settings (restore)

Function

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

Format

ipmcset -d restore

Parameters

None

Usage Guidelines

None

Example

# Restore the 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 current chassis number.

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

Enabling or Disabling the CLP Notimeout Function (notimeout)

Function

The notimeout command is used to enable or disable the CLP notimeout function. After this command is executed, you need to exit and re-log in to iBMC for the setting to take effect.

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.

Update system workkey (workkey)

Function

The workkey command is used to Update system workkey.

Format

ipmcset -d workkey

Parameters

None

Usage Guidelines

None

Example

# Update system workkey.

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

Querying and Setting BIOS Print Enablement Status (biosprint)

Function

The biosprint command is used to query and set the BIOS print enablement status.

Format

ipmcget -t maintenance -d biosprint

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

Parameters

Parameter Description Value
<option> BIOS print enablement status.
  • 1: forcibly enables BIOS print.
  • 2: uses the BIOS print enablement status in the BIOS menu. When the server is powered on, the BIOS print enablement status depends on the setting in the BIOS menu.

Usage Guidelines

None

The switch modules do not support the command.

Example

# Enable BIOS print.

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

# Query the BIOS print enablement status.

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

Document ID: EDOC1000058833

Views: 229984

Downloads: 1939

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