Session replication in Glassfish Cluster on EC2

不打扰是莪最后的温柔 提交于 2019-12-06 04:45:21

Read the High Availability Administration Guide for v3.1.2, specifically section "Discovering a Cluster When Multicast Transport Is Unavailable". Haven't tried it yet, but looking forward. Cheers!

First thing to try would be trying to validate if the multicast works on your your setup, use below asadmin command.

asadmin validate-multicast       

You can checkout this simple Youtube Video about how to do that

http://www.youtube.com/watch?v=sJTDao9OpWA

In case Multicast does not work, you may want to try the non multicast option that is supported on Recent release of Glassfish 3.1.2

The release notes say that it supports non multicast clustering

New Support for non-Multicast clustering. GlassFish High-Availability clustering is now possible in environments where multicast is disabled.

I was not able to find any documentation that provides steps for setting up the non Multicast cluster. There may be one for the enterprise support customers.

As some users noticed, in EC2 is not supported multicast. A solution comes with Glassfish v3.1.2, that allows two other different ways to discover a cluster when multicasting is not permitted (by listing instances ip or making it auto-generate the list). Here's specified how to start a cluster in a non-multicasting environment: Administering Glassfish Server Clusters

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!