﻿1 GetNodes

     ----------------------------------------------------------------------

   getnodesを使用すると、現在のHP SUMセッションのノードのリストを表示できま
   す。

  1.1 構文

   hpsum getnodes [<nodelist> --details]

  1.2 パラメーター

   getnodesコマンドには次のオプションがあります。

   +------------------------------------------------------------------------+
   | パラメーター  | 説明                                                   |
   |---------------+--------------------------------------------------------|
   | hpsum         | HP SUMスクリプトがこのアクションを開始します。         |
   |---------------+--------------------------------------------------------|
   | getnodes      | 現在のHP SUMセッションのノードを表示するコマンド。     |
   |               |                                                        |
   |---------------+--------------------------------------------------------|
   | --<nodeslist> | 操作を実行するノード。                                 |
   |---------------+--------------------------------------------------------|
   | --details     | [--details]を指定すると、詳細情報を取得できます。      |
   +------------------------------------------------------------------------+

  1.3 リターンコード

   +------------------------------------------------------------------------+
   | リターンコード         | Windows | Linux | テキスト                    |
   |------------------------+---------+-------+-----------------------------|
   | SUCCESS_NO_REBOOT      | 0       | 0     | The command was successful. |
   |                        |         |       | （コマンドが成功しました。）|
   |------------------------+---------+-------+-----------------------------|
   | FAILURE_GENERAL        | -1      | 255   | A general failure occurred. |
   |                        |         |       | （一般障害が発生しました。）|
   |                        |         |       | For details, see the logs.  |
   |                        |         |       | （詳細は、ログを参照してくだ|
   |                        |         |       | さい。）                    |
   |------------------------+---------+-------+-----------------------------|
   |                        |         |       | A bad input parameter was   |
   | FAILURE_BAD_PARM       | -2      | 254   | encountered.（不正な入力パラ|
   |                        |         |       | メーターが検出されました。）|
   |                        |         |       | For details, see the logs.  |
   |                        |         |       | （詳細は、ログを参照してくだ|
   |                        |         |       | さい。）                    |
   |------------------------+---------+-------+-----------------------------|
   | FAILURE_COMMAND_FAILED | -4      | 252   | The command failed.         |
   |                        |         |       | （コマンドが失敗しました。）|
   |                        |         |       | For details, see the logs.  |
   |                        |         |       | （詳細は、ログを参照してくだ|
   |                        |         |       | さい。）                    |
   +------------------------------------------------------------------------+

  1.4 例

    Windowsのサンプルのコマンドライン

   C:\>hpsum getnodes 16.157.90.123 /details

    Linuxのサンプルのコマンドライン

   $ hpsum getnodes 16.157.90.123 --details
