Ipmitool

From 탱이의 잡동사니
Revision as of 07:35, 8 August 2016 by Pchero (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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