要删除 SGD Gateway,请删除 SGD Gateway 主机上安装的软件。
在 SGD Gateway 主机上,以超级用户 (root) 身份登录。
更改 SGD 阵列的 SGD Client 路由配置。
在主 SGD 服务器上以超级用户 (root) 身份登录。
编辑 SGD 阵列的 --security-gateway
属性。
对于使用一个 SGD Gateway 的基本部署,请运行以下命令:
# tarantella config edit --security-gateway ""
对于使用多个 SGD Gateway 和一个外部负载平衡器的负载平衡部署,无需编辑 --security gateway
属性。
卸载 SGD Gateway。
运行以下命令:
# /opt/SUNWsgdg/bin/gateway uninstall
将显示一条警告消息,提示您确认要停止 SGD Gateway。
gateway uninstall 命令是用于删除 SGD Gateway 的唯一受支持的方法。请不要直接使用 pkgrm 或 rpm 命令来删除 SGD Gateway。
(可选)从 SGD 阵列的注册 SGD Gateway 列表中删除 SGD Gateway。
显示 SGD 阵列的注册 SGD Gateway。
# tarantella gateway list Installed gateway: gateway1.example.com Issuer: CN=gateway1.example.com, OU=Marketing, O=Example, L=Boston, ST=Massachusetts, C=US Serial Number: 1208509056 Subject: CN=gateway2.example.com, OU=Marketing, O=Example, L=Boston, ST=Massachusetts, C=US Valid from Fri Sep 26 09:57:36 GMT 2008 to Thu Dec 25 09:57:36 GMT 2008
从 SGD 阵列的注册 SGD Gateway 列表中删除 SGD Gateway。
# tarantella gateway remove --name gateway1.example.com