Monday, March 12, 2007

IL-BGU home page

Today I updated my IL-BGU portal.
visit: http://www.bgu.ac.il/~tel-zur/grid.html
or click on the map to enter:

Sunday, March 11, 2007

Diskless client installation

In the RHEL documentation (Chapter 4. "Diskless Environments", item #4) there is an in-accuracy in the rsync syntax usage.
Instead of:
rsync -a -e ssh golden_client:/ /diskless/whatever/root/
Use the following syntax which does not produce error messages:
rsync -v -a -e ssh --exclude='/sys/*' --exclude='/proc/*' golden_client:/ /diskless/whatever/root/

Other comments (that I find critial in my experience):

1) Make sure the following RPM is installed in the client: busybox-anaconda
(In my CentOS4.4 case it is: busybox-anaconda-1.00.rc1-5.x86_64.rpm)
2) Make sure there are no active NFS mounted partitions on the client before executing 'rsync'.
3) Make sure that the following 2 directories exist:
/tftpboot/linux-install/msgs/
/tftpboot/linux-install/pxelinux.cfg

and that in the tftp definition file under /etc/xinted.d/tftp the following line is set correctly:
server_args = -s /tftpboot/linux-install

4) If pxelinux.0 does not exist under /tftp/linux-install copy it:
cp /usr/lib/syslinux/pxelinux.0 /tftpboot/linux-install/.

5) Pay attention to the directory hirarchy:
if under /etc/xinetd.d/tftp appears a line, as we wrote above:
server_args = -s /tftpboot/linux-install
then in /etc/dhcpd.conf the reference to pxelinux.0 should be:
filename "pxelinux.0";
and not:
filename "linux-install/pxelinux.0"; or any other variation of it. which will make a failure in booting the diskless nodes.


Friday, March 09, 2007

Howto add Java Plugin to Firefox on Linux

Although this is probably documented in numerous sites, here is my summary:

1) Install the JRE package from SUN (download and then 'chmod u+x' to the *.bin file).
2) cd to /usr/lib/firefox-1.5.0.5/plugins
3) Type:
[root@guydell plugins]# ln -s /usr/java/jre1.5.0_11/plugin/i386/ns7/libjavaplugin_oji.so
[root@guydell plugins]# ls -l
total 36
lrwxrwxrwx 1 root root 58 Mar 9 17:16 libjavaplugin_oji.so -> /usr/java/jre1.5.0_11/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 14288 Jul 29 2006 libnullplugin.so
-rwxr-xr-x 1 root root 7564 Jul 29 2006 libunixprintplugin.so