On Sun, Feb 18, 2007 at 09:14:22AM -0600, Michael Edwards wrote:
>The nodes will be partitioned using the information in the file you select
>when you do the "Build Client Image" step.  The default
>(/opt/oscar/oscarsamples/ide.sample) is fairly generic, but this would be
>something to check and make sure the target device is big enough for all the
>partitions, etc.

just FYI this didn't work for me when I had 2 disks in a node. I told it
on the GUI it to partition /dev/sdb, but the partition was automagically
applied to /dev/sda instead... Grrrr - wiped out a pre-existing OS.
not happy (luckily I could clone it from other nodes).

the fix was to:
-    DISKORDER=sd,cciss,ida,rd,hd
+    DISKORDER=
in the master script, but I can't see for the life of me why that
DISKORDER stuff is there at all?!?! just looks like trouble...

OSCAR5, x86_64, centos4.4

whilst I'm here, other OSCAR5 problems/quirks that may or may not be
my fault and may or may not be OSCAR related :-)

 - I needed a 'SERVERHOST <internal network name of front-end>' (eg.
   'SERVERHOST blah' instead of 'SERVERHOST blah.anu.edu.au') in
   /var/spool/pbs/torque.cfg otherwise otherwise torque gives you
   'Unauthorized Request' to every qmgr command. similar for
   /opt/maui/maui.cfg.

 - /home needs to be exported from the front-end with no_root_squash
   otherwise the OSCAR Tests don't run properly. this can be reset to
   normal after the tests are run.

 - the gigE switch needed IGMP Snooping turned off before ganglia
   would work

 - attached is a patch for cpushimage (should have some si_ prefixes in
   there)

 - quieten down ssh-oscar.* chmod's 'cos this gets really annoying when
   you have a read-only / setup. see patch.

 - /var/lib/systemimager/scripts/pre-install/01all.load_sata_driver
   worked well to load a achi driver as the backends (SATA) are different
   to the front-end machines (SAS).

apart from that things went well - good work people! thanks! very happy
with OSCAR :)

hope the above helps.

cheers,
robin
--- cpushimage.orig.rjh 2007-01-07 17:35:41.000000000 +1100
+++ cpushimage  2007-01-07 18:28:46.000000000 +1100
@@ -257,7 +258,7 @@
                                                                pid = os.fork() 
# execute command on each node in it's own process
                                                                if pid == 0:
                                                                        
node_name = cluster_from_file[cluster]['nodes'][node].name
-                                                                       
string_to_execute = transport + " " + node_name + " \'/usr/sbin/updateclient " 
+ options + " -server " + int_ip + " -image " + imagename + "\'"
+                                                                       
string_to_execute = transport + " " + node_name + " \'/usr/sbin/si_updateclient 
" + options + " -server " + int_ip + " -image " + imagename + "\'"
                                                                        
os.system( string_to_execute )
                                                                        
os._exit(1)
                                                                
pidlist.append(pid)
@@ -269,7 +270,7 @@
                                                        pid = os.fork() # 
execute command in own process
                                                        if pid == 0:
                                                                node_name = 
node.name
-                                                               
string_to_execute = transport + " " + node_name + " \'/usr/sbin/updateclient " 
+ options + " -server " + int_ip + " -image " + imagename + "\'"
+                                                               
string_to_execute = transport + " " + node_name + " \'/usr/sbin/si_updateclient 
" + options + " -server " + int_ip + " -image " + imagename + "\'"
                                                                os.system( 
string_to_execute )
                                                                os._exit(1)
                                                        pidlist.append(pid)
diff -ruN profile.d/ssh-oscar.csh 
/var/lib/oneSIS/centos-4/etc/profile.d/ssh-oscar.csh
--- profile.d/ssh-oscar.csh     2005-12-13 16:08:15.000000000 +1100
+++ /var/lib/oneSIS/centos-4/etc/profile.d/ssh-oscar.csh        2007-01-15 
01:30:27.000000000 +1100
@@ -59,7 +59,7 @@
     endif
 
     # echo chmod 600 $home/.ssh/authorized_keys*
-    chmod 600 $home/.ssh/authorized_keys*
+    chmod 600 $home/.ssh/authorized_keys* >& /dev/null
 
 else
     echo cannot determine home directory of user $user
diff -ruN profile.d/ssh-oscar.sh 
/var/lib/oneSIS/centos-4/etc/profile.d/ssh-oscar.sh
--- profile.d/ssh-oscar.sh      2005-12-13 16:05:57.000000000 +1100
+++ /var/lib/oneSIS/centos-4/etc/profile.d/ssh-oscar.sh 2007-01-15 
01:30:54.000000000 +1100
@@ -56,7 +56,7 @@
         fi
 
         # echo chmod 600 $home/.ssh/authorized_keys*
-        chmod 600 $home/.ssh/authorized_keys*
+        chmod 600 $home/.ssh/authorized_keys* >/dev/null 2>&1
 
     fi
 fi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to