memcached failover
Niva Agmon
nagmon at temple.edu
Mon Aug 1 14:01:56 EDT 2016
We setup our two Shib nodes with memcached per the Storage Configuration<https://wiki.shibboleth.net/confluence/display/IDP30/StorageConfiguration#StorageConfiguration-MemcachedStorageService> article on the wiki but we still have to re-login to the idp when one of the nodes is down. Is this the expected behavior?
Idp.properties:
idp.session.StorageService = shibboleth.MemcachedStorageService
...
global.xml:
<!-- MemcachedStorage Service configuration -->
<bean id="shibboleth.MemcachedStorageService"
class="org.opensaml.storage.impl.memcached.MemcachedStorageService"
c:timeout="2">
<constructor-arg name="client">
<bean class="net.spy.memcached.spring.MemcachedClientFactoryBean"
p:servers="xxx-1.temple.edu:11211, xxx-2.temple.edu:11211"
p:protocol="BINARY"
p:locatorType="CONSISTENT"
p:failureMode="Redistribute"
p:daemon="True">
<property name="hashAlg">
<util:constant static-field="net.spy.memcached.DefaultHashAlgorithm.FNV1_64_HASH" />
</property>
<property name="transcoder">
<!-- DO NOT MODIFY THIS PROPERTY -->
<bean class="org.opensaml.storage.impl.memcached.StorageRecordTranscoder" />
</property>
</bean>
</constructor-arg>
</bean>
Thanks,
Niva
Niva Agmon
Temple University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160801/aac0c40f/attachment.html>
More information about the users
mailing list