Presentation is loading. Please wait.

Presentation is loading. Please wait.

E. Ferro, CNAF, aprile 2002 1 LCFG: testbed upgrade Enrico Ferro INFN-LNL.

Similar presentations


Presentation on theme: "E. Ferro, CNAF, aprile 2002 1 LCFG: testbed upgrade Enrico Ferro INFN-LNL."— Presentation transcript:

1 E. Ferro, CNAF, aprile 2002 1 LCFG: testbed upgrade Enrico Ferro INFN-LNL

2 E. Ferro, CNAF, aprile 2002 2 All these informations… …are available on: …are available on: –http://www.lnl.infn.it/datagrid/wp4-install

3 E. Ferro, CNAF, aprile 2002 3 1. Repositories upgrade Upgrade your local RPM repository from datagrid.in2p3.fr/distribution. Upgrade your local RPM repository from datagrid.in2p3.fr/distribution. A script was done by Steve Traylen to simplify the download process: A script was done by Steve Traylen to simplify the download process: –http://www.gridpp.ac.uk/tb-support/lcfg- extra/createRepository.sh.txt –http://www.gridpp.ac.uk/tb-support/lcfg-extra/Makefile- genheaders.txt I did not try it but it seems nice. I did not try it but it seems nice.

4 E. Ferro, CNAF, aprile 2002 4 2. LCFG server upgrade Some rpms need to be updated/installed also in the LCFG server: Some rpms need to be updated/installed also in the LCFG server: –cd /opt/local/linux/6.2/RPMS/LCFG –rpm -Uvh config-defaults-rpmcfg-server-1.0.0- 22.edg.i386.rpm –rpm -Uvh obj-filecopy-server-1.0-7.edg.i386.rpm –rpm -Uvh obj-inet-server-1.0-0.6.edg.i386.rpm –rpm -Uvh obj-nfs-server-1.0-0.9.edg.i386.rpm –rpm -Uvh obj-nsswitch-server-1.0-0.4.edg.i386.rpm –rpm -Uvh obj-update-server-1.0-18.edg.i386.rpm –rpm -Uvh obj-xntpd-server-1.0-2.edg.i386.rpm –rpm -Uvh obj-cron-server-1.0-1.edg.i386.rpm –rpm -Uvh populate-server-1.0-13.edg.i386.rpm

5 E. Ferro, CNAF, aprile 2002 5 3. Installroot upgrade The Installroot needs to be updated: The Installroot needs to be updated: –cd /opt/local/linux/installroot –make create

6 E. Ferro, CNAF, aprile 2002 6 4. Download latest RPM lists From: From: –http://datagrid.in2p3.fr/cgi-bin/cvsweb.cgi/edg-release/rpmlist Download latest LCFG RPM lists and put them into: /opt/local/linux/6.2/rpmcfg Download latest LCFG RPM lists and put them into: /opt/local/linux/6.2/rpmcfg

7 E. Ferro, CNAF, aprile 2002 7 5. Download latest LCFG resources From: From: –http://datagrid.in2p3.fr/cgi-bin/cvsweb.cgi/edg-release/source/ Download latest LCFG resource files and put them into: Download latest LCFG resource files and put them into: –/var/obj/conf/profile/source

8 E. Ferro, CNAF, aprile 2002 8 6. Customize your resources In theory only site-cfg.h In theory only site-cfg.h

9 E. Ferro, CNAF, aprile 2002 9 7. Update the testbed nodes Rebuild and notify the configuration changes with: Rebuild and notify the configuration changes with: –touch /var/obj/conf/profile/source/linuxdef-cfg.h –/usr/sbin/mkxprof -n -A -R The first command is a workaround to a LCFG adaptors bug (Bugzilla #317). The first command is a workaround to a LCFG adaptors bug (Bugzilla #317).

10 E. Ferro, CNAF, aprile 2002 10 8. Reboot Reboot to ensure that Reboot to ensure that –RPM are updated –Upgraded demons are restarted

11 E. Ferro, CNAF, aprile 2002 11 9. New boot disk A new boot disk was created to solve the problem of BOOTP protocol (now we use DHCP) and to add the support for Realtek Ethernet card. A new boot disk was created to solve the problem of BOOTP protocol (now we use DHCP) and to add the support for Realtek Ethernet card. After the update of installroot you MUST use this disk image instead of the previous one: After the update of installroot you MUST use this disk image instead of the previous one: –http://www.lnl.infn.it/datagrid/wp4- install/packages/disk_images/boot_nfs_25032002.img The problem of the length of the pathname (e.g. short link to /opt/local/linux/6.2/installroot) and the URL of the LCFG server was solved The problem of the length of the pathname (e.g. short link to /opt/local/linux/6.2/installroot) and the URL of the LCFG server was solved

12 E. Ferro, CNAF, aprile 2002 12 10. "lcfgize-me" New tool: it is possible to install from scratch a node also without the boot diskette New tool: it is possible to install from scratch a node also without the boot diskette But the node must be: But the node must be: –Already up and running –Configured with the lilo bootloader The tool lcfgize-me: The tool lcfgize-me: –Copy existing lilo.conf to a temporary location –Add the new kernel –Run lilo using this temporary configuration The new kernel will be the default image for the next boot; it will mount the installroot via NFS and start the standard LCFG installation process The new kernel will be the default image for the next boot; it will mount the installroot via NFS and start the standard LCFG installation process It is possible to "undo" (the /etc/lilo.conf is not modified) It is possible to "undo" (the /etc/lilo.conf is not modified) The installation is non interactive The installation is non interactive


Download ppt "E. Ferro, CNAF, aprile 2002 1 LCFG: testbed upgrade Enrico Ferro INFN-LNL."

Similar presentations


Ads by Google