JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for LCG-ROLLOUT Archives


LCG-ROLLOUT Archives

LCG-ROLLOUT Archives


LCG-ROLLOUT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCG-ROLLOUT Home

LCG-ROLLOUT Home

LCG-ROLLOUT  2003

LCG-ROLLOUT 2003

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Installation experiences

From:

Emanuele LEONARDI <[log in to unmask]>

Reply-To:

LHC Computer Grid - Rollout <[log in to unmask]>

Date:

Wed, 30 Jul 2003 09:52:54 +0200

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (249 lines)

Hi Peer.

Peer Hasselmeyer wrote:
>
> Emanuele LEONARDI wrote:
>
> > I'll try answering a few of your questions...
>
> Thanks a lot!
>
> > This remark is correct: updaterep wants to do a full mirror copy of the
> > rpm repository in Lyon (7-8 GB now, I think) and takes a long time. The
> > good part is that, after the first mirror, you only get updates and this
> > is usually very fast.
>
> My repository is only about 3GB large. But I guess I have to switch
> to updaterep to automate getting updated packages in the future.

Given the current quite dynamic state of the software, 3GB is probably a
bit too little for the rpm repository. I would reserve at least 10 or
20GB. Next week we should move from the EDG general rpm repository to a
LCG-specific one, and this might decrease a bit the amount of needed
disk space.

> >>was lying ahead: routing was not correctly set up. The file
> >>/etc/sysconfig/static-routes is needed for this but I couldn't
> >>find a way to have it created automatically. I therefore wrote
> >>my own LCFG object to handle this. Is there another, already
> >>existing  way to do this?
> > Not that I know of. The network object is only able to define a default
> > gateway but I think you have a more complex routing schema.
> >
> > Can you please upload to CVS the configuration files you are using and
> > send us the object you wrote? It should be part of the general
> > distribution.
>
> The configuration files are already in CVS. I am hesitating to send
> you the object right now as the routing table is hardcoded into
> the object, so it doesn't really help anybody (except me). I don't
> really know how LCFG works, so it would take me quite a long time to
> create a real, generic object. But if one of the LCFG experts would
> take a look at my object and the default file that I wrote, the object
> might be ready in about an hour or two. Do you know anybody who could
> do this? I am volunteering to test it, as soon as I have an automatically
> chkconfig'd ypbind ;-).

If you wish, you can send me the version you are using: I will give a
look to it and then discuss the generalization with one of the LCFG
experts at CERN.

> >>This fixed the networking problem, so I could start installing
> >>CE and SE. Installation worked more or less okay, but I got
> >>a bit confused when shortly after starting the installation,
> >>the machines didn't do anything (at least anything observable)
> >>for about five minutes. I thought they crashed and rebooted
> >>them a couple of times before waiting long enough. This didn't
> >>happen with the UI or the WNs. Did anybody else encounter this
> >>behavior? What's going on during that time?
>  >
> > I have not observed this behaviour before. Does this happen during the
> > inital installation or after the first reboot? In anny case, I will keep
> > an eye open when we will install our nodes.
>
> It's during the initial installation and it's right before flagging RPMs
> for installation. Might be before formatting the disk, too. I will
> probably install another CE in a couple of days and I'll have more info
> then.

Yes, please. Let me know how it goes.

> > This NFS cross-mounting configuration is a kind of relic from times now
> > past: I think we should change it to something like the configuration
> > you are using. At CERN we mount everything from a disk server.
>
> How much space will be needed for the different directories? There are the
> home directories, the flatfiles area and the grid-security stuff. The latter
> doesn't need much space, so I guess it's okay to keep it locally. But I am
> unsure of how much space the other two areas might need. And depending on
> their space requirements it might be a good idea to move them to some disk
> server. This is what we planned here at FZK anyway, but for testing the
> installation, I kept everything local...

The /home directory in use for the CE is currently shared among all the
WNs and the CE. In principle, each job should clean up after using it,
so the maximum disk space needed would be

(max occupation for 1 job) x (max nr. of contemporary jobs your system
can run)

Assuming 2GB as the max occupation per job, and your 5 dual-CPU WNs,
20GB should do the trick. The problem is that some of the jobs may leave
some remains and this leads to a progressive occupation of the disk. The
correct amount of disk space for /home is thence "as much as you can".
But...

This will change in the future: in the next versions of LCG1 we should
switch to a system developped by David Smith which will make the sharing
of /home unnecessary. This means that each job will use the disk space
local to the WN where it is running. Some simple disk space monitoring
program on the WNs will then be able to handle the slow filling of the
disks due to jobs leftovers.

For /flatfiles the answer is again "as much disk space as you can". As
an example, at CERN we have a 100GB partition, again mounted from our
disk server, for each of the VOs we support. As the final version of the
SE software from EDG is still not available, we will have to wait a bit
more before we will have a clear view on how to handle this space.

> > About the time zone, we always used Europe/Paris (which was included in
> > the example site-cfg.h file). It is indeed strange that CEST is not
> > correctly handled, though. I should note this in the installation
> > instructions.
>
> I think I specified CEST in the first questionaire and that's how it got
> into my configurations. Didn't know that it has serious consequences ;-).

Well, we all learned something new: this will go into the configuration
guide.

> >>A problem was name resolving. As all WNs are on a private
> >>network, they do not have a DNS entry. Name resolving relies on
> >>a hosts file distributed via NIS. So I also had to configure
> >>NIS on all the machines. This works okay, but I couldn't persuade
> >>LCFG to automatically start ypbind at boot time. I added the line
> >>REPLACE(chkconfig.services,network,network ypbind) to my
> >>configuration, but to no avail. Does anybody know how to do
> >>this? (Side note: I tried to use numerical IP addresses in the
> >>beginning. Some LCFG objects do not like this at all and fail.
> >>You have to use names and they need to be resolvable!)
>  >
> > I had the same problem with an old layout where we used NIS for user
> > accounts: the ypbind startup was done by hand (well, we had a script for
> > this). The chkconfig can be used but the syntax should probably be
> >
> > EXTRA(chkconfig.services) ypbind
> >
> > but you should check if this is really all you need to start the NIS
> > client. I attached to this e-mail a (somewhat old) guide to NIS
> > configuration I wrote for the old EDG testbed.
>
> Thanks for that guide. I'll take a closer look at it during the next
> few days. I installed another WN yesterday and I found out that the
> configuration that comes with the NIS/nsswitch RPMs works alright
> (although I will probably want to fine tune it). So the only thing
> I need is something that calls "chkconfig ypbind on" during the
> installation. I'll have a look at it tomorrow.

Good. Let me know if you get to a final recipe that works for you and I
will include in the installations note.

> >>Another thing I was stuck for some time was that changes in
> >>the configuration were not automatically enacted by the
> >>LCFG objects. New profiles were fetched, but I had to call
> >>changed objects by hand. The reason for this was that some
> >>script (I think /usr/bin/om) does some kind of double reverse
> >>lookup of the hostname and this only works if the domain is
> >>properly set. And it wasn't in my case. Adding the FQDN to
> >>/etc/hosts solved this, i.e. changing
> >>10.20.1.101   c20-001-101 c20-001-101
> >>to
> >>10.20.1.101   c20-001-101.fzk.de c20-001-101
> >>I must have made a mistake in the configuration somewhere as
> >>it worked fine on the CE and SE...
> >
> > I just checked: on our nodes /etc/hosts contains the full host name.
>
> I hope that this will be fixed if I have a ypbind working at the
> first startup. But this is just a wild guess. The two problems might
> be completely unrelated... Does anybody know where "dnsdomainname"
> gets the domain name from?
>
> >>* Is mounting the gridmapdir directory on the WNs necessary?
> >
> > WNs need the /etc/grid-security/certificates directory in order to be
> > able to verify the identity of the servers they contact. As having a
> > big, possibly huge, number of WNs all around teh world trying and
> > contacting the CA certs distribution sites at the same time to get the
> > latest greatest CRL does not seem a good idea ;-), we chose to have a
> > single shared directory and let only one node doing the job for
> > everybody.
>
> Err, wait. In my setup, only /etc/grid-security/gridmapdir is mounted
> on all machines. This is the directory that contains the mapping from
> DNs to pool accounts. The /etc/grid-security/certificates directory is
> kept locally on each and every machine. (And I have no idea where the
> CRLs are kept.) Is my set-up messed up? Or am I missing something else
> here?

The CRLs are kept in /etc/grid-security/certificates, together with the
CA certificates and with the URL file pointing to the latest version of
the CRLs. On WNs you should mount /etc/grid-security/certificates (or
the full /etc/grid-security) from the CE or the SE and switch off the
cron entry which updates the CRL. A line like
"DELETE(cron.additions,crl)" should do the job.

To my knowledge, WNs do not need to know the DN-to-pool-accounts
mapping: jobs are submitted under the right pool account by the CE and
they receive the correct proxy cert to use any grid service they need.

> >>* The LCFG object nfsmount does not automatically enact changes.
> >>   Adding the line "nfsmount.ng_reconfig restart" had the desired
> >>   effect. Is this a good idea? Why is it not done anyway?
> >
> > I think I remember discussing this issue long time ago and the outcome
> > was that triggering an automatic update can cause big trouble to the
> > users of the node if the changes include the umount-ing a file system
> > while it is being used.
>
> This is definitely true. At least in a production environment. For
> my installation testing I was happy to not needing to go to each
> and every WN and restart nfsmount. Okay, okay, I only installed two
> WNs, but still ;-). But as only one line has to be changed to adjust
> the behavior, I think I can live with the current situation.

Luckily, nfsmount configuration on WNs should not change too much.
Theoretically, if one moves to a gridftp only SE and uses the local
/home directory, the only needed mount is /etc/grid-security

> > I think that your message is exactly the kind of feedback needed to get
> > LCG into a production state. It would be very useful for everybody if
> > you could send all the final configuration files and the exact chanes
> > you had to apply to the default files to get your configuration up and
> > running.
>
> The configuration is in CVS. As I'm likely to forget mentioning most of
> the changes, it's probably better to do a diff on the different CVS versions.
> I'll check that tomorrow, but I fear that the changes are kind of
> un-understandable ;-).

I'll give a look.

>
> Peer
> --
> Peer Hasselmeyer                             [log in to unmask]
> Forschungszentrum Karlsruhe                        Tel.: +49-7247-828601
> Institute for Scientific Computing / Inst. f. Wissenschaftliches Rechnen
> Hermann-von-Helmholtz-Platz 1,  76344 Eggenstein-Leopoldshafen,  Germany

Thank you, ciao

                   Emanuele

--
/------------------- Emanuele Leonardi -------------------\
| eMail: [log in to unmask] - Tel.: +41-22-7674066 |
|  IT division - Bat.31 2-012 - CERN - CH-1211 Geneva 23  |
\---------------------------------------------------------/

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
November 2023
June 2023
May 2023
April 2023
March 2023
February 2023
September 2022
June 2022
May 2022
April 2022
February 2022
December 2021
November 2021
October 2021
September 2021
July 2021
June 2021
May 2021
February 2021
January 2021
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
November 2017
October 2017
September 2017
July 2017
June 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager