Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | WMSMonitor WMS instances Load Balancing Arbiter | |||||||
> > | WMSMonitor WMS instances Load Balancing Arbiter (Available from release 2.1) | |||||||
The Load Balancing Arbiter is a python script implementing a DNS-based WMS instances load balancing. When periodically executed as a cron it updates the WMS IPs set behind predefined WMS alias on the base of a load and functionality metric. | ||||||||
Line: 12 to 12 | ||||||||
Also an utility for regional loadbalancing is provided, to collect metrics from WMS instances monitored by alternative WMSMonitor server. | ||||||||
Deleted: | ||||||||
< < | ||||||||
Configuration of LOAD BALANCING ArbiterPreconfiguration STEPS: the Arbiter assumes that: | ||||||||
Line: 24 to 23 | ||||||||
LOAD_BALANCING_SITE_CONTACT = your-support-mail-address This is used to notify administrators about problems | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
DNS_KEYSTRING = YOUR-KEYNAME:YOUR-KEY DNS_SERVER = your-DNS-server DNS_ZONE = your-DNS-ZONE These are mandatory variables to fill with DNS coordinates and the KEYNAME:KEY couple for arbiter authentication on the DNS. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
ALIAS_LIST = wms-alice, wms-atlas, wms-cms-analysis, wms-cms-prod, wms-lhcb, wms-cdf, wms-multi, wms-test (These are Examples) Put here the list of aliases defined in your DNS (you must skip the DNS_ZONE postfix string) | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Let's now consider the variable you must set for each defined alias: WMS-ALICE_FLAG = 0 Set this Flag to 0 to disable the Load Balancing Procedure for this alias | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
WMS-ALICE_WMSLIST = wmshostname1, wmshostname2, wmshostname3 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Number of wms instances to leave out of the alias each new nsupdate | ||||||||
Changed: | ||||||||
< < | N.B. This number must be 0 < NUM_OUT < (number of wms in the alias list) | |||||||
> > | N.B. This number must be 0 < NUM_OUT < (number of wms in the alias list) | |||||||
WMS-ALICE_NUM_OUT = 1 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Set this flag to 1 if you want to integrate SUBMISSION TEST in loadbalancing metric, 0 otherwise WMS-ALICE_SUBMISSION_TEST_ENABLE = 0 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Put the url of SUBMISSION TEST result page for considered alias | ||||||||
Changed: | ||||||||
< < | WMS-ALICE_SUBMISSION_TEST_PATH = http::\your-url-publishing-page-with-submission-test-result | |||||||
> > | WMS-ALICE_SUBMISSION_TEST_PATH = http://your-url-publishing-page-with-submission-test-result | |||||||
Note that this url page is expected to list submission test results for considered WMS instances in the form |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
WMSMonitor WMS instances Load Balancing ArbiterThe Load Balancing Arbiter is a python script implementing a DNS-based WMS instances load balancing.When periodically executed as a cron it updates the WMS IPs set behind predefined WMS alias on the base of a load and functionality metric. In particular, once a set of WMS alias is defined in the local DNS, and a list of WMSs instances is associated to each alias in the wmsmon_site-info.def, the load balancing arbiter for each alias:
Configuration of LOAD BALANCING ArbiterPreconfiguration STEPS: the Arbiter assumes that:
This is used to notify administrators about problems DNS_KEYSTRING = YOUR-KEYNAME:YOUR-KEY DNS_SERVER = your-DNS-server DNS_ZONE = your-DNS-ZONE These are mandatory variables to fill with DNS coordinates and the KEYNAME:KEY couple for arbiter authentication on the DNS. ALIAS_LIST = wms-alice, wms-atlas, wms-cms-analysis, wms-cms-prod, wms-lhcb, wms-cdf, wms-multi, wms-test (These are Examples) Put here the list of aliases defined in your DNS (you must skip the DNS_ZONE postfix string) Let's now consider the variable you must set for each defined alias: WMS-ALICE_FLAG = 0 Set this Flag to 0 to disable the Load Balancing Procedure for this alias WMS-ALICE_WMSLIST = wmshostname1, wmshostname2, wmshostname3 Number of wms instances to leave out of the alias each new nsupdate N.B. This number must be 0 < NUM_OUT < (number of wms in the alias list) WMS-ALICE_NUM_OUT = 1 Set this flag to 1 if you want to integrate SUBMISSION TEST in loadbalancing metric, 0 otherwise WMS-ALICE_SUBMISSION_TEST_ENABLE = 0 Put the url of SUBMISSION TEST result page for considered alias WMS-ALICE_SUBMISSION_TEST_PATH = http::\your-url-publishing-page-with-submission-test-result Note that this url page is expected to list submission test results for considered WMS instances in the form timestamp ERRORFLAG WMSINSTANCE_HOSTNAME1 timestamp ERRORFLAG WMSINSTANCE_HOSTNAME2 timestamp ERRORFLAG WMSINSTANCE_HOSTNAME3 ''''' -- DaniloDongiovanni - 12 Jun 2009 |