Hi
I would rather see some config variables in YAIM .. not sure how ...
containing switches to turn on/off optional things.
Including the lower-level metapackages in the top ones doesn't solve
anything, since at the end you are still stuck with installing them
all. You need the capability to be able to turn things off, so you'd
install say ten top-level metapackages (some of them optionally switched
on) each of which included many dependencies.
Take a look below, this is a conf file we use for a similar system
developed for our national project (we don't use it on our LCG/EGEE
resources). Note in the 'packages' section below how you can say 'on'
or 'off'. Something like this is what we want. Otherwise it's not too
different than the YAIM method; for example the replica manager RPMs, if
you attempt to install them, will bring in 30+ more RPMs that are not
specified ... sort of like metapackage in this sense.
JT
[init]
nointeractive=0
noinstall=0
noconfigure=0
yumsections=LCG2 VLEPOC ZZRHEL3 ZZRH73
yumconf=/etc/yum.conf
yumosnamefile=/etc/redhat-release
[yum:LCG2]
oscondition=.*
yumurl=http://www.dutchgrid.nl/install/poc/vl-e/LCG2_1_0/
yumname=LCG-2.1.0 Base Installation
yumgpgcheck=0
[yum:ZZRHEL3]
oscondition=CentOS release 3\..*|Enterprise.*3
yumurl=http://www.dutchgrid.nl/install/poc/vl-e/RHEL3-compat/
yumname=RHEL3 compatible packages for Perl (CentOS3)
yumgpgcheck=0
[yum:ZZRH73]
oscondition=Red Hat Linux release 7\..*
yumurl=http://www.dutchgrid.nl/install/poc/vl-e/RH73-compat/
yumname=RH73 compatible packages for Perl (Red Hat Linux release 7.x)
yumgpgcheck=0
[yum:VLEPOC]
oscondition=.*
yumurl=http://www.dutchgrid.nl/install/poc/vl-e/VLEPOC-0_1_0/
yumname=Virtual Lab for e-Science POC release 0.1.0
yumgpgcheck=0
[yumlist]
RedHat 7.3=http://www.dutchgrid.nl/install/poc/yum-1.0.3-1_73.noarch.rpm
RedHat 8.0=http://www.dutchgrid.nl/install/poc/yum-1.0.3-1_80.noarch.rpm
RedHat 9=http://www.dutchgrid.nl/install/poc/yum-2.0.5-1.noarch.rpm
RHEL3=http://www.dutchgrid.nl/install/poc/yum-2.0.5-1.centos.2.noarch.rpm
[packages]
Trusted Certification Authorities EUGridPMA=on eugridpma
Basic grid security system utilities=on edg-utils-system
Globus profile configuration=on globus-config gpt edg-gpt-profile
LCG User profile configuration=on edg-profile lcg-profile
Grid essential clients=on vdt_globus_essentials globus-initialization
Globus basic job tools (globusrun)=on vdt_globus_rm_client
GridFTP command-line clients=on edg-gridftp-client
EDG brokered job submission=on edg-wl-ui-cli_gcc3_2_2
EDG Replica Management=on edg-replica-manager \
edg-replica-manager-gridftp-client_gcc3_2_2 \
edg-replica-manager-client-c++_gcc3_2_2-norgma
Globus Grid Information system client=on vdt_globus_info_client
MyProxy long-running-job support=on myproxy
GridFTP (Globus) Server=off vdt_globus_data_server
Service hosting VO Support=off edg-mkgridmap perl-Convert-ASN1
VO Management System client=off voms-client_gcc3_2_2
Globus development support=off perl-Compress-Zlib vdt_compile_globus_core
[conf]
mkdir=<<EOT
/usr/sbin
/opt/edg/etc
/var/lib/poc-config
EOT
preservedir=/var/lib/poc-config
preserve=<<EOT
yum.conf
$CONF
EOT
preservemapfile=1
ldconfig=<<EOT
/opt/globus/lib
/opt/edg/lib
/opt/gcc-3.2.2/lib
EOT
[common]
vo=atlas alice lhcb cms dteam ncf pvier eo egee vle edg
logdest=boswachter.nikhef.nl:9002
closece=ce.matrix.sara.nl
closese=se.matrix.sara.nl
iilocation=boswachter.nikhef.nl:2170
defaultvo=unspecified
servicehost=1
installprefix=/opt/edg
globuslocation=/opt/globus
hostcertdir=/etc/grid-security
hostcertname=hostcert.pem
hostkeyname=hostkey.pem
gridmapfile=/etc/grid-security/grid-mapfile
gridmapdir=/etc/gridmapdir
gmflocal=/opt/edg/etc/grid-mapfile-local
mkgridmapconf=/opt/edg/etc/edg-mkgridmap.conf
tcprange=50000 50099
[vo:atlas]
alias=atlas
status=on
group=ldap://grid-vo.nikhef.nl/ou=lcg1,o=atlas,dc=eu-datagrid,dc=org
name=LHC Atlas Experiment
ns=boswachter.nikhef.nl:7772
lb=boswachter.nikhef.nl:9000
myproxy=adc0024.cern.ch
account=.atlas
[vo:pvier]
alias=pvier
status=on
group=ldap://grid-vo.nikhef.nl/ou=pvier,dc=vl-e,dc=nl
name=VL-E PoC (P4) validation group
ns=boswachter.nikhef.nl:7772
lb=boswachter.nikhef.nl:9000
myproxy=mu6.matrix.sara.nl
account=.pvier
[vo:alice]
alias=alice
status=on
group=ldap://grid-vo.nikhef.nl/ou=lcg1,o=alice,dc=eu-datagrid,dc=org
name=LHC Alice Experiment
ns=boswachter.nikhef.nl:7772
lb=boswachter.nikhef.nl:9000
myproxy=adc0024.cern.ch
account=.alice
[vo:lhcb]
alias=lhcb
status=on
group=ldap://grid-vo.nikhef.nl/ou=lcg1,o=lhcb,dc=eu-datagrid,dc=org
name=LHC LHCb Experiment
ns=boswachter.nikhef.nl:7772
lb=boswachter.nikhef.nl:9000
myproxy=adc0024.cern.ch
account=.lhcb
[vo:cms]
alias=cms
status=on
group=ldap://grid-vo.nikhef.nl/ou=lcg1,o=cms,dc=eu-datagrid,dc=org
name=LHC CMS Experiment
ns=boswachter.nikhef.nl:7772
lb=boswachter.nikhef.nl:9000
myproxy=adc0024.cern.ch
account=.cms
[vo:dteam]
alias=dteam
status=on
group=ldap://lcg-vo.cern.ch/ou=lcg1,o=dteam,dc=lcg,dc=org
name=EGEE/LCG deployment validation group
ns=boswachter.nikhef.nl:7772
lb=boswachter.nikhef.nl:9000
myproxy=adc0024.cern.ch
account=.dteam
[vo:eo]
alias=eo
status=off
group=ldap://grid-vo.nikhef.nl/ou=tb1users,o=earthob,dc=eu-datagrid,dc=org
name=EDG Earth Observation
ns=boswachter.nikhef.nl:7772
lb=boswachter.nikhef.nl:9000
myproxy=not-valid.example.com
account=.eo
[vo:ncf]
alias=ncf
status=on
group=ldap://grid-vo.sara.nl/ou=ncf,dc=nlgrid,dc=nl
name=Dutch NCF Catch-All VO
ns=rb.matrix.sara.nl:7772
lb=rb.matrix.sara.nl:9000
myproxy=rb.matrix.sara.nl
account=.ncf
[vo:egee]
alias=egee
status=on
auth=ldap://lcg-registrar.cern.ch/ou=users,o=registrar,dc=lcg,dc=org
name=EGEE/LCG Infrastructure
[vo:vle]
alias=vle
status=on
auth=ldap://grid-vo.nikhef.nl/ou=People,dc=vl-e,dc=nl
name=Virtual Lab for e-Science Infrastructure
[vo:edg]
alias=edg
status=on
auth=ldap://marianne.in2p3.fr/ou=People,o=testbed,dc=eu-datagrid,dc=org
name=The EU DataGrid Project Infrastructure
On Fri, 2004-12-10 at 13:02, Fabien Wernli wrote:
> On Fri, Dec 10, 2004 at 12:40:08PM +0100, Jeff Templon wrote:
> >
> > which would effectively remove spark from the system. The meta-RPM idea
> > is nice, but there should be more granularity, certainly for optional
> > packages like Tank&Spark. Otherwise I have to rebuild the RPM myself,
> > or perhaps yank out all the dependencies with a script and put them into
> > a quattor list, where I have a remove_pkg function.
>
> excellent point.
> My idea would be to hierarchize the meta-packages, usingi:
>
> 1) top-level metapackages lcg-WN, lcg-WN-torque, etc. like we have now
> 2) lower-level metapackages like lcg-tank-spark, lcg-pbs, etc.
> 3) include the lower-level meta-packages into the top-level metapackages.
>
> of course we can have more than 2 levels.
>
> What do you think?
|