Users Guide

Synergy Web Server Clustering | Clustering
116 OMNM 6.5.3 Installation Guide
Set the Share Path
1
Document Library Share
: Uncomment or add the
dl.store.file.system.root.dir
property. The value should point to the
/path/to/share/document_library
or, for
Windows, if your share was drive G: then this entry would be
G:/document_library
2
Legacy Images Share
: Uncomment or add the
image.hook.file.system.root.dir
property. The value should point to the
/path/to/share/images,
or, for Windows, if
your share was drive G: then
G:/images
. Even if you had no
images
directory copied
previously, you still need this property and the system creates the directory when needed.
Your property setup is now complete. Save the file and do the same for each Node within the
cluster.
Start the Nodes
You have now mounted the common share on all server nodes. Each server should have clustering
and Lucene replication enabled along with the share paths for the document library and legacy
images within the
server-overrides.properties
file for each server. You can now start
each server. Start the nodes one after the other so each node has time to adapt to the new setup.
During the startup extra log entries should appear referring to members joining or other nodes
found.
Disable Multicast and using Unicast within a webserver cluster
1
Create or copy the unicast.xml to
$OWARE_ROOT/synergy/tomcat-7.0.40/webapps/ROOT/WEB-INF/classes
The unicast.xml can be found at https://web.liferay.com/web/fimez/blog/-/blogs/configuring-a-
liferay-cluster-and-make-it-use-unicast-
2
Add following to $OWARE_ROOT /synergy/conf/server-overrides.properties
cluster.link.channel.properties.control=unicast.xml
cluster.link.channel.properties.transport.0=unicast.xml
ehcache.bootstrap.cache.loader.factory=com.liferay.portal.cache.ehcache.JGroupsBootstrapC
acheLoaderFactory
ehcache.cache.event.listener.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheRepli
catorFactory
ehcache.cache.manager.peer.provider.factory=net.sf.ehcache.distribution.jgroups.JGroupsCa
cheManagerPeerProviderFactory
net.sf.ehcache.configurationResourceName.peerProviderProperties=file=/unicast.xml
ehcache.multi.vm.config.location.peerProviderProperties=file=/unicast.xml
Using Load Balancers
OpenManage Network Manager’s web server(s) is (are) between application servers and clients. To
add high availability-like capabilities a web served application system, you may use an open-source
load balancer like HAProxy either between the web servers and application servers, or between
clients and web servers (as in
Non-Distributed HA
on page 106 or
HA Distributed Cluster
on
page 107).