Difference between revisions of "HOWTO07 How to change the Site-BDII"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
What have I to do to move the site-bdii on another machine? | '''What have I to do to move the site-bdii on another machine?''' | ||
# be sure the new site-bdii is working and publishing all the necessary site information | # be sure the new site-bdii is working and publishing all the necessary site information | ||
Line 9: | Line 9: | ||
# properly modify the "Giis Url" with the new SITE-BDII ldap url | # properly modify the "Giis Url" 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 | |||
# 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: | What if I have just to turn off a site-bdii cohosted with an lcg-CE: |
Revision as of 16:19, 30 September 2011
What have I to do to move the site-bdii on another machine?
- be sure the new site-bdii is working 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" 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 host every 3 hours
- 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: 1. rm /opt/glite/etc/gip/ldif/stub-site.ldif 2. rm /opt/glite/etc/gip/site-urls.conf 3. rm /opt/glite/etc/gip/provider/glite-info-provider-site 4. rm /opt/glite/etc/gip/provider/glite-info-provider-service-bdii-site-wrapper 5. rm /opt/glite/etc/gip/ldif/glite-info-site.ldif 4. reconfigure with yaim without specifying the BDII_site profile