The upgrade will be done but... slowly :) After we have a new machine properly set and tested, we smoothly switch to lcg-CE 3.1. > After a standard YAIM config it doesn't work ? > The only difference in your case is only the very last step (i.e) the > plugin for sge instead of pbs. No... it doesn't work with glite-info-generic. It works with lcg-info-generic... But if I move /opt/lcg/bin/lcg-info-generic to /opt/lcg/bin/lcg-info-generic.orig, I loose all the ldap info. It is still running lcg-info-generic and not glite-info-generic... Why? This is the question... Cheers Goncalo Debreczeni Gergely wrote: > eh, sorry thought you running lcg-CE 3.1... > why not to upgrade immediately ? :-) > > After a standard YAIM config it doesn't work ? > The only difference in your case is only the very last step (i.e) the > plugin for sge instead of pbs. > > Gergo > > Gonçalo Borges a écrit : >> Hi Gergo, >> >> It didn't worked. Let's see If I did everything correctly: >> >> 1) >> [root@ce02 defaults]# cat /opt/bdii/etc/bdii-update.conf >> GIP file:///opt/glite/libexec/glite-info-wrapper >> (Is this step really needed? CE is still on globus-mds and the >> site-bdii is running in other machine...) >> >> ---*--- >> >> 2) [root@ce02 defaults]# cat /opt/glite/libexec/glite-info-wrapper >> #!/bin/sh >> >> export LANG=C >> /opt/glite/libexec/glite-info-generic >> /opt/glite/etc/gip/glite-info-generic.conf >> >> ---*--- >> >> 3) >> [root@ce02 defaults]# cat /opt/glite/etc/gip/glite-info-generic.conf >> temp_dir = /opt/glite/var/tmp/gip >> cache_dir = /opt/glite/var/cache/gip >> lock_dir = /opt/glite/var/lock/gip >> plugin_dir = /opt/glite/etc/gip/plugin >> static_dir = /opt/glite/etc/gip/ldif >> provider_dir = /opt/glite/etc/gip/provider >> freshness = 60 >> cache_ttl = 300 >> response = 110 >> timeout = 150 >> >> ---*--- >> >> 4) >> [root@ce02 defaults]# cat >> /opt/glite/etc/gip/plugin/glite-info-dynamic-ce >> #!/bin/sh >> /opt/lcg/libexec/lcg-info-dynamic-sge >> >> ---*--- >> >> Running as edguser the command "/opt/glite/libexec/glite-info-generic >> /opt/glite/etc/gip/glite-info-generic.conf" I get proper/updated info. >> Doing ldap query to port 2135 of ce02.lip.pt, I don't get updated >> info. lcg-info-generic is still installed and I guess it is still >> using it. How do I switch? >> Cheers >> Goncalo >> >> >> Debreczeni Gergely wrote: >>> Hello ! >>> >>> Step by step: >>> >>> [root@lxb0971 ~]# cat /opt/bdii/etc/bdii-update.conf >>> GIP file:///opt/glite/libexec/glite-info-wrapper >>> >>> --->> >>> >>> [root@lxb0971 ~]# cat /opt/glite/libexec/glite-info-wrapper >>> #!/bin/sh >>> export LANG=C >>> /opt/glite/libexec/glite-info-generic >>> /opt/glite/etc/gip/glite-info-generic.conf >>> >>> --->> >>> >>> [root@lxb0971 ~]# cat /opt/glite/etc/gip/glite-info-generic.conf >>> temp_dir = /opt/glite/var/tmp/gip >>> cache_dir = /opt/glite/var/cache/gip >>> lock_dir = /opt/glite/var/lock/gip >>> plugin_dir = /opt/glite/etc/gip/plugin >>> static_dir = /opt/glite/etc/gip/ldif >>> provider_dir = /opt/glite/etc/gip/provider >>> freshness = 60 >>> cache_ttl = 300 >>> response = 110 >>> timeout = 150 >>> >>> --->> >>> [root@lxb0971 ~] cat /opt/glite/etc/gip/plugin/glite-info-dynamic-ce >>> #!/bin/sh >>> /opt/lcg/libexec/lcg-info-dynamic-pbs >>> /opt/glite/etc/gip/ldif/static-file-CE.ldif lxb2034.cern.ch >>> >>> --->> >>> In the plugin/glite-info-dynamic-ce put the SGE information provider >>> instead of the pbs. >>> >>> If you have similar structure, then it should work. Maybe the easiest >>> to run YAIM's all config_gip_* + config_bdii_only function listed in >>> node-info.d/lcg-ce , then >>> replace the plugin fajl by hand. >>> >>> Gergo >>> >>> >>> Gonçalo Borges a écrit : >>>> Hi there, >>>> >>>> I'm just updating my lcg-CE to version lcg-CE-3.0.19-0. This new >>>> version bring a new package: glite-info-generic. The only >>>> information in the release notes regarding this new package is: >>>> >>>> ---*--- >>>> >>>> >>>> glite-info-generic: New version of the glite-info-generic >>>> including a fix for the plug-in precedence problem, which was >>>> found during certification. Plug-in values are now merged for >>>> each plug-in. This avoids the problem of one plug-in taking >>>> precedence over another if they are both providing values for >>>> the same entry. >>>> >>>> ---*--- >>>> >>>> It a misleading message because this represents not a "new" version >>>> but the first version. And as a first version, it should say what >>>> does it deploy. Looking to the lcg-CE metapackage dependencies, I >>>> see that the lcg-info-generic disappeared and it was replaced by >>>> glite-info-generic: >>>> >>>> [ce02] /home/edguser > rpm -qR lcg-CE | grep "info-generic" >>>> glite-info-generic >>>> So, it plausible to think that glite-info-generic is going to >>>> replace lcg-info-generic. I also see that on >>>> /opt/glite/var/tmp/gip some static files created but there are also >>>> some directories there with "nobody" ownership. >>>> >>>> [root@ce02 gip]# ll >>>> total 44 >>>> -rw-r--r-- 1 root root 15469 Nov 16 15:20 >>>> glite-info-static-ce.conf >>>> -rw-r--r-- 1 root root 4184 Nov 16 15:20 >>>> glite-info-static-cesebind.conf >>>> -rw-r--r-- 1 root root 3647 Nov 16 15:20 >>>> glite-info-static-cluster.conf >>>> -rw-r--r-- 1 root root 528 Nov 16 15:20 >>>> glite-info-static-site.conf >>>> drw-r--r-- 2 nobody nobody 4096 Sep 10 16:40 ldif >>>> drw-r--r-- 2 nobody nobody 4096 Nov 16 15:36 plugin >>>> drw-r--r-- 2 nobody nobody 4096 Sep 10 16:40 provider >>>> >>>> Nevertheless, because I have lcg-info-generic still installed (it >>>> was not replaced nor removed during the upgrade process) my CE GRIS >>>> still works. >>>> Since I'm using SGE, I have to configure my SGE information >>>> provider plugin by hand (which previously was installed under >>>> /opt/lcg/libexec). >>>> >>>> So, here goes my questions: >>>> >>>> - Is really glite-info-generic going to replace lcg-info-generic >>>> (it seems so since lcg-info-generic is no longer a dependence on >>>> lcg-CE metapackage)? >>>> - If this is the case, what are the basic differences? >>>> - What are the basic steps I have to do to configure my SGE >>>> plugin? Exactly the same as for lcg-info-generic? In >>>> lcg-info-generic, I had to: >>>> 1) include the line "dynamic_script = >>>> /opt/lcg/libexec/lcg-info-dynamic-sge" in >>>> /opt/lcg/etc/lcg-info-generic.conf >>>> 2) Change /opt/lcg/var/gip/plugin/lcg-info-dynamic-ce to call >>>> the SGE plugin >>>> [root@ce02 etc]# cat >>>> /opt/lcg/var/gip/plugin/lcg-info-dynamic-ce >>>> #!/bin/sh >>>> /opt/lcg/libexec/lcg-info-dynamic-sge >>>> 3) Include SGE plugin in /opt/lcg/libexec dir >>>> >>>> Thanks in Advance >>>> Cheers >>>> Goncalo >>>>