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

X6800 Server Node iBMC (Earlier Than V250) User Guide 30

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

This topic describes all 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

Setting the Time Zone (timezone)

Function

The timezone command is used to set the time zone.

Format

ipmcset -d timezone -v <timezone>

Parameters

Parameter Description Value
timezone Time zone.

The value range is -12:00 to +13:00. For example, +8:00, and -4:30.

You can view the supported time zones on the System Settings page of the iBMC WebUI.

Usage Guidelines

None

Example

# Set the iBMC time zone to +8:00.

iBMC:/->ipmcset -d timezone -v +8:00
Set time zone successfully.

# Query the iBMC time zone.

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

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

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                     | Entity Name          | Sensor Name          | Alarm level  | Event Desc
1          | 2013-11-11 Monday 16:53:11     | MainBoard            | HDD Backplane        | Major        | Incorrect cable connected/Incorrect interconnection
2          | 2013-11-11 Monday 16:53:12     | MainBoard            | FAN1 F Presence      | Major        | Device Removed / Device Absent
3          | 2013-11-11 Monday 16:53:12     | MainBoard            | FAN1 R Presence      | Major        | Device Removed / Device Absent
4          | 2013-11-11 Monday 16:53:12     | MainBoard            | FAN2 F Presence      | Major        | Device Removed / Device Absent
5          | 2013-11-11 Monday 16:53:12     | MainBoard            | FAN2 R Presence      | Major        | Device Removed / Device Absent
6          | 2013-11-11 Monday 16:53:12     | MainBoard            | FAN4 F Presence      | Major        | Device Removed / Device Absent
7          | 2013-11-11 Monday 16:53:13     | MainBoard            | FAN4 R Presence      | Major        | Device Removed / Device Absent
8          | 2013-11-11 Monday 16:53:13     | Cpu1                 | CPU1 Status          | Critical     | Configuration error
9          | 2013-11-11 Monday 16:54:16     | MainBoard            | Mngmnt Health        | Minor        | Sensor access degraded or unavailable, Sensor is InletTemp

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

None

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

None

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>

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. If there are 2000 SELs, the system compresses the SELs and saves them as history records.
  • info: queries the usage of SEL records.
  • history: lists the last SEL compression record.
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.5 (v1.5, v2.0 compliant)
Entries          :507
Free Space       :23888 bytes
Percent Used     :25
Last Add Time    :2013-11-11 Monday 16:54:16
Last Del Time    :1970-01-02 Friday 02:12:15
# of Alloc Units :2000
Alloc Unit Size  :16
# Free Units     :1493
Largest Free blk :1493
Max Record Size  :16

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

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 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(downloadbios)

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

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

  • 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.

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

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 Automatic Discovery Configuration (autodiscovery)

Function

The autodiscovery command is used to query and set the automatic discovery function.

Format

ipmcget -d autodiscovery

ipmcset -d autodiscovery -v <enable>/<disable> [option(0/1)] [netport]

Parameters

Parameter Description Value
enabled/disable Enables or disables the automatic discovery function.
  • enable: Enables automatic discovery.
  • disable: Disables automatic discovery.
option Specifies a network segment.
  • 0: Broadcasts to 255.255.255.255
  • 1: Subnet broadcast address
netport Specifies the port number. 0 to 65535

Usage Guidelines

None

Example

# Query configuration of the automatic discovery function.

iBMC:/->ipmcget -d autodiscovery
State         : disabled
Broadcast     : 255.255.255.255
NetPort       : 26957

# Enable the automatic discovery function.

iBMC:/->ipmcset -d autodiscovery -v enable 0 26957
Set state to (enable) successfully.
Set broadcast to (255.255.255.255) successfully.
Set netport to (26957) successfully.

Querying and Setting Controlled Power-on Configuration (poweronpermit)

Function

The poweronpermit command is used to query and set the controlled power-on function.

Format

ipmcget -d poweronpermit

ipmcset -d poweronpermit -v <enable | disable> [ip] [netport]

Parameters

Parameter Description Value
enable Enables the controlled power-on function. -
disable Disables the controlled power-on function. -
ip Specifies the server IP address. -
netport Specifies the port number. 0 to 65535

Usage Guidelines

None

Example

# Query configuration of the controlled power-on function.

iBMC:/->ipmcget -d poweronpermit
State         : enabled
ManagerIP     : 192.168.1.1
ManagerPort   : 26957

# Enable the controlled power-on function.

iBMC:/->ipmcset -d poweronpermit -v enable 192.168.1.1 26957
Set poweronpermit successfully.
Translation
Download
Updated: 2019-06-04

Document ID: EDOC1000066341

Views: 145285

Downloads: 1083

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