Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Resin

Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2010, 08:03 AM
rein rein is offline
Junior Member
 
Join Date: Dec 2010
Posts: 17
Question Help in setting up a cluster of servers in Resin 4

Hey,
Im using Resin 4.0 Pro with a license.Have a small doubt when trying to set up a cluster.

Do the configuration file for all the resin instances have to be the same, inorder for them to work in the same cluster?
Or can the conf files for each instance have different settings like different web-apps,host settings etc ,and only the the common information inorder to setup the cluster would be that the server for that instance would be under the same cluster id and we would just need to provide it the knowledge of the other servers in the same cluster?

egJust a sample explanation)
// Conf 1
<cluster ="common_across_confs">
<host id="">
<web-app id="/" document-directory='/xyz'>
</web-app>
</host>
<server id="instance1" address="192.168.1.10" port="6800">
info for this instance
</server>
<server id="instance2" address="192.168.1.20" port="6801">
</cluster>


// Conf 2

<cluster ="common_across_confs">
<host id="">
<web-app id="/" document-directory='/not_xyz_but_a_diff_path'>
</web-app>
</host>
<server id="instance2" address="192.168.1.20" port="6801">
info for this instance
</server>
<server id="instance1" address="192.168.1.10" port="6800">
</cluster>
Reply With Quote
Reply

Tags
clustering, configuration, resin 4.0

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:50 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.