Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

8
Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell

Transcript of Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

Page 1: Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

Scientific LINUX 3.03Installation at Glasgow

W. H. Bell, A. J. Flavell

Page 2: Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

Overview Mirror SL303 using wget to local NFS

disk

Install using kickstart, cfengine and yum

Maintain using cfengine and yum

Page 3: Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

Installation

ks.cfg

Configuration and Package List

Post Installation

cfengine install

ks-postinstall.sh

ks-postinstall.sh

Run cfengine: bootstrapping the configuration

Run yum

Update packages

Add extra packages

Run cfengine

Final System config tasks

Page 4: Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

cfengine - introduction Built rpm from:

Source http://www.cfengine.org/ Added update.conf and cron.hourly

wrapper Running:

One cfservd process Each desktop runs cfagent hourly

Page 5: Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

cfengine - overview

cfservd

cfagent

cfagent

cfagent

cfagent 1) Authenticate via IP and

associated key pair2) Update cfengine config as

needed3) Update system config as

needed

cfagents pull files to them as needed

Page 6: Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

yum and cfengine yum-tools

Checks local package list file. If file contains packages install with yum and zero file.

cfagent updates package file based on timestamp

TODO: Expand to kernel updates.

Page 7: Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

Extra RPMs Extras installed via

separate yum area.

All but j2sdk built in house.

Could contribute rpms back to HEP community

acroread-5.09-1.i386.rpmant-1.6.2-1.i386.rpmcernlib-2003-1.i386.rpmflash-7-0.25.0.i386.rpmical-2.3.1-1.i386.rpmj2sdk-1_4_2_05-linux-i586.rpmjava-conf-303-1.noarch.rpmmencoder-1.0pre5-2.i386.rpmmplayer-1.0pre5-2.i386.rpmmplayer-common-1.0pre5-2.i386.rpmmplayer-gui-1.0pre5-2.i386.rpmmplayer-skin-default-1.5-2.noarch.rpmmplayer-tools-1.0pre5-2.i386.rpmprosper-1.00.4-1.noarch.rpmpspresent-1.1-1.i386.rpmroot-4.00.08f-1.i386.rpmyum-tools-303-1.noarch.rpm

TODO: plugger rpm with mplayer config

Page 8: Scientific LINUX 3.03 Installation at Glasgow W. H. Bell, A. J. Flavell.

Outlook cfengine + yum toolkit works well

Needs automatic kernel update script 4 machines running SL303 Plan to switch all desktops from RH9

(autorpm) to SL303 (cfengine/yum)