可使用 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