Databases Reference
In-Depth Information
As shown in the preceding diagram, we will configure the cluster of two Liferay
Portal application servers. We will need the following software components to
set up the clustered environment:
• Liferay Portal Community Edition 6.1 GA2
• Apache Web Server 2.X
• MySQL Community Server 5.5.29
It is not mandatory to use the exact versions as mentioned,
but the exercises within this chapter are verified on the
versions listed.
To configure the Liferay Portal cluster as shown in the preceding architecture
diagram, we will need four servers to set up the Apache Web Server, MySQL
Database server, and two Liferay Portal application servers. It is assumed that
Apache Web Server and MySQL Community Server are already installed and
running. Once these prerequisites are addressed, we will need to perform the
following high-level steps to configure the clustered environment:
• Setting up Liferay Portal Server nodes
• Software load balancer configuration using Apache Web Server
• Liferay Portal session replication configuration
• Liferay Portal Media Library configuration
• Liferay Portal Ehcache configuration
• Liferay Portal search configuration
• Liferay Portal quartz scheduler configuration
So let's start with Liferay Portal cluster configuration steps.
Setting up Liferay Portal nodes
As shown in the architecture diagram, we need to configure two Liferay Portal
server nodes. Throughout the topic, we will refer to both Liferay Portal servers as
liferay-node-01 and liferay-node-02 respectively. Let's do that by following
the ensuing steps:
1.
On liferay-node-01 , create a directory named node-01 in the root
directory, and then extract the Liferay Portal 6.1 GA2 bundle in it. Similarly
on liferay-node-02 , create a directory name, node-02 , and extract the
Liferay Portal bundle in it.
 
Search WWH ::




Custom Search