Difference: WebDownload3 (2 vs. 3)

Revision 32011-12-20 - DaniloDongiovanni

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

NEW Installation for emi-WMS/LB, WMSMonitor 3.0

Line: 37 to 37
 

Adding instances to monitor to WMSMonitor server

  1. Given an LB and a WMS instance to monitor:
    1. Enter Mysql database wmsmon:
Changed:
<
<
    1. call insertHostLabels(<WMS-HOSTANME-WITH-DOMAIN>, 'WMS', <VO(for multi-vo services set 'multi')>, <VO_GROUP(ex. 'analysis','mc_production',etc.)>, <SERVICE_USAGE(ex. 'production','test',etc.)>, 1, <HOST-SITENAME>);
    2. call insertHostLabels(<LB-HOSTANME-WITH-DOMAIN>, 'LB', <VO(for multi-vo services set 'multi')>, <VO_GROUP(ex. 'analysis','mc_production',etc.)>, <SERVICE_USAGE(ex. 'production','test',etc.)>, 1, <HOST-SITENAME>);
    3. $> call insertLBHost();
    4. $> FROM SHELL: python /opt/WMSMonitor/collector/bin/data_collector_daemon.py stop
    5. $> FROM SHELL: python /opt/WMSMonitor/collector/bin/data_collector_daemon.py start
>
>
    1. mysql$>call insertHostLabels(<WMS-HOSTANME-WITH-DOMAIN>, 'WMS', <VO(for multi-vo services set 'multi')>, <VO_GROUP(ex. 'analysis','mc_production',etc.)>, <SERVICE_USAGE(ex. 'production','test',etc.)>, 1, <HOST-SITENAME>);
    2. mysql$>call insertHostLabels(<LB-HOSTANME-WITH-DOMAIN>, 'LB', <VO(for multi-vo services set 'multi')>, <VO_GROUP(ex. 'analysis','mc_production',etc.)>, <SERVICE_USAGE(ex. 'production','test',etc.)>, 1, <HOST-SITENAME>);
    3. mysql$> call insertLBHost();
    4. shell$> python /opt/WMSMonitor/collector/bin/data_collector_daemon.py stop
    5. shell$> FROM SHELL: python /opt/WMSMonitor/collector/bin/data_collector_daemon.py start
 

Configuring Load Balancing in WMSMonitor server

Changed:
<
<
>
>
  1. Set the dns contact in site-info.def
  2. Set the passwd for dns contact in site-info.def
  3. Define aliases in the dns contact
    1. For each given ALIAS and WMS instance associated:
      1. Enter Mysql database wmsmon
      2. ADD ALIAS: mysql$> call insert_loadbalancing_ALIAS(enable_flag #is the alias in use#, numout #number of instances to leave out of alias per period#, subtest_enable #IS a submission test to be used in status metric#, alias_name #without domain#);
      3. ADD HOST TO ALIAS mysql$> call add_wmshost_to_ALIAS(WMS_HOSTNAME_WITH_DOMAIN, ALIAS_NAME_WITHOUT_DOMAIN, SPARE_LABEL #1 if wms associated but not used#);
  -- DaniloDongiovanni - 2011-12-20
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback