Ipmitool

From 탱이의 잡동사니
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Overview

IPMI(Intelligent Platform Management Interface) - ipmitool 명령어 내용 정리.

Basic

ipmitool [ <options> ] <command> [ <sub-commands and sub-options> ]

<options>           := [ <general-options> | <conditional-opts> ]
Any recognized option is accepted. Conditional options may be ignored or it's usage postponed until shell or exec processes relevant command.

<general-options>   := [ -h | -V | -v | -I <interface> | -H <address> |
                        -d <N> | -p <port> | -c | -U <username> |
                        -L <privlvl> | -l <lun> | -m <local_address> |
                        -N <sec> | -R <count> | <password-option> |
                        <oem-option> | <bridge-options> ]

<conditional-opts>  := [ <lan-options> | <lanplus-options> |
                        <command-options> ]
Bridging:
<bridge-options>    := -t <target_address> [ -b <channel> |
                      [ -T <address> | -B <channel> ] ]

Options used with -I lan:
<lan-options>       := [ -A <authtype> ]

Options used with -I lanplus:
<lanplus-options>   := [ -C <ciphersuite> | <key-option> ]

Option groups setting same value:
<key-option>        := [ -k <key> | -K | -y <hex_key> | -Y ]
<password-option>   := [ -f <password_file> | -a | -P <password> | -E ]
<oem-option>        := [ -o <oemtype> | -g | -s ]

Options used with specific command <command-options>:
<options-sdr>       := [ -S <sdr_cache_file> ]
<options-sel>       := [ -O <sel_oem> ]
<options-sol>       := [ -e <sol_escape_char> ]

Example

<source lang=bash> $ ipmitool -H 127.0.0.1 -I lanplus -U ADMIN -P admin $ ipmitool -H 127.0.0.1 -I lanplus -P admin -U ADMIN chassis power status Error loading interface lanplus $ ipmitool -H 127.0.0.1 -I lanplus -P admin -U ADMIN chassis power status </source>

See also