Glassfish 3.1 负载平衡设置
我对服务器设置非常陌生。我在 GF 中有一个包含 2 个实例的集群。
- instance1:28081
- instance2:28082
我在 Amazon Linux EC2 实例中运行我的 GF。当我尝试访问我的 EC2 实例 http 80 端口时,有哪些选项可以创建负载均衡器设置以将流量定向到这些实例?
1) 我是否需要有一个网络服务器来将流量引导到这些实例? 2)Glass Fish 中是否有任何选项可以在这些实例上无需网络服务器即可处理负载平衡?我在管理控制台上找不到负载平衡配置。 3) 有没有办法使用 Amazon 负载均衡将流量分配到驻留在单个 ec2 实例中的这些集群实例?
如果有人可以提供分步说明/链接参考,那将会很有帮助。
I am very new to server setup. I have a cluster with 2 instances in GF.
- instance1:28081
- instance2:28082
I am running my GF in Amazon Linux EC2 instance. What are the options to create a load balancer setup that directs traffic to these instances when I try to access my EC2 instance http 80 port?
1) Do I need to have a webserver to direct traffic to these instances?
2) Is there any options in Glass fish which can handle load balancing without a webserver on these instances? I couldn't find load balancing configuration on my admin console.
3) Is there a way to use Amazon Load balancing to distribute traffic to these cluster instances which resides in a single ec2 instance?
If some one can provide step by step instructions/link reference that would be helpful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我写了一篇关于 GlassFish 的负载平衡/故障转移和代理选项的精彩文章。
看看:http://blog.eisele.net /2012/01/ throwing-light-on-glassfish-webserver.html
I did a nice write up on loadbalancing/failover and proxy options for GlassFish.
have a look: http://blog.eisele.net/2012/01/throwing-light-on-glassfish-webserver.html