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).
Server Commands

Server Commands

Querying and Setting the Boot Device (bootdevice)

Function

The bootdevice command is used to query and set the boot device.

Format

ipmcget -d bootdevice

ipmcset -d bootdevice -v <option> [once | permanent]

Parameters

Parameter Description Value
option Specifies the boot option.
  • 0: cancels forced boot.

  • 1: boots from the PXE.

  • 2: boots from the default hard disk.

  • 5: boots from the default CD/DVD.

  • 6: accesses the BIOS Setup menu upon server startup.

  • 0xF: boots from the FDD or the first mobile media.

once

The setting is effective only once upon the next startup. After that, the default boot device set on the BIOS is used.

-
permanent

The setting is effective permanently.

-

Usage Guidelines

None.

Example

# Configure the system to boot from the default hard disk.

iBMC:/->ipmcset -d bootdevice -v 2 once
Set boot device successfully.

# Query the boot device.

iBMC:/->ipmcget -d bootdevice
Boot     device:  Force boot from default Hard-drive
Effective  type:  Once   
NOTE:

If Boot device is "Unspecified", parameters related to forced boot are not set.

Setting the Server Reset Mode (frucontrol)

Function

The frucontrol command is used to specify how the server is reset.

Format

ipmcset [-t fru0] -d frucontrol -v <option>

Parameters

Parameter Description Value
option Specifies the reset mode.
  • 0: Forcibly restarts the server.
  • 2: Forcibly power cycle (power off and power on) the server.

Usage Guidelines

Switch modules do not support this command.

This command is invalid to a server in power-off state.

Example

# Forcibly restart the server.

iBMC:/->ipmcset -d frucontrol -v 0
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y
FRU control fru0 (forced system reset) successfully.

# Forcibly power cycle the server.

iBMC:/->ipmcset -d frucontrol -v 2
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y
FRU control fru0 (forced power cycle) successfully.

Querying and Setting the Power State of the Server (powerstate)

Function

The powerstate command is used to query and set the power state of the server.

Format

ipmcget [-t fru0] -d powerstate

ipmcset [-t fru0] -d powerstate -v <option>

Parameters

Parameter Description Value
option Indicates the operation to be performed on the server.
  • 0: powers off the server safely.
  • 1: powers on the server.
  • 2: powers off the server forcibly.

Usage Guidelines

Switch modules do not support this command.

The power-off command is invalid for a server in power-off state.

Example

# Power on the server.

iBMC:/->ipmcset -d powerstate -v 1
WARNING: The operation may have many adverse effects
Do you want to continue?[Y/N]:y
Control fru0 power on successfully.

# Query the power state of the server.

iBMC:/->ipmcget -d powerstate
Power state   : On
Hotswap state : M4

Querying and Setting the Server Power-Off Timeout Period (shutdowntimeout)

Function

The shutdowntimeout command is used to query and set the power-off timeout period for the server.

After a power-off operation is performed, the iBMC waits for the OS to shut down. If the OS fails to shut down within the specified time, the iBMC will forcibly power off the server.

Format

ipmcget [-t fru0] -d shutdowntimeout

ipmcset [-t fru0] -d shutdowntimeout -v <time>

Parameters

Parameter Description Value
time

Specifies the maximum time (in seconds) for shutting down the OS.

Value range: 0, 10 to 1800

The value 0 indicates that the shutdown timeout is disabled.

Usage Guidelines

  • If Power-off Timeout Period is set to on the iBMC WebUI, you can use this command to disable shutdown timeout or set the shutdown timeout period as required.
  • If Power-off Timeout Period is set to on the iBMC WebUI, you can use this command to set the shutdown timeout period. After the setting, Power-off Timeout Period changes to on the iBMC WebUI.

Example

# Set the shutdown timeout period to 600 seconds for the server.

iBMC:/->ipmcset -d shutdowntimeout -v 600
Set shutdown timeout successfully.

# Query the shutdown timeout period.

iBMC:/->ipmcget -d shutdowntimeout
Graceful shutdown timeout state:    enabled
Graceful shutdown timeout value:    600 s

# Query the shutdown timeout period (power-off timeout period is set to OFF on the iBMC WebUI).

iBMC:/->ipmcget -d shutdowntimeout
Graceful shutdown timeout state:    disabled

# Disable shutdown timeout for the server.

iBMC:/->ipmcset -d shutdowntimeout -v 0
Set shutdown timeout successfully.

Querying MAC Address Information of Network Ports on the Mainboard (macaddr)

Function

The macaddr command is used to query MAC address information about the network ports on the mainboard.

Format

ipmcget -d macaddr

Parameters

None

Usage Guidelines

None

Example

# Query MAC address information about the network ports on the mainboard.

iBMC:/->ipmcget -d macaddr
Type       | Name       | Mac Address
LOM        | Port1      | 20:0b:c7:2a:e6:0b
LOM        | Port2      | 20:0b:c7:2a:e6:0c
LOM        | Port3      | 20:0b:c7:2a:e6:0d
LOM        | Port4      | 20:0b:c7:2a:e6:0e

Clearing the BIOS Flash (clearcmos)

Function

The clearcmos command is used to clear user-defined information from the BIOS flash.

Format

ipmcset -d clearcmos

Parameters

None

Usage Guidelines

None

Example

# Clear the BIOS flash.

iBMC:/->ipmcset -d clearcmos
WARNING: The operation may have many adverse effects
Do you want to continue?[Y/N]:y
Clear CMOS successfully.

Querying RAID Controller Information (ctrlinfo)

Function

The ctrlinfo command is used to query RAID controller information.

Format

ipmcget -t storage -d ctrlinfo -v <option>

Parameters

Parameter

Description

Value

option

Specifies the RAID controller to be queried.

  • all: queries information about all RAID controllers.
  • 0 to 255: indicates information about a specific RAID controller.

Usage Guidelines

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Query information about RAID controller 0.

iBMC:/->ipmcget –t storage -d ctrlinfo –v 0 
RAID Controller #0 Information
----------------------------------------------------------------------
Controller Name                               : SAS3108
Controller Type                               : LSI SAS3108
Component Name                                : RAID Card1
Support Out-of-Band Management                : Yes
Controller Mode                               : RAID
Controller Health                             : Normal
Firmware Version                              : 4.650.00-6121
NVDATA Version                                : 3.1602.00-0002
Memory Size                                   : 1024 MB
Device Interface                              : SAS 12G
SAS Address                                   : 5e00000157737cd6
Minimum Strip Size Supported                  : 64 KB
Maximum Strip Size Supported                  : 1 MB
Controller Cache Is Pinned                    : No
Maintain PD Fail History across Reboot        : Yes
Copyback Enabled                              : No
Copyback on SMART error Enabled               : No
JBOD Enabled                                  : No
DDR ECC Count                                 : 0

BBU Status                                    : Present
BBU Type                                      : CVPM02
BBU Health                                    : Normal

PHY Status                                    : 
    PHY #0 :
        Invalid Dword Count           : 0
        Loss Dword Sync Count         : 0
        PHY Reset Problem Count       : 0
        Running Disparity Error Count : 0

    PHY #1 :
        Invalid Dword Count           : 0
        Loss Dword Sync Count         : 0
        PHY Reset Problem Count       : 0
        Running Disparity Error Count : 0

    PHY #2 :
        Invalid Dword Count           : 0
        Loss Dword Sync Count         : 0
        PHY Reset Problem Count       : 0
        Running Disparity Error Count : 0

    PHY #3 :
        Invalid Dword Count           : 0
        Loss Dword Sync Count         : 0
        PHY Reset Problem Count       : 0
        Running Disparity Error Count : 0

    PHY #4 :
        Invalid Dword Count           : 0
        Loss Dword Sync Count         : 0
        PHY Reset Problem Count       : 0
        Running Disparity Error Count : 0

    PHY #5 :
        Invalid Dword Count           : 0
        Loss Dword Sync Count         : 0
        PHY Reset Problem Count       : 0
        Running Disparity Error Count : 0

    PHY #6 :
        Invalid Dword Count           : 0
        Loss Dword Sync Count         : 0
        PHY Reset Problem Count       : 0
        Running Disparity Error Count : 0

    PHY #7 :
        Invalid Dword Count           : 0
        Loss Dword Sync Count         : 0
        PHY Reset Problem Count       : 0
        Running Disparity Error Count : 0
----------------------------------------------------------------------

Querying Logical Drive Information (ldinfo)

Function

The ldinfo command is used to query information about logical drives managed by a RAID controller.

Format

ipmcget -t storage -d ldinfo -v <ctrlid> <option>

Parameters

Parameter

Description

Value

ctrlid

Specifies the RAID controller that manages the logical drives.

Value range: 0 to 255
option

Specifies the logical drive to be queried.

  • all: queries all logical drives managed by the RAID controller.
  • 0 to 255: queries a specific logical drive.

Usage Guidelines

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Query information about logical drive 0 managed by RAID controller 0.

iBMC:/->ipmcget –t storage -d ldinfo –v 0 0
Logical Drive Information
----------------------------------------------------------------------
Target ID                                : 0
Name                                     : example1
Type                                     : RAID1
State                                    : Optimal
Defalut Read Policy                      : Read Ahead
Defalut Write Policy                     : Write Back with BBU
Defalut Cache Policy                     : Direct IO
Current Read Policy                      : Read Ahead
Current Write Policy                     : Write Back with BBU
Current Cache Policy                     : Direct IO
Access Policy                            : Read Write
Span depth                               : 1
Number of drives per span                : 2
Strip Size                               : 256 KB
Total Size                               : 100.234 GB
Disk Cache Policy                        : Enabled
Init State                               : No Init
Consistency Checking                     : No
BGI Enabled                              : Yes
Bootable                                 : No
Used for Secondary Cache                 : No
SSCD Caching Enable                      : No
PD participating in LD (ID#)             : 0,1
Dedicated Hot Spare PD (ID#)             : N/A
----------------------------------------------------------------------

# Query information about all logical drives managed by RAID controller 0.

iBMC:/->ipmcget –t storage -d ldinfo –v 0 all
Logical Drive Information
----------------------------------------------------------------------
Target ID                                : 0
Name                                     : example1
Type                                     : RAID1
State                                    : Optimal
Defalut Read Policy                      : Read Ahead
Defalut Write Policy                     : Write Back with BBU
Defalut Cache Policy                     : Direct IO
Current Read Policy                      : Read Ahead
Current Write Policy                     : Write Back with BBU
Current Cache Policy                     : Direct IO
Access Policy                            : Read Write
Span depth                               : 1
Number of drives per span                : 2
Strip Size                               : 256 KB
Total Size                               : 100.234 GB
Disk Cache Policy                        : Enabled
Init State                               : No Init
Consistency Checking                     : No
BGI Enabled                              : Yes
Bootable                                 : No
Used for Secondary Cache                 : No
SSCD Caching Enable                      : No
PD participating in LD (ID#)             : 0,1
Dedicated Hot Spare PD (ID#)             : N/A
----------------------------------------------------------------------

Logical Drive Information
----------------------------------------------------------------------
Target ID                                : 1
Name                                     : example2
Type                                     : RAID0
State                                    : Optimal
Defalut Read Policy                      : Read Ahead
Defalut Write Policy                     : Write Back with BBU
Defalut Cache Policy                     : Direct IO
Current Read Policy                      : Read Ahead
Current Write Policy                     : Write Back with BBU
Current Cache Policy                     : Direct IO
Access Policy                            : Read Write
Span depth                               : 1
Number of drives per span                : 5
Strip Size                               : 256 KB
Total Size                               : 1.149 TB
Disk Cache Policy                        : Enabled
Init State                               : No Init
Consistency Checking                     : No
BGI Enabled                              : Yes
Bootable                                 : No
Used for Secondary Cache                 : No
SSCD Caching Enable                      : No
PD participating in LD (ID#)             : 2,8,9,10,11
Dedicated Hot Spare PD (ID#)             : N/A
----------------------------------------------------------------------

Querying Physical Drive Information (pdinfo)

Function

The pdinfo command is used to query information about physical drives.

Format

ipmcget -t storage -d pdinfo -v <option>

Parameters

Parameter

Description

Value

option

Specifies the physical drives to be queried.

  • all: queries all physical drives.
  • 0 to 255: queries a specific physical drive.

Usage Guidelines

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Query information about physical drive 2.

iBMC:/->ipmcget –t storage -d pdinfo –v 2 
Physical Drive Information
----------------------------------------------------------------------
ID                                       : 2
Device Name                              : Disk2
Manufacturer                             : TOSHIBA
Serial Number                            : EB00PC208N0R
Model                                    : MBF2300RC
Firmware Version                         : 0109
Health Status                            : Normal
Firmware State                           : UNCONFIGURED GOOD
Power State                              : Spun Up
Media Type                               : HDD
Interface Type                           : SAS
Interface Speed                          : 6.0Gbps
Link Speed                               : 6.0Gbps
Drive Temperature                        : 62(Celsius)
Capacity                                 : 278.465 GB
Hot Spare                                : None
Rebuild in Progress                      : No
Patrol Read in Progress                  : No
Remnant Media Wearout                    : N/A
SAS Address(0)                           : 50000393d84baa46
SAS Address(1)                           : 0000000000000000
Location State                           : Off

Media Error Count                        : 0
Prefail Error Count                      : 0
Other Error Count                        : 0
----------------------------------------------------------------------

# Query information about all physical drives.

iBMC:/->ipmcget –t storage -d pdinfo –v all
Physical Drive Information
----------------------------------------------------------------------
ID                                       : 0
Device Name                              : Disk0
Manufacturer                             : TOSHIBA
Serial Number                            : EB00PC208KL3
Model                                    : MBF2300RC
Firmware Version                         : 0109
Health Status                            : Normal
Firmware State                           : ONLINE
Power State                              : Spun Up
Media Type                               : HDD
Interface Type                           : SAS
Interface Speed                          : 6.0Gbps
Link Speed                               : 6.0Gbps
Drive Temperature                        : 53(Celsius)
Capacity                                 : 278.465 GB
Hot Spare                                : None
Rebuild in Progress                      : No
Patrol Read in Progress                  : No
Remnant Media Wearout                    : N/A
SAS Address(0)                           : 50000393d84b6f92
SAS Address(1)                           : 0000000000000000
Location State                           : Off

Media Error Count                        : 0
Prefail Error Count                      : 0
Other Error Count                        : 0
----------------------------------------------------------------------

Physical Drive Information
----------------------------------------------------------------------
ID                                       : 1
Device Name                              : Disk1
Manufacturer                             : TOSHIBA
Serial Number                            : EB72PC600G1C
Model                                    : MBF2300RC
Firmware Version                         : 0109
Health Status                            : Normal
Firmware State                           : ONLINE
Power State                              : Spun Up
Media Type                               : HDD
Interface Type                           : SAS
Interface Speed                          : 6.0Gbps
Link Speed                               : 6.0Gbps
Drive Temperature                        : 69(Celsius)
Capacity                                 : 278.465 GB
Hot Spare                                : None
Rebuild in Progress                      : No
Patrol Read in Progress                  : No
Remnant Media Wearout                    : N/A
SAS Address(0)                           : 5000039418218546
SAS Address(1)                           : 0000000000000000
Location State                           : Off

Media Error Count                        : 0
Prefail Error Count                      : 0
Other Error Count                        : 0
----------------------------------------------------------------------

Physical Drive Information
----------------------------------------------------------------------
ID                                       : 2
Device Name                              : Disk2
Manufacturer                             : TOSHIBA
Serial Number                            : EB00PC208N0R
Model                                    : MBF2300RC
Firmware Version                         : 0109
Health Status                            : Normal
Firmware State                           : ONLINE
Power State                              : Spun Up
Media Type                               : HDD
Interface Type                           : SAS
Interface Speed                          : 6.0Gbps
Link Speed                               : 6.0Gbps
Drive Temperature                        : 62(Celsius)
Capacity                                 : 278.465 GB
Hot Spare                                : None
Rebuild in Progress                      : No
Patrol Read in Progress                  : No
Remnant Media Wearout                    : N/A
SAS Address(0)                           : 50000393d84baa46
SAS Address(1)                           : 0000000000000000
Location State                           : Off

Media Error Count                        : 0
Prefail Error Count                      : 0
Other Error Count                        : 0
----------------------------------------------------------------------

Querying Disk Array Information (arrayinfo)

Function

The arrayinfo command is used to query disk array information.

Format

ipmcget -t storage -d arrayinfo -v <control_id> <option>

Parameters

Parameter

Description

Value

control_id Specifies the ID of the RAID controller to which the disk array belongs. 0 to 255
option

Specifies the disk array to be queried.

  • all: Query information about all disk arrays.
  • 0 to 255: Query information about the specified disk array.

Usage Guidelines

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Query information about disk array 1 of RAID controller 0.

iBMC:/->ipmcget –t storage -d arrayinfo –v 0 1 
Disk Array Information
----------------------------------------------------------------------
Array ID                                 : 1
Used Space                               : 1.149 TB
Free Space                               : 215.749 GB
Logcial Drive(s) ID                      : 1
Physical Drive(s) ID                     : 2,8,9,10,11
----------------------------------------------------------------------

# Query information about all disk arrays of RAID controller 0.

iBMC:/->ipmcget –t storage -d arrayinfo –v 0 all 
Disk Array Information
----------------------------------------------------------------------
Array ID                                 : 0
Used Space                               : 200.469 GB
Free Space                               : 356.461 GB
Logcial Drive(s) ID                      : 0
Physical Drive(s) ID                     : 0,1
----------------------------------------------------------------------

Disk Array Information
----------------------------------------------------------------------
Array ID                                 : 1
Used Space                               : 1.149 TB
Free Space                               : 215.749 GB
Logcial Drive(s) ID                      : 1
Physical Drive(s) ID                     : 2,8,9,10,11
----------------------------------------------------------------------

Disk Array Information
----------------------------------------------------------------------
Array ID                                 : 2
Used Space                               : 446.103 GB
Free Space                               : 0 MB
Logcial Drive(s) ID                      : 2
Physical Drive(s) ID                     : 7
----------------------------------------------------------------------

Creating a Logical Drive (createld)

Function

The createld command is used to create a logical drive from an idle physical disk.

Format

ipmcset -t storage -d createld -v <control_id> -rl <raidlevel> -pd <pd_id> [-cachecade] [-sc <span_num>] [-name <ldname>] [-size <capative>{m|g|t} ] [-ss <stripesize>] [-rp <rpvalue>] [-wp <wpvalue>] [-iop <iopvalue>] [-ap <apvalue>] [-dcp <dcpvalue>] [-init <initmode>]

Parameters

Parameter

Description

Value

control_id

Specifies the ID of the RAID controller.

0 to 255
raidlevel Specifies the RAID level of the logical drive.
  • r0: RAID 0
  • r1: RAID 1
  • r5: RAID 5
  • r6: RAID 6
  • r10: RAID 10
  • r50: RAID 50
  • r60: RAID 60
NOTE:
If the command contains -cachecade, this parameter must be r0 or r1.
pd_id Specifies the member disk IDs of the logical drive.

Use a comma (,) to separate multiple disk IDs, for example, 0,1,2.

NOTE:
If the command contains -cachecade, the member disks must be SSDs.
span_num Specifies the number of spans of the logical drive.
  • You do not need to set this parameter if the RAID level is 0, 1, 5 or 6.
  • Set this parameter if the RAID level is 10, 50, or 60. The default value is 2.
NOTE:
If the command contains -cachecade, this parameter is invalid.
ldname Specifies the name of the logical drive to be created. The parameter value cannot exceed 15 characters.
capative Specifies the capacity of the logical drive to be created. The capacity unit can be:
  • m: MB
  • g: GB
  • t: TB
NOTE:
If the command contains -cachecade, this parameter is invalid.
stripesize Specifies the stripe size (in bytes) of the logical drive. Value:
  • 64K
  • 128K
  • 256K
  • 512K
  • 1M

The default value is 256K.

NOTE:
If the command contains -cachecade, this parameter is invalid.
rpvalue Specifies the data read policy of the logical drive.
  • ra: Read Ahead
  • nra: No Read Ahead

The default value is ra.

NOTE:
If the command contains -cachecade, this parameter is invalid.
wpvalue Specifies the write policy of the logical drive.
  • wt: Write Through
  • wb: Write Back
  • wbwithbbu: Write Back with BBU

The default value is wbwithbbu.

NOTE:
If the command contains -cachecade, this parameter is invalid.
iopvalue Specifies the IO policy of the logical drive.
  • cio: Cached IO
  • dio: Direct IO

The default value is dio.

NOTE:
If the command contains -cachecade, this parameter is invalid.
apvalue Specifies the access policy of the logical drive.
  • rw: The logical drive is readable and writable.
  • ro: The logical drive is read only.
  • blocked: The logical drive is hidden.

The default value is rw.

NOTE:
If the command contains -cachecade, this parameter is invalid.
dcpvalue Specifies the cache policy of the logical drive.
  • enabled: The logical drive is allowed to use cache.
  • disabled: The logical drive is not allowed to use cache.
  • default: The default policy is used, that is, the cache policy of the member disks is used.

The default value is enabled.

NOTE:
If the command contains -cachecade, this parameter is invalid.
initmode Specifies the initialization mode of the logical drive.
  • no: The logical drive is not initialized.
  • quick: Quick initialization is performed.
  • full: Full initialization is performed.

The default value is no.

NOTE:
If the command contains -cachecade, this parameter is invalid.

Usage Guidelines

If the command contains -cachecade, a CacheCade drive is to be created.

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Create a common logical drive under RAID controller 0.

iBMC:/-> ipmcset -t storage -d createld -v 0 -rl r1 -pd 0,1 -name example -size 100g -ss 512k -rp ra -wp wb -ap rw -iop cio -dcp enabled -init quick 
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y

# Create a Cachecade drive under RAID controller 0.

iBMC:/-> ipmcset -t storage -d createld -v 0 -rl r0 -pd 0,1,2 -name cachecade -cachecade -wp wb 
WARNING: The operation may have many adverse effects.
	Do you want to continue?[Y/N]:y

Adding a Logical Drive (addld)

Function

The addld command is used to add a logical drive to a disk array.

Format

ipmcset -t storage -d addld -v <control_id> -array <arrayid> [-name <ldname>] [-size <capative>{m|g|t} ] [-ss <stripesize>] [-rp <rpvalue>] [-wp <wpvalue>] [-iop <iopvalue>] [-ap <apvalue>] [-dcp <dcpvalue>] [-init <initmode>]

Parameters

Parameter

Description

Value

control_id

Specifies the ID of the RAID controller.

0 to 255
arrayid Specifies the ID of the disk array to be added with the logical drive. 0 to 255
ldname Specifies the name of the logical drive to be added. The parameter value cannot exceed 15 characters.
capative Specifies the capacity of the logical drive to be added. The capacity unit can be:
  • m: MB
  • g: GB
  • t: TB

By default, the capacity equals the remaining space of the disk array.

stripesize Specifies the stripe size (in bytes) of the logical drive. Value:
  • 64K
  • 128K
  • 256K
  • 512K
  • 1M

The default value is 256K.

rpvalue Specifies the read policy of the logical drive.
  • ra: Read Ahead
  • nra: No Read Ahead

The default value is ra.

wpvalue Specifies the write policy of the logical drive.
  • wt: Write Through
  • wb: Write Back
  • wbwithbbu: Write Back with BBU

The default value is wbwithbbu.

iopvalue Specifies the IO policy of the logical drive.
  • cio: Cached IO
  • dio: Direct IO

The default value is dio.

apvalue Specifies the access policy of the logical drive.
  • rw: The logical drive is readable and writable.
  • ro: The logical drive is read only.
  • blocked: The logical drive is hidden.

The default value is rw.

dcpvalue Specifies the cache policy of the logical drive.
  • enabled: The logical drive is allowed to use cache.
  • disabled: The logical drive is not allowed to use cache.
  • default: The default policy is used, that is, the cache policy of the member disks is used.

The default value is enabled.

initmode Specifies the initialization mode of the logical drive.
  • no: The logical drive is not initialized.
  • quick: Quick initialization is performed.
  • full: Full initialization is performed.

The default value is no.

Usage Guidelines

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Add a logical drive to disk array 1 of RAID controller 0.

iBMC:/-> ipmcset -t storage -d addld -v 0 -array 1 -name example -size 500g -ss 256k -rp ra -wp wb -ap rw -iop cio -dcp enabled -init quick 
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y

Deleting a Logical Drive (deleteld)

Function

The deleteld command is used to delete a logical drive managed by a RAID controller.

Format

ipmcset -t storage -d deleteld -v <control_id> <ldid>

Parameters

Parameter

Description

Value

control_id

Specifies the ID of the RAID controller.

0 to 255
ldid Specifies the ID of a logical disk to be deleted. 0 to 255

Usage Guidelines

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Delete logical drive 1 managed by RAID controller 0.

iBMC:/-> ipmcset -t storage -d deleteld -v 0 0 
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y

Modifying Logical Drive Properties (ldconfig)

Function

The ldconfig command is used to modify properties of a logical drive.

Format

ipmcset -t storage -d ldconfig -v <control_id> <ldid> <[-name <ldname>] [-rp <rpvalue>] [-wp <wpvalue>] [-iop <iopvalue>] [-ap <apvalue>] [-bgi <bgistate>] [-boot] [-sscd <initmode>]

Parameters

Parameter

Description

Value

control_id

Specifies the ID of the RAID controller.

0 to 255
ldid Specifies the ID of the logical drive to be modified. 0 to 255
ldname Specifies the name of the logical drive to be modified. The parameter value cannot exceed 15 characters.
rpvalue Specifies the read policy of the logical drive.
  • ra: Read Ahead
  • nra: No Read Ahead
wpvalue Specifies the write policy of the logical drive.
  • wt: Write Through
  • wb: Write Back
  • wbwithbbu: Write Back with BBU
iopvalue Specifies the IO policy of the logical drive.
  • cio: Cached IO
  • dio: Direct IO
apvalue Specifies the access policy of the logical drive.
  • rw: The logical drive is readable and writable.
  • ro: The logical drive is read only.
  • blocked: The logical drive is hidden.
bgistate Specifies the BGI status of the logical drive.
  • enabled
  • disabled
initmode Specifies the setting of SSD Caching (whether to use the CacheCade drive as the cache).
  • enabled
  • disabled

Usage Guidelines

If the command contains -boot, the logical drive is the boot device.

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Modify the properties of logical drive 1 under RAID controller 0.

iBMC:/-> ipmcset -t storage -d ldconfig -v 0 1 -name example -rp ra -wp wb -ap rw -iop cio -dcp enabled –bgi enabled -boot
WARNING: The operation may have many adverse effects.
	Do you want to continue?[Y/N]:y

Modifying RAID Controller Properties (ctrlconfig)

Function

The ctrlconfig command is used to modify RAID controller properties.

Format

ipmcset -t storage -d ctrlconfig -v <control_id> <[-cb <cbstate>] [-smartercb <smartercbstate>] [-jbod <jbodstate>] [-restore]

Parameters

Parameter

Description

Value

control_id

Specifies the ID of the RAID controller.

0 to 255
cbstate Specifies the setting of copyback of the RAID controller.
  • enabled
  • disabled
smartercbstate Specifies whether copyback is enabled when a SMART error is detected on a member disk of the RAID controller.
  • enabled
  • disabled
jbodstate Specifies the setting of JBOD of the RAID controller.
  • enabled
  • disabled

Usage Guidelines

If the command contains -restore, the RAID controller properties will be restored to default values.

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Enable copyback for RAID controller 0.

iBMC:/-> ipmcset -t storage -d ctrlconfig -v 0 -cb enabled 
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y

Modifying Physical Drive Properties (pdconfig)

Function

The pdconfig command is used to modify properties of a physical drive managed by a RAID controller.

Format

ipmcset -t storage -d pdconfig -v <pdid> [-state <pdstate>] [-hotspare <hotsparetype> [-ld <ldid>]] [-locate ] <locatestate>

Parameters

Parameter

Description

Value

pdid

Specifies the ID of the physical drive.

0 to 255
pdstate Specifies the status of the physical drive.
  • online: The drive is online.
  • offline: The drive is offline.
  • ug: The drive is idle.
  • jbod: The drive is a JBOD disk.
hotsparetype Specifies the hot spare status of the physical drive.
  • none: It is not a hot spare disk
  • global: It is a global spare hot disk.
  • dedicated: It is a dedicated spare hot disk.
ldid Specifies the ID of the logical drive.

If hotsparetype is dedicated, you need to set the logical drive associated with this physical drive.

0~255
locatestate Specifies the status of the location indicator of the physical drive.
  • start: The location indicator is flashing.
  • stop: The location indicator is off.

Usage Guidelines

This command can be used only when either of the following conditions is met:
  • The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
  • The iBMA 2.0 has started on the OS.

Example

# Set the status of the physical drive 1 to online.

iBMC:/-> ipmcset -t storage -d pdconfig -v 1 -state online 
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y
Translation
Download
Updated: 2019-08-01

Document ID: EDOC1000058833

Views: 218223

Downloads: 1936

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