Liferay clustering in the same machine

Is there a way to give different Cluster ids to Jackrabbit when running two nodes in the same machine?

Answers


Those two nodes do have two home directories, right? So you should have two directories where the Jackrabbit configuration is stored (repository.xml if I recall correctly), thus you can enter the relevant ID in every single file.

If you don't have that already, I'd suggest to separate the directories for both servers.

By the way: Configuring a cluster is typically either done for stability (e.g. survive a server going down) or load distribution. In your case neither would give you benefit - what's your usecase for setting up a cluster on the same machine? Testing? Demo?


Need Your Help

Is it possible to create an “anonymous” initializer in C99?

c initialization c99

I'm using nested structs to create a sort of "struct inheritance" in plain C. For example, I have a few structs like this:

Several Facebook likes with just one action?

php facebook button like

Is it possible to simoltaneoulsy like several pages with the same button? How would you do that in php?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.