@Nancy,
Could you give more details bout this implementation? Is that working together 
with tomcat clustering?

From: Nancy Snoke [mailto:[email protected]]
Sent: Tuesday, April 08, 2014 12:16 AM
To: [email protected]
Subject: RE: [cas-user] Using cluster Env on Amazon

I personally have CAS working with a replicated Ehcach using JGroups 
communication via TCP unicast.  The cacheManagerPeerProviderFactory is set up 
like:
<cacheManagerPeerProviderFactory 
class="net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory"
      properties="connect=TCP(bind_port=41001):
      
TCPPING(initial_hosts=hostname2[41001],hostname1[41001];port_range=10;timeout=3000;num_initial_members=2):
      MERGE2:
      VERIFY_SUSPECT(timeout=1500):
      pbcast.NAKACK2(use_mcast_xmit=false;discard_delivered_msgs=true):
      UNICAST2:
      pbcast.STABLE(stability_delay=1000;desired_avg_gossip=50000):
      FRAG2:
      
pbcast.GMS(join_timeout=5000;print_local_addr=true;view_bundling=true;max_join_attempts=0)"
      propertySeparator="::" />
OF course you can just read the JGroups documentation to decide what setting 
are right for your setup.  Ehcahce with JGroups communication is very 
configurable although the documentation is a little difficult.

I found the following links useful:
https://wiki.jasig.org/display/CASUM/EhcacheTicketRegistry
http://ehcache.org/documentation/replication/jgroups-replicated-caching
http://www.jgroups.org/manual/html/user-advanced.html



From: Cedric Hurst [mailto:[email protected]]
Sent: Monday, April 07, 2014 10:47 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [cas-user] Using cluster Env on Amazon

You probably want to do static membership.  The CAS article simply describes 
Tomcat clustering, but here's some more info on doing it without multicast:

http://www.rotanhanrahan.com/2012/01/06/tomcat-cluster-apache-lbr-and-replication
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2009794

--
Build Smarter Software.

Cedric Hurst, Principal
Spantree Technology Group, LLC
1144 W Fulton Market, Suite 120, Chicago, IL
email: [email protected]<mailto:[email protected]> | phone: 888.386.5501
web: http://www.spantree.net

On Monday, April 7, 2014 at 10:30 AM, ray wrote:
I am trying to configure clustering to our CAS nodes via this article:
https://wiki.jasig.org/display/CASUM/Clustering+CAS

Our servers running on Amazon's cloud. As I understand I must have multicast on 
the network.

Amazon doesnt support multicast. any proven way how to backdoor this?

found some links on the web but not sure about their legitimate

thanks,
ray.

--
You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[email protected]>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user




--

You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[email protected]>

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



--

You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[email protected]>

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

This e-mail and the information it contains may be privileged and/or 
confidential. It is intended solely for the use of the named recipient(s). If 
you are not the intended recipient you may not disclose, copy, distribute or 
retain any part of this message or attachments. If you have received this 
e-mail in error please notify the sender immediately [by clicking 'Reply'] and 
delete this e-mail.

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to