gateway コマンドは、SGD Gateway の構成と制御に使用します。
gateway コマンドのフルパスは、/opt/SUNWsgdg/bin/gateway
です。
gateway start | stop | restart | config | server | status | setup | version | sslcert | sslkey | cert | key | setup | uninstall
使用可能な gateway コマンドを次の表に示します。
コマンド | 説明 | 詳細情報 |
---|---|---|
gateway start | SGD Gateway を起動します | |
gateway stop | SGD Gateway を停止します | |
gateway restart | SGD Gateway を停止してから再起動します | |
gateway config | SGD Gateway を構成し、Apache 逆プロキシ構成ファイルを更新します | |
gateway server | SGD サーバーのセキュリティー証明書をインストールし、SGD アレイの負荷分散を構成します | |
gateway status | SGD Gateway の現在のステータスを表示します | |
gateway version | SGD Gateway のバージョン番号を表示します | |
gateway sslcert | クライアントキーストア内の Secure Sockets Layer (SSL) 証明書をエクスポートし、出力します | |
gateway sslkey | クライアントキーストア内の非公開鍵と証明書を管理します | |
gateway cert export | SGD Gateway キーストアから SGD Gateway の証明書をエクスポートします | |
gateway key import | 非公開鍵と証明書を SGD Gateway キーストアにインポートします | |
gateway setup | SGD Gateway のセットアッププログラムを実行します | |
gateway uninstall | SGD Gateway ソフトウェアをアンインストールします |
すべての gateway コマンドに --help
オプションがあります。このオプションを使用すると、コマンドのヘルプを表示できます。
次の例では、SGD Gateway を起動します。
# /opt/SUNWsgdg/bin/gateway start
次の例は、SGD サーバー server.example.com
が、SGD Gateway の使用を承認されていないことを意味します。
# /opt/SUNWsgdg/bin/gateway server remove --server server.example.com