[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] OS Restore



Gavin Nelmes-Crocker wrote:
> 
> does anyone know a way to trigger a network restore remotely -
> on the basis that you have a bootp server permanently on line.
> 
> Can you run a command to make the next boot a network boot and do a
> reboot or power reset?

NOTE: The following information is unofficial, unsupported, and reveals
ways you can irreparably scramble your system if you're not careful. USE
AT YOUR OWN RISK AND DISCRETION!

Use the 'cmos' command (/usr/sbin/cmos). You can set the "default boot"
method to be "net" by doing (as root):

/usr/sbin/cmos -c defboot n

That sets the _default_ boot method to "network", and also assumes that
there will be an OSRestore server on the net when the server comes back
up. You would need to set the default boot method back to "disk" somehow
once the net booting is complete...  (do '/usr/sbin/cmos -h' for help on
other options).

And then just issue a "reboot" command to reboot the server. :)

Also, FYI, we are tinkering with remote OS restore capabilities in
Control Station. Not sure when it will be available, but it's a highly
requested feature...

-- 
Bruce Timberlake
Technology Engineer
Sun Cobalt Server Appliances
Sun Microsystems, Inc.

E: bruce.timberlake@xxxxxxx
U: http://www.sun.com/cobalt/