Set partition config Command
更新时间: 2026/08/06
在Gitcode上查看源码

Set partition config Command

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

This command is used to set the partition configuration (for 8P servers or later).

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD97h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4Sub command, subcommand = 06h
5Parameter selector. For details, see Table 1.
6:NConfiguration parameter datar

Response Information

ByteData Field
1Completion Code
80h=parameter not supported.
81h=attempt to set the 'set in progress' value (in parameter #0) when not in the 'set complete' sate. (This completion code provides a way to recognize that another party has already 'claimed' the parameters.)
82h=attempt to write read-only parameter
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.

Reference Information

Table 1 Switch Info Parameters

Parameter#Description
partition config00hdata1-cpu num (Total number of CPUs in a physical partition)
ffh initial (initial state)
data2-role (BMC role in a physical partition)
00h: resource type
01h Ultra BMC
02h Intra BMC 1
03h Intra BMC 2
......
08h Intra BMC 7
ffh initial (initial state)
hardware interface config01hdata1-interface type Selector (function to be switched)
00h DVD
01h VGA
02h USB
03h LCD
FFh ALL
data2-board to attach (BMC to which the port is switched)
00h Active BMC
01h slave BMC
partition map02hdata1-node num (Number of nodes in a physical partition, corresponding to N. The 9032 nodes are a collection of objects managed by a single BMC.)
data2 corresponds to the slot of the Ultra node.
data3 corresponds to the slot of Intra node 1.
data4 corresponds to the slot of Intra node 2.
dataN+1 corresponds to the slot of Intra node N+1.
logic partition config (write only)03hdata1-N-config data (including creation, modification, deletion, logical partition, virtual switch, and virtual storage pool)
partition status04hdata1-type Selectordata2-status
flash spi05hdata1-interface type Selector (function to be switched)
00h BIOS FLASH
data2-while FALSH (which flash memory is switched to)
00h FALSH1
01h FALSH2
Unmount and mount06hdata1-interface type Selector (function to be switched)
00h: unsuspension
01h-Mounting
data2: progress

Table 2 partition status

ParameterParameter Data data2 -status# (decimal) data1 -type
BIOS CTRLwrite-only00h cold reset
01h clear setup cfg data
0
physical partitionwrite-only00h started ok1
NC STAGEwrite-readNC configuration phase2
NC configwrite-onlyNC status3
PWB statuswrite-only01h short press
02h long press
4
Unmounting, mounting typewrite-read01h: disclaim missing
02h-Mounting
0
Queries the unmounting and mounting progress.read_only01h: disclaim missing
02h-Mounting
1

Command Example

Set the partition configuration to 4P.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index