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
(Created page with '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-b…')
 
m (Protected "HOWTO07 How to change the Site-BDII" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
What have I to do to move the site-bdii on another machine?
{{Template: Op menubar}}
{{Template:Doc_menubar}}


  1. be sure the new site-bdii is working and publishing all the necessary site information
[[Category:Operations Manuals]]
  2. put the old site-bdii in scheduled downtime on GOC-DB for a couple of hours
= Change the Site-BDII =
  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" 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:
'''What have I to do to move the site-bdii on another machine?'''


  1. yum remove glite-BDII glite-yaim-bdii
#be sure the new site-bdii is working fine and publishing all the necessary site information
  2. service bdii stop
##See [[MAN01]] for general information about how to configure a site BDII. In particular, remember that the site BDII configuration must include the BDII node itself.
  3. delete some info-providers and ldif file:
#put the old site-bdii in scheduled downtime on GOC-DB for a couple of hours
        1. rm /opt/glite/etc/gip/ldif/stub-site.ldif
#register the new service on GOC-DB by adding a new Service Endpoint:
        2. rm /opt/glite/etc/gip/site-urls.conf
##select "Site-BDII" in "Service Type" field
        3. rm /opt/glite/etc/gip/provider/glite-info-provider-site
##fill in at least the hostname
        4. rm /opt/glite/etc/gip/provider/glite-info-provider-service-bdii-site-wrapper
##select "Y" for production and monitoring, "N" for beta service field
        5. rm /opt/glite/etc/gip/ldif/glite-info-site.ldif  
#properly modify the "Giis Url" field with the new ''SITE-BDII ldap url''
  4. reconfigure with yaim without specifying the BDII_site profile
##Note that the site name in the GIIS URL is case-sensitive
#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:'''
 
#service bdii stop
#yum remove glite-BDII glite-yaim-bdii  
#delete some info-providers and ldif file:  
/opt/glite/etc/gip/ldif/stub-site.ldif  
/opt/glite/etc/gip/site-urls.conf  
/opt/glite/etc/gip/provider/glite-info-provider-site  
/opt/glite/etc/gip/provider/glite-info-provider-service-bdii-site-wrapper  
/opt/glite/etc/gip/ldif/glite-info-site.ldif  
4.reconfigure with yaim without specifying the BDII_site profile

Latest revision as of 09:54, 14 May 2013

Main EGI.eu operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security


Documentation menu: Home Manuals Procedures Training Other Contact For: VO managers Administrators

Change the Site-BDII

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

  1. be sure the new site-bdii is working fine and publishing all the necessary site information
    1. See MAN01 for general information about how to configure a site BDII. In particular, remember that the site BDII configuration must include the BDII node itself.
  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
    1. Note that the site name in the GIIS URL is case-sensitive
  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 hosts 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 and remove it from GOC-DB

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

  1. service bdii stop
  2. yum remove glite-BDII glite-yaim-bdii
  3. delete some info-providers and ldif file:
/opt/glite/etc/gip/ldif/stub-site.ldif 
/opt/glite/etc/gip/site-urls.conf 
/opt/glite/etc/gip/provider/glite-info-provider-site 
/opt/glite/etc/gip/provider/glite-info-provider-service-bdii-site-wrapper 
/opt/glite/etc/gip/ldif/glite-info-site.ldif 

4.reconfigure with yaim without specifying the BDII_site profile