﻿1 FindAvailableNodes

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

   findavailablenodesを使用すると、ネットワークで使用可能なノードを検索でき
   ます。ノードが使用可能であるためには、ノードにアクセスできなければなりま
   せんし、かつ、別の管理システムがそのノードを排他的に制御していないことが
   必要です。このコマンドは、指定した範囲のIPアドレスを検索し、ポート番号を
   オプションとして受け入れます。

  1.1 構文

   hpsum findavailablenodes --type ip|LDAP|port [ipAddrLow ipAddrHi] [port]

  1.2 パラメーター

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

   +------------------------------------------------------------------------+
   | パラメーター        | 説明                                             |
   |---------------------+--------------------------------------------------|
   | HPSUM               | HP SUMスクリプトがこのアクションを開始します。   |
   |---------------------+--------------------------------------------------|
   | findavailablenodes  | HP SUMを使用してアップデート可能なすべてのノード |
   |                     | を検索するコマンド。                             |
   |---------------------+--------------------------------------------------|
   |                     | typeオプションを渡す場合、値は次の3つのタイプのい|
   |                     | ずれかに一致している必要があります。             |
   |                     |                                                  |
   |                     | ipOptions: ipAddrLow; ipAddrHiLDAPOptions:       |
   |                     | ldapServer; username; ** passwordportOptionsを要 |
   |                     | 求する対話型プロンプト ipAddrLow; ipAddrHi;      |
   |                     | portNum                                          |
   |                     |  1. ip                                           |
   |                     |                                                  |
   | --type ip|LDAP|port |     オプション:  ipAddrLow; ipAddrHi             |
   |                     |                                                  |
   |                     |  2. LDAP                                         |
   |                     |                                                  |
   |                     |     Options: ldapServer; username; **            |
   |                     |     interactive prompt for password              |
   |                     |                                                  |
   |                     |  3. port                                         |
   |                     |                                                  |
   |                     |     Options: ipAddrLow; ipAddrHi; portNum        |
   +------------------------------------------------------------------------+

  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 findavailablenodes /type ip 10.7.85.0 10.7.85.128

    Linux/HP-UXのサンプルのコマンドライン

   $ hpsum findavailablenodes --type port 10.7.85.0 10.7.85.128 445
