【问题标题】:glassfish load balancer configurationglassfish 负载均衡器配置
【发布时间】:2011-12-29 08:33:03
【问题描述】:

我正在尝试在 glassfish 3.1.1 服务器中配置集群。我已经创建了集群,但是它在不同的端口号和不同的 ip 上部署了应用程序在负载均衡器中配置的机器。

如何实现呢?有人知道吗?或提供相同的教程和/或博客链接。

【问题讨论】:

    标签: java load-balancing glassfish-3


    【解决方案1】:

    http://tiainen.sertik.net/2011/03/load-balancing-with-glassfish-31-and.html

    简述:

    使用负载均衡器配置 glassfish 集群的步骤:

    1. 创建集群
    2. 为集群创建实例
    3. 启动集群
    4. 部署 Web 应用程序
    5. 创建一个网络监听器来监听来自负载均衡器的请求
    6. 安装 Apache Web Server 并获取 mod_jk 模块
    7. 编辑apache web服务器conf目录下的httpd.conf文件和workers.properties文件
    8. 重启集群、glassfish 域和 apache 守护进程

    注意:如果使用任何 Linux 操作系统,您可能需要关闭防火墙。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-05
      • 2019-01-09
      • 1970-01-01
      • 2021-12-07
      • 2023-04-09
      • 1970-01-01
      • 1970-01-01
      • 2012-12-24
      相关资源
      最近更新 更多