Custom Search

Friday, November 20, 2015

ipmitool example

Print system infos

fru - Field-replaceable unit
fru - Print built-in FRU and scan SDR for FRU locators
$ipmitool -I lanplus -H -U username -P mypassword fru

Find Product Serial

$ipmitool -I lanplus -H -U username -P mypassword fru | grep “Product Serial”

mc - Management Controller status and global enables

$ipmitool -I lanplus -H -U username -P mypassword mc

warm or cold system Reset/Restart

$ipmitool -I lanplus -H -U username -P mypassword mc reset warm
$ipmitool -I lanplus -H -U username -P mypassword mc reset cold

List all users

$ipmitool -I lanplus -H -U username -P mypassword user list

Launch interactive IPMI shell

$ipmitool -I lanplus -H -U username -P mypassword shell

    raw           Send a RAW IPMI request and print response
    i2c           Send an I2C Master Write-Read command and print response
    spd           Print SPD info from remote I2C device
    lan           Configure LAN Channels
    chassis       Get chassis status and set power state
    power         Shortcut to chassis power commands
    event         Send pre-defined events to MC
    mc            Management Controller status and global enables
    sdr           Print Sensor Data Repository entries and readings
    sensor        Print detailed sensor information
    fru           Print built-in FRU and scan SDR for FRU locators
    gendev        Read/Write Device associated with Generic Device locators sdr
    sel           Print System Event Log (SEL)
    pef           Configure Platform Event Filtering (PEF)
    sol           Configure and connect IPMIv2.0 Serial-over-LAN
    tsol          Configure and connect with Tyan IPMIv1.5 Serial-over-LAN
    isol          Configure IPMIv1.5 Serial-over-LAN
    user          Configure Management Controller users
    channel       Configure Management Controller channels
    session       Print session information
    dcmi          Data Center Management Interface
    sunoem        OEM Commands for Sun servers
    kontronoem    OEM Commands for Kontron devices
    picmg         Run a PICMG/ATCA extended cmd
    fwum          Update IPMC using Kontron OEM Firmware Update Manager
    firewall      Configure Firmware Firewall
    delloem       OEM Commands for Dell systems
    shell         Launch interactive IPMI shell
    exec          Run list of commands from file
    set           Set runtime variable for shell and exec
    hpm           Update HPM components using PICMG HPM.1 file
    ekanalyzer    run FRU-Ekeying analyzer using FRU files
    ime           Update Intel Manageability Engine Firmware


1 comment:

  1. BlueHost is ultimately one of the best hosting provider with plans for all of your hosting requirements.