how to add 2nd boot device to eeprom resp. boot device list

how to add 2nd boot device to eeprom resp. boot device list

Post by Rolan » Fri, 01 Sep 2006 17:35:33


How do I add correctly a 2nd boot device? Is this directly possible
with eeprom, or must this be done at the {ok} prompt?

However: What must I add and how, that the system may automatically
reboot from "disk1:a" if "disk0:a" fails?

FYI: The system is mirrored my Veritas/Symantec Volume Manager 5.0 and
the boot disk is encapsulated and mirrored.

I really will appreciate any help!

Best regards,
Roland
 
 
 

how to add 2nd boot device to eeprom resp. boot device list

Post by Darren Dun » Sat, 02 Sep 2006 05:34:27


From ok prompt, use setenv:
setenv <key> <value>
example: ok setenv boot-device disk0 disk1

From OS, use 'eeprom':
eeprom <key>=<value>
example: # eeprom boot-device="disk0 disk1"


The OBP will attempt to open each device in the list sequentially. If
an open fails, it will try the next.

If the open succeeds but has later problems (like the disk isn't a boot
disk), then I think it will error at that point.

So most complete disk failures will allow the boot to failover.


So hopefully most of the time you're monitoring for failures and you can
correct the issues before the machine needs to reboot anyway.

--
Darren Dunham XXXX@XXXXX.COM
Senior Technical Consultant TAOS http://www.yqcomputer.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >