Tiered Storage Manager Software CLI リファレンスガイド

[目次][索引][前へ][次へ]


6.2 htsmcli.propertiesファイルでのオプションやパラメーターの指定

htsmcli.propertiesファイルのプロパティで,CLIコマンドを実行するときに使用するTiered Storage Managerサーバのロケーション,オプション,およびパラメーターを設定しておけます。次の表にhtsmcli.propertiesファイルのプロパティとCLIコマンドの引数の対応を示します。

表6-2 htsmcli.propertiesファイルのプロパティとCLIコマンドの引数の対応

プロパティ CLIコマンドの引数
htsmserver.location Tiered Storage Managerサーバのロケーション
option.username --usernameオプション
option.password --passwordオプション
option.password2 対応する引数なし
option.output --outputオプション
option.secure --secureオプション
parameter.パラメーター名 「名前」と「値」の組み合わせで指定するパラメーター
重要
htsmcli.propertiesファイルにプロパティの値を記述するとき使用できる文字で,印字できる文字は,ASCII文字およびASCII文字として認識される\u0020~\u007Eだけです。

htsmcli.propertiesファイルでTiered Storage Managerサーバのロケーションとオプションに値を設定する例を,次の表に示します。

表6-3 htsmcli.propertiesファイルでのプロパティの値の設定例

プロパティ
htsmserver.location rmi://myhost.mydomain:24500/HTSMServer
option.username user01
option.password @C:\\TieredStorageManager\\Tiered Storage Managerのバージョン\\CLI\\pass.txt
option.secure true

これらのプロパティと値の記述例を次に示します。

htsmserver.location=rmi://myhost.mydomain:24500/HTSMServer
  
option.username=user01
  
#option.password=user01_pass
#option.password=@/home/user01/htsmclipassword

option.password=@C:\\TieredStorageManager\\<Tiered Storage Managerのバージョン>\\CLI\\pass.txt

option.secure=true
この節の構成
6.2.1 htsmserver.locationプロパティ
6.2.2 option.usernameプロパティ
6.2.3 option.passwordプロパティ
6.2.4 option.password2プロパティ
6.2.5 option.outputプロパティ
6.2.6 option.secureプロパティ
6.2.7 parameter.パラメーター名プロパティ

[目次] [前へ] [次へ]


All Rights Reserved. Copyright© 2010, 2014, Hitachi, Ltd.