Hi, I'm no SIS/oscar expert, but I have been playing around with using systemimager to update our cluster.
Actually, you might find it easier to run: updateclient -server (server) -autoinstall -flavor standard -reboot from the node that you want to reinstall. Of course you could also cexec this to reinstall an entire cluster, although I've found it works much better if you only do the reinstall in groups of 8-16 or so. Also make sure that the script in /var/lib/systemimager/scripts is set to reboot rather than beep or you'll have to manually reset all of the machines after the install is done. I guess I'll also add a little note on how we got cpushimage to work, which is much easier than doing a complete reinstall. What I did was run the command: updateclient -server (server) -image (image) -dry-run This produces a list of the files that would be modified by the cpushimage command. Copy the /etc/systemimager/updateclient.local.exclude file into the image on the server and edit it to include the appropriate files revealed by the updateclient command. Then cpush updateclient.local.exclude /etc/systemimager. After all that, you should be able to use cpushimage to update your cluster. I also like to run the command systemconfigurator --configall on all of the nodes to make sure networking, booting, etc are setup, although this may not be necessary. Finally some of the oscar scripts perform setup on the nodes themselves, so I typically run the post_install scripts manually after having performed an update. One final note: Be CAREFUL! I recommend that you get the update process working on a single node using updateclient rather than cpushimage. I managed to mess up our entire cluster when I first started playing with this and it took quite a long time to fix things. Its much easier to fix one node! Cheers, Justin -- Justin MacCallum [EMAIL PROTECTED] PhD Student Department of Biological Sciences University of Calgary On Tue, 2003-07-29 at 12:33, Jeremy Enos wrote: > Vuko- > I've had the same needs for boot control. I thought I had opened a Feature > Request for it in the past but I couldn't find it, so I opened another one. > http://sourceforge.net/tracker/index.php?func=detail&aid=779750&group_id=9368&atid=359368 > In the meantime, what I've done as a workaround is put the PXE boot in the > boot order after the local HD. Then, if I want a node to rebuild... I just > mung the boot sector on the HD so it's not a valid boot device, and > reboot. When the HD isn't valid, it moves on and does a PXE boot. After > the node is rebuilt, the HD is of course a valid boot device again. > To mung the boot sector, I use: > dd if=/dev/zero of=/dev/hda count=2 (or /dev/sda, given the system) > Hope that helps- > > Jeremy > > At 02:48 PM 7/29/2003 +0200, Vuko Brigljevic wrote: > >Hi Rainer, > > > >On Tue, 29 Jul 2003, Rainer Schweinfest wrote: > > > > > when you have updated the image on the server you can use cpushimage from > > > the C3 tools to update the client nodes. It is not necessary to do a > > > complete reinstall the clients. > > > >Yes, but I think that you need in that case to define a set of > >host specific files to be excluded from the update in some > >configuration file. Otherwise, this would brake the client > >systems (I think I had tried it and noticed that modules.conf > >got overwritten). Can anybody tell me more about that > >configuration file: file name, syntax (best with an > >example), which files should be included. > > > >thanks, > > > >Vuko > > > > > > > >===========================================================| > > Vuko Brigljevic, EP Research Fellow | > > CERN - European Laboratory for Particle Physics | > > --------------------------------------------------------- | > > Mail Address: CERN, Div. EP, 1211 Geneve 23 (Switzerland) | > > Office : B40-2B08 | > > Phone : +41-22-767 1662 | > > www : http://cern.ch/vuko | > >===========================================================| > > > > > > > >------------------------------------------------------- > >This SF.Net email sponsored by: Free pre-built ASP.NET sites including > >Data Reports, E-commerce, Portals, and Forums are available now. > >Download today and enter to win an XBOX or Visual Studio .NET. > >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > >_______________________________________________ > >Oscar-users mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/oscar-users > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Oscar-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/oscar-users ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
