See below.
On Tue, 15 Nov 2005, Oliver KEEBLE wrote:
> Date: Tue, 15 Nov 2005 09:10:01 +0100
> From: Oliver KEEBLE <[log in to unmask]>
> Reply-To: LHC Computer Grid - Rollout <[log in to unmask]>
> To: [log in to unmask]
> Subject: Re: [LCG-ROLLOUT] LCG_REPOSITORY question
>
> Answers inline...
>
> Oliver Keeble Information Technology Department
> [log in to unmask] CERN
> +41 22 76 72360 CH-1211 Geneva 23
>
>
> Anatoly Oreshkin wrote:
> > I have standard (ftp.scientificlinux.org) Sientific Linux 3.05.
> > installed om my cluster. In example site-info.def
> > LCG_REPOSITORY= "'rpm http://linuxsoft.cern.ch LCG/apt/LCG-2_6_0/sl3/en/i386 lcg_sl3 lcg_sl3.updates'
> > 'rpm http://grid-deployment.web.cern.ch/grid-deployment/gis apt/LCG-2_6_0/sl3/en/i386 lcg_sl3 lcg_sl3.updates'"
> >
> > I've mirrored
> > http://grid-deployment.web.cern.ch/grid-deployment/gis/apt/LCG-2_6_0/sl3/en/i386
> > to my site so now LCG_REPOSITORY looks like
> >
> > LCG_REPOSITORY= "'rpm http://linuxsoft.cern.ch LCG/apt/LCG-2_6_0/sl3/en/i386 lcg_sl3 lcg_sl3.updates'
> > 'rpm http://my_mirror/dist/LCG-2_6_0/lcg_sl3 lcg_sl3.updates'"
> >
> > My first question:
> > Should I delete 'rpm http://linuxsoft.cern.chLCG/apt/LCG-2_6_0/sl3/en/i386 lcg_sl3
> > lcg_sl3.updates' from LCG_REPOSITORY ?
> >
> > I've already LCG distribution on my_mirror. Haven't I ?
>
> Yes - there is no point having both the linuxsoft entry and your own, as
> they are both mirrors. The best configuration is to have the second
> entry as the grid-deployment site, this way you will pick up the updates
> as soon as they are available (ie before your mirroring script runs).
So if I set up LCG_REPOSITORY to
LCG_REPOSITORY="'rpm http://my_mirror/dist/LCG-2_6_0 lcg_sl3 lcg_sl3.updates'"
will that be right ?
I don't want point LCG_REPOSITORY to grid-deployment.web.cern.ch
in order to save inbound traffic especially when installing LCG2
on many worker nodes.
>
> > Second question:
> >
> > Because I've installed not SLC3 then I have to have in
> > /etc/apt/sources.list.d/ at least:
> >
> > lcg.list
> > lcg-ca.list
> > sl.list
> >
> > In /etc/apt/sources.list.d/ I see sl.list which contains a line
> > rpm ftp://ftp.scientificlinux.org/linux/scientific/ 305/i386/apt-rpm os updates contrib
> >
> > There are no lcg.list and lcg-ca.list.
> >
> > rpm -ql apt-sourceslist-305-1.SL gives:
> > (contains no files)
> >
> > Where can I get lcg.list and lcg-ca.list ?
>
> You can put them there by hand, or use yaim's install_node script which
I don't know the content of lcg.list before putting them there by hand.
> will configure them for you. Yaim uses the value of the LCG_REPOSITORY
> variable you mention earlier to create lcg.list.
As far as I understand I should put lcg.list in /etc/apt/sources.list.d/
before installing LCG2 ?
>
> > Third question:
> > In LCG Generic Installation and Configuration it is recommended
> > to provide the entire set of packages which CERN SL3 does to add
> > cern.list to /etc/apt/sources.list.d containing
> >
> > rpm http://linuxsoft.cern.ch cern/slc30X/i386/apt os updates extras
> > rpm-src http://linuxsoft.cern.ch cern/slc30X/i386/apt os updates extras
> >
> > and then
> >
> > to give priority to your Os to specify /etc/apt/preferences.
> >
> > Example for package swig is provided.
> >
> > But what packages should I include in /etc/apt/preferences ?
>
> The swig entry is there to give priority to the LCG version of swig,
> which unfortunately is different to both the SL3 snd SLC3 versions. It
> is not an example of giving one OS priority over another. To give
> priority to your OS (SL3) over SLC3 you need the second and third of the
> three entries in the example.
Is there exception only for swig package ?
So as far as I understand /etc/apt/preferences for my site will look like:
package: swig
Pin: release o=my-mirror
Pin-Priority: 990
Package: *
Pin: release o=ftp.scientificlinux.org
Pin-Priority: 980
Package: *
Pin: release o=linux.cern.ch
Pin-Priority: 970
Thank you.
>
> > Thank you.
> >
> >
> >
> >
>
|