Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "HOWTO07 How to change the Site-BDII"

From EGIWiki
Jump to navigation Jump to search
Line 7: Line 7:
## fill in at least the hostname
## fill in at least the hostname
## select "Y" for production and monitoring, "N" for beta service field  
## select "Y" for production and monitoring, "N" for beta service field  
# properly modify the "Giis Url" field with the new SITE-BDII ldap url
# properly modify the "Giis Url" field with the new ''SITE-BDII ldap url''
# mark the old site-bdii as not production and turn off its monitoring
# mark the old site-bdii as not production and turn off its monitoring
# top-BDIIs updates their sites-list every hour so the new site-bdii should be published in less than an hour; instead nagios updates the monitored host every 3 hours
# top-BDIIs updates their sites-list every hour so the new site-bdii should be published in less than an hour; instead nagios updates the monitored host every 3 hours

Revision as of 15:22, 30 September 2011

What have I to do to move the site-bdii on another machine?

  1. be sure the new site-bdii is working and publishing all the necessary site information
  2. put the old site-bdii in scheduled downtime on GOC-DB for a couple of hours
  3. register the new service on GOC-DB by adding a new Service Endpoint:
    1. select "Site-BDII" in "Service Type" field
    2. fill in at least the hostname
    3. select "Y" for production and monitoring, "N" for beta service field
  4. properly modify the "Giis Url" field with the new SITE-BDII ldap url
  5. mark the old site-bdii as not production and turn off its monitoring
  6. top-BDIIs updates their sites-list every hour so the new site-bdii should be published in less than an hour; instead nagios updates the monitored host every 3 hours
  7. when the new site-bdii is appeared on nagios and the old one is disappeared, turn off the old site-bdi

What if I have just to turn off a site-bdii cohosted with an lcg-CE:

  1. yum remove glite-BDII glite-yaim-bdii
  2. service bdii stop
  3. delete some info-providers and ldif file:
rm /opt/glite/etc/gip/ldif/stub-site.ldif
rm /opt/glite/etc/gip/site-urls.conf
rm /opt/glite/etc/gip/provider/glite-info-provider-site
rm /opt/glite/etc/gip/provider/glite-info-provider-service-bdii-site-wrapper
rm /opt/glite/etc/gip/ldif/glite-info-site.ldif 
  1. reconfigure with yaim without specifying the BDII_site profile