Hello Ian,

On Thursday 04 March 2004 16:42, Ian Robinson wrote:
> I am upgrading a cluster by adding a gigabit network.
> I need to keep the management side of oscar on the original fast ethernet
> network and use the new gigabit network for processing the jobs.
>
> I would like to know if this has been done before and how it has been
> achieved.
> I understand that OSCAR is designed for only one network interface and that
> there may be a lot of manual work involved here.
>
> Would it be easier to install OSCAR on to the new Gigabit network and then
> transfer the management side of things over to the older network?
>
> The OS is Redhat 7.3 and the release of OSCAR is 2.2.1

I am doing exactly this, also with RH7.3 and oscar-2.2.1
(unfortunately stuck to that oscar version because
I'm stuck to RH7.3, OSCAR3.0 didn't work out of the
box on RH7.3).

My nodes have also each 2 interfaces though in my
case both with GB ethernet (so you may need to
install aditionnally the GB driver on your system
image).

I configured the 2nd interface manually with the
small script I am appending at the bottom of this
mail, which I do not consider to be "a lot" of
manual work. The second interface is on a different
network (10.0.2 while the first is on 10.0.1) not 
accessible by the head node which is what I want.
I am not sure how much more complicated it is
going to be for you due to the fact that your 2
network cards are different.

Good luck,

Vuko



----confsecondip.sh ----------------------------------------------------
#!/bin/sh

# SCRIPT TO CONFIGURE 2ND NETWORK CARD ON OSCAR CLIENTS
# Expects 3 arguments:
#   1: # hosts to be configured
#   2: ip base of the first host (form x.y.z.s)
#   3: OSCAR id of first host
# 
#  Example:
#   > confsecondip.sh 5 10.0.2.101 1
#

nrhosts=$1
ipbase=`echo $2 | cut -d"." -f1-3`
ipsuffix=`echo $2 | cut -d"." -f4`
ccid=$3

suffix=$ipsuffix

if [ "$#" -ne 3 ] ; then
 echo wrong number of arguments
 exit
fi
i=1

while [ "$i" -le "$nrhosts" ] ; do

    cat > ifcfg-eth1<<EOF
DEVICE="eth1"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR="$ipbase.$suffix"
NETMASK="255.255.255.0"
NETWORK="10.0.2.0"
BROADCAST="10.0.2.255"

EOF

echo IP: $ipbase.$suffix CCID: $ccid
cpush :$ccid ifcfg-eth1 /etc/sysconfig/network-scripts
suffix=`expr $suffix + 1 `
i=`expr $i + 1 `
ccid=`expr $ccid + 1 `

done
cexec /etc/rc.d/init.d/network restart
------------------------------------------------





-- 
===========================================================|
 Vuko Brigljevic                                           |
 Rudjer Boskovic Institute                                 |
 --------------------------------------------------------- |
 Mail Address: Bijenicka cesta 54, P.O.B. 180              |
               10002 Zagreb Croatia                        |
 Phone       : +385-1- 468 0204                            |
 www         : http://cern.ch/vuko                         |
===========================================================|




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to