Liferay - Verify each node in a cluster
Posted
by
Schrute
on Server Fault
See other posts from Server Fault
or by Schrute
Published on 2012-11-22T02:32:54Z
Indexed on
2012/11/22
5:02 UTC
Read the original article
Hit count: 396
liferay
In this example, I have two clustered instances of Liferay using bundled Tomcat running, using cluster link and shared documents.
Let's say the name of the public community is fubar and friendy URL used is fubar.lipsum.com.
Let's say the ports listening on each server is 8080.
If I go to both server1:8080 or server2:8080 I will get the default page for Liferay.
How can I test fubar.lipsum.com on each node by using the backend server, so I can verify each server?
If I test it, it just goes to the load balancer, I wish there was a way to append to the backend connection to bring it up.
I can add the friendly URL to my local machines hosts file and this seems to kinda work, but then once something is called in the application, it tries to go out again from the backend server and then uses SSL and then we have problems.
I think I may be able to do port forwarding, but this seems like a basic thing we should be able to do and what I've found so far in the admin docs has not helped. Using the option to print the server name in the page details isn't an option either.
© Server Fault or respective owner