ユーザ用ツール

サイト用ツール


01_linux:01_net:ipmi

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
01_linux:01_net:ipmi [2019/08/29 09:11] matsui01_linux:01_net:ipmi [2020/02/04 13:13] (現在) – [カーネルバージョン選択画面表示] matsui
行 1: 行 1:
 ====== IPMIコマンド ====== ====== IPMIコマンド ======
  
-====== ipmitool インストール ======+===== ipmitool インストール =====
 <code console> <code console>
 yum install OpenIPMI-tools yum install OpenIPMI-tools
 </code> </code>
  
-====== 書式 ======+===== 書式 =====
  
   ipmitool -I lanplus -H ホスト名 -U ユーザー名 [-P パスワード] コマンド   ipmitool -I lanplus -H ホスト名 -U ユーザー名 [-P パスワード] コマンド
  
-====== コマンド ======+===== コマンド =====
 ^ コマンド ^  説明  ^ ^ コマンド ^  説明  ^
 |power status|電源の状態を確認する| |power status|電源の状態を確認する|
行 31: 行 31:
 **<color red>※コンソール画面を閉じたいときには、~ . と入力します。</color>**\\ **<color red>※コンソール画面を閉じたいときには、~ . と入力します。</color>**\\
 リモートのサーバへ SSH 経由でログインしてそこから ipmitool を使っている SSH 接続ごと落ちる。 リモートのサーバへ SSH 経由でログインしてそこから ipmitool を使っている SSH 接続ごと落ちる。
-====== 例 ======+===== 例 =====
 コンソールにログイン コンソールにログイン
   ipmitool -I lanplus -U root -P '' -H 192.168.xx.xx sol activate   ipmitool -I lanplus -U root -P '' -H 192.168.xx.xx sol activate
行 40: 行 40:
  
  
-====== sol activate時サーバ側設定 ======+===== sol activate時サーバ側設定 =====
  
 grub.confのkernel行の後ろに「**console=tty0 console=ttyS0,115200n8**」を追加 grub.confのkernel行の後ろに「**console=tty0 console=ttyS0,115200n8**」を追加
行 74: 行 74:
 </code> </code>
  
 +
 +=== 見出し ===
 +
 +■ gettyの設定に追加
 +
 +<code>
 +# /etc/init/serial-ttyS1.conf
 +
 +# This service maintains a getty on /dev/ttyS1.
 +
 +start on stopped rc RUNLEVEL=[2345]
 +stop on starting runlevel [016]
 +
 +respawn
 +exec /sbin/agetty /dev/ttyS1 9600 vt100-nav
 +
 +# initctl start serial-ttyS1
 +</code>
 +
 +■ securettyに追加
 +
 +<code>
 +# vi /etc/securetty
 +
 +ttyS1
 +</code>
 ===== 補足1. ===== ===== 補足1. =====
  
行 122: 行 148:
  
   ipmitool mc info   ipmitool mc info
 +
 +
 +===== CentOS7の場合 =====
 +
 +[[01_linux:01_net:42_centos7_serial]]
  
 {{tag>ipmi}} {{tag>ipmi}}
01_linux/01_net/ipmi.1567069861.txt.gz · 最終更新: 2019/08/29 09:11 by matsui