LoginSignup
1
1

More than 5 years have passed since last update.

ShinobiLayer: SoftLayerのSupermicroのBIOS設定をコマンドで変更する方法

Last updated at Posted at 2016-07-19

1. はじめに

以前、SoftLayerのSupermicroのBIOS設定をテキスト形式で取得する方法を記載しましたが、ここまでやると、BIOS設定も自分で変更したくありませんか?
本記事では、BIOS設定の変更方法をご紹介します。

2. BIOS設定一覧を取得する

SoftLayerのSupermicroのBIOS設定をテキスト形式で取得する方法を参照して、BIOS設定情報が取得する。

sum -i {IPMIのアドレス} -u root -p {IPMIのパスワード} -c GetCurrentBiosCfgTextFile --file {出力ファイル名}

3. 変更箇所を記載したConfigファイルを作成する

上記で得られた出力ファイルを編集し、該当セクションと変更箇所のみを記載したテキストファイルを作成する。以下はAES-NIを無効化する例。

bioscfg_aesni_disabled.txt
[Advanced|CPU Configuration] 
AES-NI=00                               // 00 (Disable), *01 (Enable)        

4. BIOS設定変更の実施

このテキストファイルを、./sum -i {IPMIのアドレス} -u root -p {IPMIのパスワード} -c ChangeBIOSCfg --file bioscfg_aesni_disabled.txt
のように指定して、ホストを再起動すればBIOS設定は変更される。

# ./sum -i 10.132.2.248 -u root -p xxxxxxxx -c ChangeBIOSCfg --file bioscfg_aesni_disabled.txt 
Supermicro Update Manager (for UEFI BIOS) 1.6.1 (2016/06/04) (x86_64)
Copyright©2016 Super Micro Computer, Inc. All rights reserved
...........

Status: Start updating the BIOS configuration for 10.132.2.248

************************************WARNING*************************************
    Do not remove AC power from the server.
********************************************************************************

.
Status: The BIOS configuration is updated for 10.132.2.248

Note: You have to reboot or power up the system for the changes to take effect
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1