新しい会話を開始

未解決

Community Manager

 • 

3.1K メッセージ

3306

2020年10月27日 02:00

PowerScale IPMI編

*こちらの記事は2020年10月に開催されたAsk The Expert Discover PowerScale からの内容になります。

 

皆様、こんにちは。10月に入り早いものでもう中旬衣替えも過ぎ、秋の装いが目につくようになりました。早いもので今年も残り3か月となりました。 これから年末に向けていろいろと慌ただしいことと思います。年末年始といえば法定停電などのイベントを控えてるお客様も多いかと思います。今回はそのような際にも役立つの機能のご紹介です。

3年振りのメジャーOS発表となった「OneFS9.0」の新機能のひとつに、Intelligent Platform Management Interface(以下「IPMI」と称する)の正式サポートがあります。IPMIを使用すると、Serial over LAN(以下「SOL」と称する)を介して専用の1GbE portからリモート電源制御が可能になります。IMPIによる管理により、RS-232シリアルポートやPDUラックパワーコントローラーを必要とせずに、PowerScaleおよびIsilon Gen6ノードに対して電源管理機能を提供します。

01 (1).png

ここからは、OneFS9.0のPowerScale F200を前提にIPMI設定から試験までの実施例をご紹介していきます

設定の流れは下記です。

  1. IPMIネットワークのStatc/DHCPの設定
  2. IPMI用のIPアドレス設定
  3. Power-ControlとSOLの有効化
  4. IPMI用のユーザ設定
  5. BIOSからシリアルポートの設定
  6. 設定反映のための再起動

それでは順番にご紹介していきます。

1. IPMIネットワークのStatc/DHCPの設定

IPMIネットワークをStatcで設定してみます。

 

 

 

 

 

#isi ipmi settings modify --enabled=True --allocation-type=static
You are about to modify the global remote IPMI settings. Are you sure? (yes/[no]): yes

#isi ipmi network view
        Enabled: Yes
Allocation Type: static

 

 

 

 

 

★工場出荷時の状態ではIPMIは無効になっています。

 

2. IPMI用のIPアドレス設定

3ノードありますのでIPレンジを10.6.17.141~143の3つのIPを設定してみます。

 

 

 

 

 

#isi ipmi network modify --gateway=10.6.17.254 --prefixlen=24 --ranges=10.6.17.141-143
You are about to modify the remote IPMI network settings. Are you sure? (yes/[no]): yes

#isi ipmi network view
  Gateway: 10.6.17.254
Prefixlen: 24
IP Ranges: 10.6.17.141-10.6.17.143

#isi ipmi nodes list
Lnn  IP Addr     Remote Ipmi Capable 
-------------------------------------
1    10.6.17.143 Yes                 
2    10.6.17.141 Yes                 
3    10.6.17.142 Yes                 
-------------------------------------
Total: 3

 

 

 

 

 

 

★IP Rangeの若番から順番に若番nodeに割り当たると思いきやバラバラに割り当てられます。

★IPMI用のネットワークポートはVLANが利用できません。

★業務NWやバックアップNWとは別のセグメントを利用ください。

 

3. Power-ControlとSOLの有効化

[Power-Control]と[SOL]を有効にします。

 

 

 

 

 

#isi ipmi features modify Power-Control --enabled=True
You are about to modify the setting for this feature. Are you sure? (yes/[no]): yes
#isi ipmi features modify SOL --enabled=True
You are about to modify the setting for this feature. Are you sure? (yes/[no]): yes

#isi ipmi features list
ID            Feature Description           Enabled 
----------------------------------------------------
Power-Control Remote power control commands Yes     
SOL           Serial over Lan functionality Yes     
----------------------------------------------------
Total: 2

 

 

 

 

 

4. IPMI用のユーザ設定

IPMI用のユーザ名をipmiuserで作成してみます。

 

 

 

 

 

#isi ipmi user modify --username=ipmiuser --set-password
password:
confirm:
This will modify the remote IPMI user. Are you sure? (yes/[no]): yes

 

 

 

 

★ユーザー名の長さは最大16文字で、パスワードは17〜20文字です。

★すべてのノードに対して単一のユーザー名とパスワードを適用してください。

 

5. BIOSからシリアルポートの設定

iDRACへログインして、[Configuration]-[BIOS Settings]-[Serial Communication]から、"Serial Port Address"と"External Serial Connector"を編集して"Apply"をします。

02 (1).png

 

 画面一番下までスクロールし"At Next Reboot"をクリックします。

03 (1).png

 

[iDRAC Setting]-[Connectivity]-[Serial]から、"iDRAC Serial"を"Disable"にして、"Apply"をします。

04 (1).png

 

[iDRAC Settings]-[Users]-[Local Users]から、IPMI用ユーザ(今回はipmiuser)の設定が下記になていることを確認します。

05 (1).png

 "State" → "Enabled"、"IPI LAN Privilege" → "Operator"、"Serial Over Lan" → "Enable"

 

6. 設定反映のための再起動

ノードをリブートして、BIOS設定を反映します。iDRACホーム画面の右下に仮想コンソールがありますのでそこからノードに接続し再起動が可能です。

06 (1).png

 

 

これで一通りの設定は終わりです。続いて試験方法をご紹介します。

操作用PCからSOLを有効にするコマンドを実行します。

 

 

 

 

 

ipmitool -I lanplus -H [Node IP] -U [Username] -L OPERATOR -P [password] sol activate

 

 

 

 

 

 

★SOLを有効化すると、物理できなシリアルは無効化されます。

★「deactivate」コマンドオプションを使用いただくとSOLセッションが終了後、再び有効になります。

 

下記のコマンドで5種類のPower commandsを試して動作を確認します。

 

 

 

 

 

 

ipmitool -I lanplus -H [Node IP] -U [Username] -L OPERATOR -P [password] power [command]

Power commands: status(ステータスの確認), on(電源オン), off(電源オフ), cycle(コールドブート), reset(ウォームブート)

 

注:PowerScaleをシャットダウンする場合は上記ipmitoolではなく手順通りにisi configコマンドなどでシャットダウンを行ってください。(impitoolでのシャットダウンはあくまでクラスタ障害などでの非常時のみの使用になります)

参考:Dell EMC Knowledge Article 000018989 : Isilon: OneFS-How to safely shut down an Isilon cluster prior to a scheduled power outage
(2022年12月14日JPCommunityMgrにて追記)

 

 

 

 

★Windows IPMItoolのご紹介

 

ざっとですが、IPMIの設定から試験方法についてご紹介させていただきました。例えばIPMIを使用してメンテナンスや停電後に各ノードまたはクラスター全体の電源をリモートからオンにすることができます。更にはPowerScale F200/F600からiDRACが利用可能になっております。IPMIの利用と合わせてご活用ください。

Ask The Expert ~Discover PowerScale~はまだまだ続きます!ご期待ください!

 

■参考リンク

https://dl.dell.com/content/docu98786_PowerScale-OneFS-9-0-0-0-CLI-Admin-guide.pdf

https://www.dellemc.com/resources/en-us/asset/white-papers/products/storage/h16463-isilon-advanced-n...

https://www.dellemc.com/en-us/collaterals/unauth/white-papers/products/storage/h16857-wp-onefs-best-...

 
レスポンスがありません。
イベントは見つかりませんでした!

Top