Hi Giles:
 
Since OSCAR 4.0, it doesn't matter whether you have IDE or SCSI/SATA HD, we have a patch which will treat them the same - what that means is even if the partition file you used to build the image says /dev/hda, you can use that for SATA/SCSI disks as well.  Therefore as long as the only difference between the two nodes is IDE vs SCSI/SATA, you can use the same image.
 
Michael, if this is not clearly documented, can you please add it to the docs?  Thanks.
 
Inorder for OSCAR to support your network card, it needs to be supported in two instances:
 
1) SystemImager kenel
2) Operating System kernel
 
If you are using Peter Mueller's kernel, it should support the latest network cards, so that shouldn't be the problem - you need to make sure that your OS supports it though - quick way to find out is to run through 'rescue mode'.  You mentioned that an updated kernel will support it so you simply need to upgrade the kernel on your image (and re-run systemconfigurator after that).
 
Not too sure what the update-rpms error message means, Dave?
 
Cheers,
 
Bernard


From: [EMAIL PROTECTED] on behalf of Giles Lesser
Sent: Thu 04/08/2005 10:00
To: [email protected]
Subject: RE: [Oscar-users] Help, I broke OSCAR!

Many thanks Bernard and Fernando

Two things:

1) The reason I thought I needed a second oscar image is that half my nodes now have IDE drives and the other half SATA (=SCSI?). Doesn't this mean they will need different partition tables and /etc/fstab files at a minimum? I realise that I don't need a new image just to update the kernel. Yes I have your systemconfigurator email, but how can systemconfigurator work on a node if that node won't even recognise its network interface? In this case (the new kernel is required to get the network to work) so surely the kernel must be updated in the image before it is pushed out to the nodes?

2) I re-ran the install_cluster script with debug turned on. The full typescript is at the bottom of this email. The only issues that I can see are near the top:
Creating RPM cache database...


==> /usr/bin/update-rpms '-v' '--cache=u' '--url' '/tftpboot/rpm' '--select=none'
update-rpms, version 1.1.17

User-specified URL
  (/tftpboot/rpm)

  Getting list of available files... (1072 files)

  Reading cache...update-rpms: unable to retrieve 'meta' cache.
<== t=0s
<== $? 25

Done.

and then again at the bottom:

--> Installing server core RPMs


==> /usr/bin/update-rpms '--check' '--quiet' '--cache=u' '--cachedir=/var/cache/update-rpms' 'c3-profiled' 'c3' 'modules-default-manpath-oscar' 'modules-oscar' 'env-switcher' 'perl-DBI' 'perl-DBD-MySQL' 'mysql' 'systemimager-ia64boot-standard' 'systemimager-i386boot-standard' 'syslinux' 'tftp-server' 'udpcast' 'flamethrower' 'systemimager-flamethrower' 'systemimager-server' 'systeminstaller-x11' 'systeminstaller' 'systemimager-client' 'systemimager-common' 'systemconfigurator' 'ntp' 'libcap' 'shadow-utils' 'zlib-devel' 'zlib' 'python' 'expat' 'xinetd' 'httpd' 'php' 'tcpdump' 'openssl' 'openssh-server' 'openssh-clients' 'openssh' 'nfs-utils' 'gd' 'dhcp' 'elementtree' 'Twisted' 'apitest' 'apitest-profiled' 'perl-Qt' 'sync_files' 'crontabs'
<== t=0s
<== $? 25

Use of uninitialized value in join or string at /usr/lib/perl5/site_perl/OSCAR/DepMan.pm line 310.
DepMan: update-rpms failed to select the following packages:
 

Oscar Wizard preparation script failed to complete at ./install_cluster line 215.

I'm afraid that this doesn't tell me much, but it appears that update-rpms is returning an exit code of 25 each time. Does this shed any light?

I appreciate your help.

Regards


Giles







Script started on Thu 04 Aug 2005 09:40:41 AM PDT
[EMAIL PROTECTED] root]# cd /opt/oscar
[EMAIL PROTECTED] oscar]# export DEBUG_UPDATE_RPMS=y && ./install_cluster eth1

=============================================================================
== Running OSCAR install_cluster script
=============================================================================

--> Quick sanity check for /tftpboot/rpm
--> Running: "cd /opt/oscar/scripts && ./wizard_prep"

=============================================================================
== Running OSCAR wizard_prep script
=============================================================================

--> Running OSCAR wizard prerequisites
Running prereq setup script packman (in order)
Checking for packman/depman RPMs...
Running prereq setup script update-rpms (in order)
Installing /opt/oscar/share/prereqs/update-rpms/RPMS/update-rpms-1.1.17-27.noarch.rpm
Preparing...                ##################################################
        package update-rpms-1.1.17-27 is already installed
WARNING: Appears oscar-httpd was not installed. Defaulting to local filesystem.
Creating RPM cache database...


==> /usr/bin/update-rpms '-v' '--cache=u' '--url' '/tftpboot/rpm' '--select=none'
update-rpms, version 1.1.17

User-specified URL
  (/tftpboot/rpm)

  Getting list of available files... (1072 files)

  Reading cache...update-rpms: unable to retrieve 'meta' cache.
<== t=0s
<== $? 25

Done.
Running prereq setup script XML-Parser (in order)
--> Checking to see if we need to install XML::Parser
--> XML::Parser appears to be installed already
Running prereq setup script XML-Simple (in order)
--> Checking to see if we need to install XML::Simple
--> XML::Simple appears to be installed already
Running prereq setup script oda (in order)
--> Checking to see if we need to install ODA RPMs
--> ODA is already installed
--> Checking status of MySQL server mysqld
0
--> mysqld already running
Running prereq setup script HTML-Tree (after ordered)
--> Checking to see if we need to install HTML::Tree
--> HTML::Tree appears to be installed already
Running prereq setup script perl-Tk (after ordered)
--> Finding correct perl version: 5.8.0

--> Checking to see if we need to install Perl-Tk

--> We don't need to install perl-Tk

--> Finding available packages
--> Found packages: apitest, base, c3, disable-services, ganglia, kernel_picker, lam, loghost, maui, mpich, mta-config, networking, ntpconfig, oda, opium, perl-Qt, pfilter, pvm, sis, switcher, sync_files, torque
--> Running package setup scripts
--> About to run /opt/oscar/packages/apitest/scripts/setup for apitest
Using apitest RPMs from: /opt/oscar/packages/apitest/distro/rh3as
Copying new files:
 - /opt/oscar/packages/apitest/distro/rh3as/Twisted-1.3.0-1tummy.ia64.rpm
 - /opt/oscar/packages/apitest/distro/rh3as/Twisted-1.3.0-1tummy.i386.rpm
 - /opt/oscar/packages/apitest/distro/rh3as/elementtree-1.2a5_20031115-1.noarch.rpm
 - /opt/oscar/packages/apitest/distro/rh3as/apitest-profiled-0.2.5+1-4.ia64.rpm
 - /opt/oscar/packages/apitest/distro/rh3as/apitest-profiled-0.2.5+1-4.i386.rpm
 - /opt/oscar/packages/apitest/distro/rh3as/apitest-0.2.5+1-4.ia64.rpm
 - /opt/oscar/packages/apitest/distro/rh3as/apitest-0.2.5+1-4.i386.rpm
Copied apitest RPMs to /opt/oscar/packages/apitest/RPMS
--> About to run /opt/oscar/packages/disable-services/scripts/setup for disable-services
Created: /opt/oscar/packages/disable-services/scripts/post_client_rpm_install
--> About to run /opt/oscar/packages/ganglia/scripts/setup for ganglia
Using rrdtool RPM from: /opt/oscar/packages/ganglia/distro/redhat
Removing old files:
 - /opt/oscar/packages/ganglia/RPMS/rrdtool-1.0.45-1.fr.ia64.rpm
 - /opt/oscar/packages/ganglia/RPMS/rrdtool-1.0.45-1.fr.i386.rpm
Copying new files:
 - /opt/oscar/packages/ganglia/distro/redhat/rrdtool-1.0.45-1.fr.ia64.rpm
 - /opt/oscar/packages/ganglia/distro/redhat/rrdtool-1.0.45-1.fr.i386.rpm
Copied rrdtool RPMs to /opt/oscar/packages/ganglia/RPMS
--> About to run /opt/oscar/packages/lam/scripts/setup for lam
--> There is no pre-installed LAM RPM
Using LAM/MPI RPMs from: /opt/oscar/packages/lam/distro/rh3as
Removing old files:
 - /opt/oscar/packages/lam/RPMS/lam-oscar-modulefile-7.0.6-3.ia64.rpm
 - /opt/oscar/packages/lam/RPMS/lam-oscar-modulefile-7.0.6-3.i386.rpm
 - /opt/oscar/packages/lam/RPMS/lam-oscar-7.0.6-3.ia64.rpm
 - /opt/oscar/packages/lam/RPMS/lam-oscar-7.0.6-3.i386.rpm
Copying new files:
 - /opt/oscar/packages/lam/distro/rh3as/lam-oscar-modulefile-7.0.6-3.ia64.rpm
 - /opt/oscar/packages/lam/distro/rh3as/lam-oscar-modulefile-7.0.6-3.i386.rpm
 - /opt/oscar/packages/lam/distro/rh3as/lam-oscar-7.0.6-3.ia64.rpm
 - /opt/oscar/packages/lam/distro/rh3as/lam-oscar-7.0.6-3.i386.rpm
Copied LAM/MPI RPMs to /opt/oscar/packages/lam/RPMS
--> About to run /opt/oscar/packages/mpich/scripts/setup for mpich
Using mpich RPMs from: /opt/oscar/packages/mpich/distro/rh80
Removing old files:
 - /opt/oscar/packages/mpich/RPMS/mpich-ch_p4-gcc-oscar-module-1.2.5.10-3.ia64.rpm
 - /opt/oscar/packages/mpich/RPMS/mpich-ch_p4-gcc-oscar-module-1.2.5.10-2.i586.rpm
 - /opt/oscar/packages/mpich/RPMS/mpich-ch_p4-gcc-oscar-devel-1.2.5.10-3.ia64.rpm
 - /opt/oscar/packages/mpich/RPMS/mpich-ch_p4-gcc-oscar-devel-1.2.5.10-2.i586.rpm
 - /opt/oscar/packages/mpich/RPMS/mpich-ch_p4-gcc-oscar-1.2.5.10-3.ia64.rpm
 - /opt/oscar/packages/mpich/RPMS/mpich-ch_p4-gcc-oscar-1.2.5.10-2.i586.rpm
Copying new files:
 - /opt/oscar/packages/mpich/distro/rh80/mpich-ch_p4-gcc-oscar-module-1.2.5.10-3.ia64.rpm
 - /opt/oscar/packages/mpich/distro/rh80/mpich-ch_p4-gcc-oscar-module-1.2.5.10-2.i586.rpm
 - /opt/oscar/packages/mpich/distro/rh80/mpich-ch_p4-gcc-oscar-devel-1.2.5.10-3.ia64.rpm
 - /opt/oscar/packages/mpich/distro/rh80/mpich-ch_p4-gcc-oscar-devel-1.2.5.10-2.i586.rpm
 - /opt/oscar/packages/mpich/distro/rh80/mpich-ch_p4-gcc-oscar-1.2.5.10-3.ia64.rpm
 - /opt/oscar/packages/mpich/distro/rh80/mpich-ch_p4-gcc-oscar-1.2.5.10-2.i586.rpm
Copied mpich RPMs to /opt/oscar/packages/mpich/RPMS
--> About to run /opt/oscar/packages/perl-Qt/scripts/setup for perl-Qt
Using perl-Qt RPMs from: /opt/oscar/packages/perl-Qt/distro/rhel3
Copying new files:
 - /opt/oscar/packages/perl-Qt/distro/rhel3/perl-Qt-3.006-5.ia64.rpm
 - /opt/oscar/packages/perl-Qt/distro/rhel3/perl-Qt-3.006-5.i386.rpm
Copied perl-Qt RPMs to /opt/oscar/packages/perl-Qt/RPMS
--> About to run /opt/oscar/packages/pvm/scripts/setup for pvm
Using pvm RPMs from: /opt/oscar/packages/pvm/distro/rh3as
Copying new files:
 - /opt/oscar/packages/pvm/distro/rh3as/pvm-modules-oscar-3.4.4+11-3.ia64.rpm
 - /opt/oscar/packages/pvm/distro/rh3as/pvm-modules-oscar-3.4.4+11-3.i386.rpm
 - /opt/oscar/packages/pvm/distro/rh3as/pvm-3.4.4+11-3.ia64.rpm
 - /opt/oscar/packages/pvm/distro/rh3as/pvm-3.4.4+11-3.i386.rpm
Copied pvm RPMs to /opt/oscar/packages/pvm/RPMS
--> About to run /opt/oscar/packages/switcher/scripts/setup for switcher
Using modules RPMs from: /opt/oscar/packages/switcher/distro/rh3as
Removing old files:
 - /opt/oscar/packages/switcher/RPMS/modules-oscar-3.1.6-5.ia64.rpm
 - /opt/oscar/packages/switcher/RPMS/modules-oscar-3.1.6-5.i386.rpm
Copying new files:
 - /opt/oscar/packages/switcher/distro/rh3as/modules-oscar-3.1.6-5.ia64.rpm
 - /opt/oscar/packages/switcher/distro/rh3as/modules-oscar-3.1.6-5.i386.rpm
Copied modules-oscar RPMs to /opt/oscar/packages/switcher/RPMS
--> Successfully ran package setup scripts
--> Copying RPMs to /tftpboot/rpm
--> Copying RPMs from /opt/oscar/packages to /tftpboot/rpm
Copying /opt/oscar/packages/ganglia/RPMS/rrdtool-1.0.45-1.fr.ia64.rpm to /tftpboot/rpm
Copying /opt/oscar/packages/ganglia/RPMS/rrdtool-1.0.45-1.fr.i386.rpm to /tftpboot/rpm
--> Successfully copied RPMs from /opt/oscar/packages to /tftpboot/rpm
--> Copying RPMs from /var/lib/oscar/packages to /tftpboot/rpm
--> Successfully copied RPMs from /var/lib/oscar/packages to /tftpboot/rpm
--> Making sure there is an ODA database password
Checking for ODA database password file ... found.
Checking for proper ownership and permissions ... correct.
Reading password from file /etc/odapw ... done.
--> Initializing ODA database from package config.xml files
Starting the mysql database server ...
/etc/init.d/mysqld start
Starting MySQL:  [60G[  [0;32mOK[0;39m  ]

Making sure that the mysql database server starts on subsequent boots ...
chkconfig mysqld on
Searching these directories for packages:
    /opt/oscar/packages
    /var/lib/oscar/packages
Processing /opt/oscar/packages/oda/config.xml for package oda ...
Modifying existing packages record for package oda.
Setting oscar global values record
Modifying the global oscar information record
Processing /opt/oscar/packages/torque/config.xml for package torque ...
Modifying existing packages record for package torque.
Processing /opt/oscar/packages/sync_files/config.xml for package sync_files ...
Modifying existing packages record for package sync_files.
Processing /opt/oscar/packages/switcher/config.xml for package switcher ...
Modifying existing packages record for package switcher.
Processing /opt/oscar/packages/sis/config.xml for package sis ...
Modifying existing packages record for package sis.
Processing /opt/oscar/packages/pvm/config.xml for package pvm ...
Modifying existing packages record for package pvm.
Processing /opt/oscar/packages/pfilter/config.xml for package pfilter ...
Modifying existing packages record for package pfilter.
Processing /opt/oscar/packages/perl-Qt/config.xml for package perl-Qt ...
Modifying existing packages record for package perl-Qt.
Processing /opt/oscar/packages/opium/config.xml for package opium ...
Modifying existing packages record for package opium.
Processing /opt/oscar/packages/ntpconfig/config.xml for package ntpconfig ...
Modifying existing packages record for package ntpconfig.
Processing /opt/oscar/packages/networking/config.xml for package networking ...
Modifying existing packages record for package networking.
Processing /opt/oscar/packages/mta-config/config.xml for package mta-config ...
Modifying existing packages record for package mta-config.
Processing /opt/oscar/packages/mpich/config.xml for package mpich ...
Modifying existing packages record for package mpich.
Processing /opt/oscar/packages/maui/config.xml for package maui ...
Modifying existing packages record for package maui.
Processing /opt/oscar/packages/loghost/config.xml for package loghost ...
Modifying existing packages record for package loghost.
Processing /opt/oscar/packages/lam/config.xml for package lam ...
Modifying existing packages record for package lam.
Processing /opt/oscar/packages/kernel_picker/config.xml for package kernel_picker ...
Modifying existing packages record for package kernel_picker.
Processing /opt/oscar/packages/ganglia/config.xml for package ganglia ...
Modifying existing packages record for package ganglia.
Processing /opt/oscar/packages/disable-services/config.xml for package disable-services ...
Modifying existing packages record for package disable-services.
Processing /opt/oscar/packages/c3/config.xml for package c3 ...
Modifying existing packages record for package c3.
Processing /opt/oscar/packages/base/config.xml for package base ...
Modifying existing packages record for package base.
Processing /opt/oscar/packages/apitest/config.xml for package apitest ...
Modifying existing packages record for package apitest.
Modifying the global oscar information record
Checking for existence of package set <Default>
Checking for database existance of node oscar_server ...
Updating the hostname field in the oscar_server node to <Headnode> ...
Checking for existance of node group oscar_clients ...
Checking for existance of node group all ...
Checking for existance of configuration default ...
--> Identified core packages: c3 switcher oda sis base apitest perl-Qt sync_files
--> Returning oscar_server packages for c3: c3-profiled c3
--> Returning oscar_server packages for switcher: modules-default-manpath-oscar modules-oscar env-switcher
--> Returning oscar_server packages for oda: perl-DBI perl-DBD-MySQL mysql
--> Returning oscar_server packages for sis: systemimager-ia64boot-standard systemimager-i386boot-standard syslinux tftp-server udpcast flamethrower systemimager-flamethrower systemimager-server systeminstaller-x11 systeminstaller systemimager-client systemimager-common systemconfigurator
--> Returning oscar_server packages for base: ntp libcap shadow-utils zlib-devel zlib python expat xinetd httpd php tcpdump openssl openssh-server openssh-clients openssh nfs-utils gd dhcp
--> Returning oscar_server packages for apitest: elementtree Twisted apitest apitest-profiled
--> Returning oscar_server packages for perl-Qt: perl-Qt
--> Returning oscar_server packages for sync_files: sync_files crontabs
--> Installing server core RPMs


==> /usr/bin/update-rpms '--check' '--quiet' '--cache=u' '--cachedir=/var/cache/update-rpms' 'c3-profiled' 'c3' 'modules-default-manpath-oscar' 'modules-oscar' 'env-switcher' 'perl-DBI' 'perl-DBD-MySQL' 'mysql' 'systemimager-ia64boot-standard' 'systemimager-i386boot-standard' 'syslinux' 'tftp-server' 'udpcast' 'flamethrower' 'systemimager-flamethrower' 'systemimager-server' 'systeminstaller-x11' 'systeminstaller' 'systemimager-client' 'systemimager-common' 'systemconfigurator' 'ntp' 'libcap' 'shadow-utils' 'zlib-devel' 'zlib' 'python' 'expat' 'xinetd' 'httpd' 'php' 'tcpdump' 'openssl' 'openssh-server' 'openssh-clients' 'openssh' 'nfs-utils' 'gd' 'dhcp' 'elementtree' 'Twisted' 'apitest' 'apitest-profiled' 'perl-Qt' 'sync_files' 'crontabs'
<== t=0s
<== $? 25

Use of uninitialized value in join or string at /usr/lib/perl5/site_perl/OSCAR/DepMan.pm line 310.
DepMan: update-rpms failed to select the following packages:
 

Oscar Wizard preparation script failed to complete at ./install_cluster line 215.
[EMAIL PROTECTED] oscar]# exit
exit

Script done on Thu 04 Aug 2005 09:44:48 AM PDT



------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Oscar-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to