Professional Documents
Culture Documents
s.m.traylen@rl.ac.uk
About LCFG
Started at Edinburgh 9 years ago by Alastair Scobie and Paul Anderson. Installs an RPM based Linux system and configures it. Each machine defined by exactly one profile. Management also possible; the main difference to Kickstart type methods.
s.m.traylen@rl.ac.uk
s.m.traylen@rl.ac.uk
XML profiles
+inet.allow_sshd ALL <allow cfg:template="allow_$ tag_$ daemon_$"> Object Component +inet.daemon_sshd yes <allow_RECORD cfg:name="telnet"> ..... <allow>192.168., 192.135.30.</allow>
Profile Generic
Server
Abstract configuration parameters for all nodes stored in a central repository
<user_RECORD cfg:name="mickey">
<userhome>/home/MickeyMouseHome</userhome>
Client nodes
A collection </user_RECORD>
<usershell>/bin/tcsh</usershell>
of agents read configuration parameters and either generate traditional config files or directly manipulate various services
Documentation
Server installation guide from WP4
http://datagrid.in2p3.fr/distribution/datagrid/wp4/documentati on
Testbed installation guide using LCFG from WP6 http://www.lnl.infn.it/datagrid/wp4-install LCFG Extras, experiances from RAL. http://www.gridpp.ac.uk/tb-support/lcfgextras/
22nd April 2002
s.m.traylen@rl.ac.uk
Software Installation
Install a plain Redhat 6.2. Directory /opt/local requires 4-6 gigabytes. Apply Redhats updates except for RPM v4. Install edg-updaterep-1.0.1.rpm. Review `man updaterep` and /etc/updaterep.conf . Running /usr/sbin/updaterep grabs everything. Install RPMs in documentation.
22nd April 2002
s.m.traylen@rl.ac.uk
Prepare NFS
Directory /opt/local/linux contains all the RPMS and rpm lists. Add /opt/local/linux *(ro) to /etc/exports. LCFG clients use an NFS mounted root file system at install time located at
/opt/local/linux/installroot/6.2
/opt/local/linux/6.2/rpmcfg/installroot
s.m.traylen@rl.ac.uk
s.m.traylen@rl.ac.uk
s.m.traylen@rl.ac.uk
s.m.traylen@rl.ac.uk
10
s.m.traylen@rl.ac.uk
11
Install Clients
Boot floppy disk provided. Boot procedure:
Kernel boots. Broadcast for network values. Mount NFS root file system, init=/etc/dcsrc, download machine profile. Partition and format hard disk. Mount hard disk, install RPMS. Install MBR with LILO. Reboot, configure according to profile, reboot.
22nd April 2002
s.m.traylen@rl.ac.uk
12
Snap shot of configuration is available including all the tiny incremental 22nd April changes. 2002 13 Steve Traylen, RAL, s.m.traylen@rl.ac.uk
s.m.traylen@rl.ac.uk
14