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 LCFG: testbed upgrade Enrico Ferro INFN-LNL

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

3 E. Ferro, CNAF, aprile 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 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 edg.i386.rpm –rpm -Uvh obj-filecopy-server edg.i386.rpm –rpm -Uvh obj-inet-server edg.i386.rpm –rpm -Uvh obj-nfs-server edg.i386.rpm –rpm -Uvh obj-nsswitch-server edg.i386.rpm –rpm -Uvh obj-update-server edg.i386.rpm –rpm -Uvh obj-xntpd-server edg.i386.rpm –rpm -Uvh obj-cron-server edg.i386.rpm –rpm -Uvh populate-server edg.i386.rpm

5 E. Ferro, CNAF, aprile 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 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 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 Customize your resources In theory only site-cfg.h In theory only site-cfg.h

9 E. Ferro, CNAF, aprile 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 Reboot Reboot to ensure that Reboot to ensure that –RPM are updated –Upgraded demons are restarted

11 E. Ferro, CNAF, aprile 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_ 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 "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