Difference between revisions of "HOWTO07 How to change the Site-BDII"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
# 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 hosts 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 hosts every 3 hours | ||
# when the new site-bdii is appeared on nagios and the old one is disappeared, turn off the old site-bdi | # when the new site-bdii is appeared on nagios and the old one is disappeared, turn off the old site-bdi and remove it from GOC-DB | ||
'''What if I have just to turn off a site-bdii cohosted with an lcg-CE:''' | '''What if I have just to turn off a site-bdii cohosted with an lcg-CE:''' |
Revision as of 16:30, 30 September 2011
What have I to do to move the site-bdii on another machine?
- be sure the new site-bdii is working fine and publishing all the necessary site information
- put the old site-bdii in scheduled downtime on GOC-DB for a couple of hours
- register the new service on GOC-DB by adding a new Service Endpoint:
- select "Site-BDII" in "Service Type" field
- fill in at least the hostname
- select "Y" for production and monitoring, "N" for beta service field
- 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
- 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 hosts every 3 hours
- when the new site-bdii is appeared on nagios and the old one is disappeared, turn off the old site-bdi and remove it from GOC-DB
What if I have just to turn off a site-bdii cohosted with an lcg-CE:
- yum remove glite-BDII glite-yaim-bdii
- service bdii stop
- 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
4. reconfigure with yaim without specifying the BDII_site profile