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ファイルで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