ds2.txt -- 2006.04.24 Configuring ds2 so it will run gendvd, to enable it to archive filesystems. *************************** 22006.04.26 Note: Every day, there is an rsync from ds1:/usr to ds2:/user. So the day after doing this, it was mostly erased. The solution was to repeat the procedure on ds1. It also proved necessary to add java to the path in ~/.bashrc.profile. This is because a python script invokes a java command through a shell, which does not inherit the path from the shell used to invoke the python script. *************************** *What is ds2? ds2# rpm -q -a | grep kernel kernel-smp-2.4.21-27.0.1.EL ds2# cat /etc/*release LSB_VERSION="1.3" Red Hat Enterprise Linux AS release 3 (Taroon Update 1) *Download and install java from: http://www.java.com/en/download/linux_manual.jsp to: /srv/local/backup/java/RPMS/jre-1_5_0_06-linux-i586.rpm ds2# rpm -i -v /srv/local/backup/java/RPMS/jre-1_5_0_06-linux-i586.rpm Preparing packages for installation... jre-1.5.0_06-fcs Base directory is /usr/java/jre1.5.0_06/ ds2# alias java /usr/java/jre1.5.0_06/bin/java or ds2# set path = ($path /usr/java/jre1.5.0_06/bin) *Upgrade python to include the subprocess library ds2# rpm -q python python-2.2.3-5 downloaded source for 2.4.3 from python.org ds2# cd /root ds2# tar xzf /srv/local/backup/python/Python-2.4.3.tgz ds2# cd Python-2.4.3/ ds2# ./configure ds2# make ds2# make install lib modules go in /usr/loal/lib exes go in /usr/local/bin Note that this clobbers elements of the 2.2.3-5 distro. *ImageMagick get RPM from Centos DVD ds2# rpm -i -v /srv/local/backup/RPMS/ImageMagick-6.0.7.1-12.i386.rpm *mkisofs get RPM from Centos DVD ds2# rpm -i -v /srv/local/backup/RPMS/mkisofs-2.01.1-5.i386.rpm *mount /srv/images/[12] ds2# vi /etc/fstab ring4:/mnt/csb0/images /srv/images/0 nfs rw,nfsvers=3,hard,async,intr,bg ring4:/mnt/csb1/images /srv/images/1 nfs rw,nfsvers=3,hard,async,intr,bg (add ds1 and ds2 to /etc/exports on ring4 and re-export) *test: ds2# alias java /usr/java/jre1.5.0_06/bin/java ds2# cd /root/temp ds2# source /srv/local/setup/burndvd.set ds2# gendvd /srv/frames/temp/perlo/ttest/ ds2# burnit /srv/frames/temp/root/genericDVD-20060424-144250-??.xml ds2# burnit /srv/frames/temp/root/genericDVD-20060424-144250-??.xml