Hi Jamie,

I'm using the watchdog.conf, and it seems to be acting a bit differently.

Couple of questions:

1.)  When using watchdog.conf, can a resin load balancer be used?  If so,
how/where?
2.)  When using watchdog.conf, are unique IP's required?
3.)  If load balancer is used, I can point to a loadbalancer.conf, but what
goes into the <resin-root> folder?

<watchdog>
    <user-name>resin</user-name>
    <group-name>resin</group-name>

    <resin-conf>/usr/local/resin/conf/www.loadbalancer.conf</resin-conf>
    <resin-root>/resin/webapps/what_directory_goes_here</resin-root>

    <open-port address="xxx.xxx.xxx.xxx" port="80"/>
</watchdog>

It seems like watchdog.conf requires unique IP.  Right now I have many with
unique IP, but would like to setup some shared IPs as well.  Appreciate your
help & time!

-----Original Message-----
From: resin-interest-boun...@caucho.com
[mailto:resin-interest-boun...@caucho.com] On Behalf Of Jamison Novak
Sent: Monday, September 27, 2010 11:34 PM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Watchdog binding

> Can a watchdog bind to a port already used by another watchdog process?
> Similar to the way that a virtual host would?
> 
> java.io.IOException: bind failed to xxx.xxx.xxx.xxx:80

No, only one process can bind to a port. To get around that, you can either
use a web-tier cluster to load balance traffic to the correct cluster. The
documentation has a few different examples:

http://caucho.com/resin-4.0/admin/http-virtual-hosts.xtp

Specifically, look at the "Server per virtual host" example with the
back-end JVM and the web-tier load balancer.

Hope that gets you started.

-Jamie


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest




_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to