IBM Support

HMC 初期資料収集ガイド

Question & Answer


Question

HMC や vHMC の初期資料の収集方法について知りたいです。

Answer

 
資料取得方法HMC や vHMC で pedbg 資料を取得します。筐体上に冗長の HMC が存在する場合は、すべての HMC に対してpedbg 資料の取得が必要です。pedbg 資料の取得には、hmcpe タスク・ロールを有した hscpe という名前のユーザーが必要です。

(1) hscpe ユーザーの作成
作成されている場合は、手順 (2) へ進めてください。
hscpe ユーザーの作成方法は次のとおりです。

(1.1) HMC にアクセスいただき、ユーザープロファイルの画面へ進めてください。

・ Classic GUI ご使用の場合
右側の「 HMC 管理」→「ユーザー・プロファイルおよびアクセスの管理」をクリックしてください。

・ Enhanced+ GUI ご使用の場合
右側の「ユーザーおよびセキュリティー」→「ユーザーおよびロール」→「ユーザー・プロファイルおよびアクセスの管理」をクリックしてください。

(1.2) ユーザー・プロファイルおよびアクセスの管理をクリックしてください。
(1.3) 新画面が開きましたら、ユーザーメニューから追加を選択してください。
(1.4) ユーザーの追加画面が表示されましたら、次の各項目を入力してください。
パスワードにつきましては、お使いの環境にあわせて適切な設定をお願いいたします。

- ユーザーID: hscpe
- 説明: hmcpe (任意の説明を記述してください。)

- 管理対象リソース・ロール: AllSystemResources
- タスク・ロール: hmcpe

(2) HMC 上で pedbg 資料の取得
次の方法で pedbg コマンドを実行ください。

(2.1) HMC へのログイン
hscpe ユーザーで、ssh 経由で(コマンドラインからのコマンド実行可能なように) HMC へログインください。既に hscroot ユーザーでログインしている場合には、以下のコマンドを実行することで hscpe ユーザーとしてログインしなおすことができます。

> ssh hscpe@localhost
Are you sure you want to continue connecting (yes/no)? yes

(2.2) pedbg コマンドの実行
次のとおり pedbg コマンドを実行してください。
> pedbg -c -q 4

もしプロンプトで入力を促される場合は、次のとおり入力してください。
Collect base HMC debug logs? Please type yes or no.
==> yes

Would you like to collect extended log data? Please type yes or no.
If you answer yes, the size of the data collected may be very large.
==> yes

collect all available logs
Would you like to collect archived log data? Please type yes or no.
If you answer yes, the size of the data collected may be very large.
==> yes


collect all available logs
Created /dump/HMClogs.*.zip
Would you like to move zip file to a DVD or other device?
The answer no will write to the HMC hardfile
Please type yes or no.
==> no

(例)
hscpe@hmc:~> pedbg -c -q 4
..(中略)..

Collecting extended hardware server log information.
This operation can take a few minutes

File /dump/HMClogs.hmc1228H52.zip was created.
hscpe@hmc:~>

(2.3) ファイルの移動
上の例のように、pedbg コマンドの最後出力に取得されたファイル名が表示されます。
hscroot ユーザーでログインいただき、sendfile コマンド( FTP 相当)を実行いただくか、scp コマンドでファイルを移動してください。

実行例:
> sendfile -f /dump/HMClogs.XXXXXXXXX.zip -h YYY -d /tmp -u root
この例では root ユーザとして ノード YYY にFTPアクセスし、/tmp ディレクトリに保存しています。

参考情報
Version 7 or 8 HMC: Collecting PEDBG from the HMC

変更履歴
2017年12月29日 外部公開

[{"Product":{"code":"SSPW8UL","label":"IBM HMC Virtual Appliance x86"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Component":"--","Platform":[{"code":"","label":"N\/A"}],"Version":"Not Applicable","Edition":"","Line of Business":{"code":"LOB68","label":"Power HW"}},{"Product":{"code":"SST90XH","label":"IBM HMC Virtual Appliance Power"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Line of Business":{"code":"LOB68","label":"Power HW"}}]

Document Information

Modified date:
21 April 2025

UID

jpn1J1013415