Tuesday, October 26, 2010

Hardware Requirements and few examples of possible combinations

There have been many post in Liferay forum around Hardware Requirements
I will share few successful implementation I am aware of and minimum requirements for server and developer sandboxes.
I will update this post every time I come across new config so watch out this space for newer Hardware configs :)

The best resources for server sizing and hardware requirements are Liferay whitepaper, choose the one which is relevant to your version
LPEE 6.2 Deployment Checklist
Liferay Portal 6.2 Performance Whitepaper
https://www.liferay.com/documentation/additional-resources/whitepapers

There can be unlimited combination so please leave your requirements and I will try to device optimal hardware requirements for you as per my learning's :D

General thumb rule before finalizing the architecture and server sizing / hardware configuration is

1. Gather requirements for
a. Total number of users
b. Concurrent users  & maximum logged in users expected at one time
c. Operation expected WCM scenario, Content reading, content access, transaction / login, search etc
d. High availability required
e. Clustering required (Need to request for a cluster key)

Based on the inputs you can reach a rough sizing estimate using the performance whitepaper

make sure when you are taking vCPU into consideration use 2 vCPU = 1 physical core.

Again hardware will also depend on the application being built on top of Liferay so if its a page with login and WCM etc it will handle smaller number of user than plain text age and you need to prorate and adjust the users based on the application and OOB components used from Liferay.

Make sure in a HA architecture the nodes / cluster node are in same network / DC

Liferay portal 6.2

 Production Box
RAM --Min : 16 GB , Good to have 32 - 64 GB RAM
Processor - Min 4 CPU (I1 quad core processor) , Good to have 8 CPU ( 2 quad core processor)
example - 2 X Intel core 2 Quad X5677 3.46GHz, 12MB L2 cache

Liferay portal 6.1 and below :
Developer Box
Minimal -- 1 GB RAM , processor with clocks more than 2.X Ghz for example celeron processor will suffice if you provide 2 GB RAM and Processor 2.6GHz
if you are working with LR portal 5.1X below you can use processor with lower clock.

In scenarios where developers have a complete sandbox setup on their local machine my recommendation is at least 2 GB RAM is used with dual core CPU @2.50GHz
(MySQL , eclipse , LR portal , Apache webserver +3rd party integration component

----------
For Testing /UAT / Staging environment
The number of nodes will depend on the load / traffic expected however its good to have Minimum of 2 portal nodes 2 authentication server nodes and a hot standby of DB

Minimal --
Liferay portal 1.5 GB RAM , dual core CPU @2.50GHz or more (per node)
------------
Production Environment
Some possible combination

1>
OS: Redhat Linux
Sever : Dell Power edge
CPU :1 quad core @2.5Ghz or 2 Dual core with no less clock
Ram :4GB

2>
Sever : Dell Power edge or Sunfire in case of Solaris
2X 2.0Ghz
quad core
8GB
Linux
--------------------------
For DB and third party servers

Sever : Dell Power edge or Sunfire in case of Solaris
4X1.6GHz
8Gb
Solaris

1 comment: