Nathan Milford wrote, On 01/24/2010 01:10 PM:
> I may have missed it in my searches, but
> 
> Anyone ever find a way to configure PERC from a Kickstart script?
> 
> I imagine it would require somehow getting megacli available to the %pre
> environment.
> 
> Anyone achieved this before?

Nathan,

I've got a SUSE SLES10 deployment DVD (and USB key) that i'm currently
lazy on and just boot 'rescue' mode where i have scripts in /MegaRAID/
that call megacli and megarc (located in /MegaRAID) for PERC[456]
configurations.

I do that before the AutoYast autoconfiguration instead of during it,
because it's not high enough priority at this point amongst the
myriad other issues i've got.

What you have to worry about if you do make PERC mods live,
is forcing the system to reprobe the SCSI bus.  Take a look
at rescan_scsi_bus (http://www.garloff.de/kurt/linux/) for
a simple helper (you may need to alter defaults to scan
more buses/adapters/luns).  If you've booted with a PERC
with 4 VD's configured and you re-configure it with 6 VDs,
you may have to do some work to figure out which new scsi
blkdevices are correct.

So, again, it's easiest to do the reconfig, reboot and work
from there to avoid confusion.  (but the distinct advantage
and the reason i do it by DVD is to ensure a consistent and
correct configuration is deployed, rather than relying on
the end-user to do the right steps in the BIOS, *AND* because,
as i posted in an earlier thread, if you change certain
parameters in the BIOS and do them in different orders you
end up with differing configurations on different machines
which won't work for DRBD setups)

--stephen

> _______________________________________________
> Linux-PowerEdge mailing list
> [email protected]
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to