1) Configure different ports for each tomcat
2) If consider both the tomcat under following directory like
“…..../liferayHome/liferay-portal-6.1.1-ce-ga2-node1”
“…..../liferayHome/liferay-portal-6.1.1-ce-ga2-node2”
Here “liferayHome” is a home folder for both the tomcat server
3) Created two folders datanode1 and datanode2 under the “…..../liferayHome” home folder
“…..../liferayHome/datanode1”
“…..../liferayHome/datanode2”
4) Please add following properties in liferay-portal-6.1.1-ce-ga2-node1 portal-ext.properties file
liferay.home=…..../liferayHome
jdbc.default.url=jdbc:hsqldb:${liferay.home}/datanode1/hsql/lportal
lucene.dir=${liferay.home}/datanode1/lucene/
jcr.jackrabbit.repository.root=${liferay.home}/datanode1/jackrabbit
dl.hook.file.system.root.dir=${liferay.home}/datanode1/document_library
5) Please add following properties in liferay-portal-6.1.1-ce-ga2-node2 portal-ext.properties file
liferay.home=…..../liferayHome
jdbc.default.url=jdbc:hsqldb:${liferay.home}/datanode2/hsql/lportal
lucene.dir=${liferay.home}/datanode2/lucene/
jcr.jackrabbit.repository.root=${liferay.home}/datanode2/jackrabbit
dl.hook.file.system.root.dir=${liferay.home}/datanode2/document_library
6) Please restart both tomcats.