ipmitool 復習 - linuxのIPMItoolでIPMI操作

  • man ipmitool

IPMIの規格を利用して、各種設定、操作する。

  • IPMIのIP設定
  • IPMIのユーザ設定
  • 電源off/on
  • コンソールログイン
  • BIOSGRUB設定

設定しているIPMIのIP表示

# ipmitool lan print

ipmiの設定変更

IPアドレスとか。

# ipmitool channel info 2
## => channel 番号はサーバによって違う?
# ipmitool lan set 2 ipaddr 192.168.0.1
# ipmitool lan set 2 netmask 255.255.255.0
<<


** IPMI用ユーザの表示
>||
# ipmitool user list

ipmitoolでの遠隔制御

ログイン以外に電源オフ、リセットとかも可能。

## コンソールにログイン
# ipmitool -I lanplus -H 192.168.0.1 -U username sol activate