B.28. tarantella gateway add

SGD Gateway を SGD アレイに登録します。

構文

tarantella gateway add { 
                        --name server-name 
                        --certfile cert-file 
                        } | --file file

説明

次の表は、このコマンドで使用可能なオプションを示しています。

オプション

説明

--name

登録する SGD Gateway の名前。

--certfile

SGD サーバーで使用する SGD Gateway の証明書。Definite Encoding Rules (DER) 形式または PEM 形式の証明書を使用できます。

--file

複数の SGD Gateway の構成設定を含んでいるバッチファイル。

次の例では、SGD アレイの登録済みゲートウェイのリストに gateway1.example.com を追加します。

$ tarantella gateway add --name gateway1.example.com \
--certfile /opt/gateway1_cert_file.pem

次の例では、tarantella gateway add--file オプションを使用して、複数のゲートウェイを同時に登録します。

$ tarantella gateway add --file gateways.list

--file オプションでバッチファイル gateways.list を指定しており、このファイルには、次のように各ゲートウェイの設定の行が含まれています。

--name gateway1.example.com --certfile /opt/gateway1_cert_file.pem
--name gateway2.example.com --certfile /opt/gateway2_cert_file.pem