How can I prevent the Zeus Web Server from binding to all available interfaces?

By default, the Zeus Web Server will attempt to bind to all available interfaceson a machine, regardless of whether individual virtual servers have beenconfigured with a specific bind address.

It is useful to disable this "greedy binding" feature under the following circumstances:

  • Where you require more than one instance of Zeus on a machine with multiple IP addresses, each listening to the same port (eg 80).
  • Where you run an application in addition to Zeus (eg Apache) on the same machine, and you require it to listen to the same port (eg 80).

To disable greedy binding, you need to edit the global configurationfile for each of your Zeus instances. The global configuration file is:

$ZEUSHOME/web/global.cfg

And the line that you need to add is:

tuning!bind_any no

You also need to restart each of the Zeus instances whose configuration you edited.

Finally, you need to ensure that you bind each of the virtual servers on eachof the Zeus instances to the appropriate IP address. This is set in the"general configuration" option from Zeus' Web Controller interface.

Please note that the bind_any tunable will be ignored if 'balancer!enabled' is set to 'yes' in the global.cfg file.

When Zeus Web Server is running behind Zeus Load Balancer the behaviour will always be to bind to all interfaces no matter what the value of the bind_any tunable is.

Content Manager [Administrator] 19 September 2005  Permalink  
Download Free Trial

Recent Articles

Other Resources



www.zeus.com