[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re: Current RaQ4r Rebuild
- Subject: Re: [cobalt-users] Re: Current RaQ4r Rebuild
- From: "Steve Bassi" <steve@xxxxxxxxx>
- Date: Sat Feb 1 21:21:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
----- Original Message -----
From: "Bruce Timberlake" <bruce@xxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Cc: <stephen@xxxxxxxxxxxxxxxx>
Sent: Sunday, February 02, 2003 3:40 AM
Subject: [cobalt-users] Re: Current RaQ4r Rebuild
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > I am looking for the best and most reliable, method of doing a
> > complete rebuild of a RaQ4r with no data to restore. Then update
> > it to latest patch level. I have tried a CD-Restore then manually
> > patching all the .pkg in order from the cobalt site, but my Web
> > Server stops at some stage with the Active Monitor reporting the
> > Web Service is stopped. It took me hours to patch it, and I'm
> > looking to save time on my next attempt.
>
> Something you might do is put all the PKG files in /home/packages on
> the server, then start installing them in order. Installation across
> the network can be flaky, especially with some of those 20+ MB PKG
> files.
>
> Also, with the RaQ 4, you do not have to reboot when it asks you to.
> I usually install all PKGs, then reboot once when they're all done.
>
You may want to try this script, which gets all the pakages from the sun
page and then installs them.
You may need to modify the script to suit you.
Bassi
#!/bin/sh
COBALTPAGE="http://sunsolve.sun.com/patches/cobalt/raq4.eng.html"
URLS=`wget -O - $COBALTPAGE | tac | grep "http://ftp.cobalt.sun.com" | sed
's/.*\<a href="//' | sed 's/".*//'`
cd /home/packages
for URL in $URLS; do
wget $URL
done
for URL in $URLS; do
FILE=`echo $URL | sed 's/.*\///'`
/usr/local/sbin/cobalt_upgrade $FILE
done