Apache 反向代理包括名为 Balancer Manager 的 Web 应用程序。通过 Balancer Manager,可以管理反向代理使用的负载平衡组中的 SGD Web 服务器。
使用 Balancer Manager,可以执行以下操作:
查看负载平衡组中 SGD Web 服务器的状态信息
查看和更改 SGD Web 服务器的负载平衡路由
从负载平衡组中删除 SGD Web 服务器
要启用 Balancer Manager,请删除反向代理配置文件 /opt/SUNWsgdg/httpd/
中用于禁用该应用程序的注释。
apache-version
/conf/extra/gateway/httpd-gateway.conf
# Allows the configuration of load balancing parameters # # <Location /balancer-manager> # SetHandler balancer-manager # Order Deny,Allow # Deny from all # Allow from all # </Location>
必须重新启动 Gateway 才能启用所做的任何更改。
# /opt/SUNWsgdg/bin/gateway restart
要访问 Balancer Manager,请启动浏览器并转至 https://
,其中 gateway.example.com
/balancer-managergateway.example.com
为 SGD Gateway 主机。
有关配置 Balancer Manager 的更多详细信息,请参见 Apache mod_proxy_balancer 文档。