Hi Steve,
Well, it is fairly simple and we use it in the SEE-GRID deployment: I
regularly customize config_gip function after each new release of YAIM by
adding after this line
GlueHostProcessorVendor: $CE_CPU_VENDOR
the following new line line
GlueHostArchitecturePlatformType: `uname -m`
For your reference, I attach config_gip with this modification (for the latest
yaim-3.0.1-10). Note that it also includes customization for setting correctly
the following attributes:
GlueSiteUserSupportContact (requires SITE_SUPPORT defined in site-info.def)
GlueSiteSecurityContact (requires SITE_SECURITY defined in site-info.def)
GlueSubClusterPhysicalCPUs (requires PHYSICAL_CPUS defined in site-info.def)
GlueSubClusterLogicalCPUs (requires LOGICAL_CPUS defined in site-info.def)
Attached is also customized config_gip_site function with modifications to:
GlueSiteUserSupportContact (requires SITE_SUPPORT defined in site-info.def)
GlueSiteSecurityContact (requires SITE_SECURITY defined in site-info.def)
Hope this will be useful.
Best regards, Antun
-----
Antun Balaz
Research Assistant
E-mail: [log in to unmask]
Web: http://scl.phy.bg.ac.yu/
Phone: +381 11 3160260, Ext. 152
Fax: +381 11 3162190
Scientific Computing Laboratory
Institute of Physics, Belgrade, Serbia
-----
---------- Original Message -----------
From: Steve Traylen <[log in to unmask]>
To: [log in to unmask]
Sent: Thu, 26 Apr 2007 14:31:27 +0200
Subject: Re: [LCG-ROLLOUT] Distinguishing sites/clusters with different host
CPU types
> On Apr 26, 2007, at 1:02 PM, Antun Balaz wrote:
>
> > Hi,
> >
> > Just to mention that some sites already publish this info,
> > currently one :)).
> > This is the query:
> >
> > ldapsearch -x -H ldap://lcg-bdii.cern.ch:2170 -b mds-vo-
> > name=local,o=grid
> > '(GlueHostArchitecturePlatformType=*)' GlueSubClusterUniqueID
> > GlueHostArchitecturePlatformType
> >
>
> The proposal at
>
> http://goc.grid.sinica.edu.tw/gocwiki/
> How_to_publish_my_machine_architecture
>
> is now more than a proposal, it went past the ROC managers a few
> weeks back without
> comment and is now being implemented. I've updated the page accordingly.
>
> The extra parameters can be set via by yaim from version 3.1.0-1.
>
> If someone out there would like to add to the wiki pages how to set
> these values manually in the interim period then well and good,
> presumably dropping extra files in /opt/lcg/var/gip/ldif.
>
> Steve
>
> > version: 2
> >
> > #
> > # filter: (GlueHostArchitecturePlatformType=*)
> > # requesting: GlueSubClusterUniqueID GlueHostArchitecturePlatformType
> > #
> >
> > # g02.phy.bg.ac.yu, g02.phy.bg.ac.yu, AEGIS01-PHY-SCL, local, grid
> > dn:
> > GlueSubClusterUniqueID=g02.phy.bg.ac.yu,GlueClusterUniqueID=g02.phy.bg
> > .ac.
> > yu,mds-vo-name=AEGIS01-PHY-SCL,mds-vo-name=local,o=grid
> > GlueHostArchitecturePlatformType: i686
> > GlueSubClusterUniqueID: g02.phy.bg.ac.yu
> >
> > # ce.phy.bg.ac.yu, ce.phy.bg.ac.yu, AEGIS01-PHY-SCL, local, grid
> > dn:
> > GlueSubClusterUniqueID=ce.phy.bg.ac.yu,GlueClusterUniqueID=ce.phy.bg.a
> > c.yu
> > ,mds-vo-name=AEGIS01-PHY-SCL,mds-vo-name=local,o=grid
> > GlueHostArchitecturePlatformType: i686
> > GlueSubClusterUniqueID: ce.phy.bg.ac.yu
> >
> > # search result
> > search: 2
> > result: 0 Success
> >
> > # numResponses: 3
> > # numEntries: 2
> >
> >
> > Best regards, Antun
> > -----
> > Antun Balaz
> > Research Assistant
> > E-mail: [log in to unmask]
> > Web: http://scl.phy.bg.ac.yu/
> >
> > Phone: +381 11 3160260, Ext. 152
> > Fax: +381 11 3162190
> >
> > Scientific Computing Laboratory
> > Institute of Physics, Belgrade, Serbia
> > -----
> >
> > ---------- Original Message -----------
> > From: "Burke, S (Stephen)" <[log in to unmask]>
> > To: [log in to unmask]
> > Sent: Thu, 26 Apr 2007 10:35:10 +0100
> > Subject: Re: [LCG-ROLLOUT] Distinguishing sites/clusters with
> > different host
> > CPU types
> >
> >> LHC Computer Grid - Rollout
> >>> [mailto:[log in to unmask]] On Behalf Of
> >>> Alessandro De Salvo said:
> >>> is there any way to understand from the Information System the host
> >>> CPU type of a given site or cluster?
> >>
> >> There is a proposal, described here:
> >>
> >> http://goc.grid.sinica.edu.tw/gocwiki/
> >> How_to_publish_my_machine_architec
> >> ture
> >>
> >> I would expect this to come into effect fairly soon as it's obviously
> >> becoming significant. Right now I think the only way would be to
> >> publish
> >> a RunTimeEnvironment tag.
> >>
> >> Stephen
> > ------- End of Original Message -------
>
> --
> Steve Traylen
> [log in to unmask]
> CERN, IT-GD-OPS.
------- End of Original Message -------
|