Is there a way to give different Cluster ids to Jackrabbit when running two nodes in the same machine?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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?