LC HepSysMan
LC HepSysMan
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.
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
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
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
10
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
12
Snap shot of configuration is available including all the tiny incremental 22nd April changes. 2002 13 Steve Traylen, RAL, [email protected]
14