Custom Search

Friday, November 20, 2015

ipmitool example

1)
Print system infos

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

2)
Find Product Serial

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

3)
mc - Management Controller status and global enables

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

4)
warm or cold system Reset/Restart

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

5)
List all users

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

6)
Launch interactive IPMI shell

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

7)
Commands:
    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

8)











No comments:

Post a Comment