Hi, using this kind of script to comfigure raid1 during os installation.
Put it in pre.rh script. Did some improvents, using wget instead if ftp.
Regards,
Igor
28 февр. 2014 г. 21:00 пользователь <xcat-user-requ...@lists.sourceforge.net>
написал:
> Send xCAT-user mailing list submissions to
> xcat-user@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> or, via email, send a message with subject or body 'help' to
> xcat-user-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
> xcat-user-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of xCAT-user digest..."
>
>
> Today's Topics:
>
> 1. setup RAID controller before installing OS (Stagneth, Andre)
> 2. Re: setup RAID controller before installing OS (Jonathan Mills)
> 3. Re: setup RAID controller before installing OS (Russell Jones)
> 4. Interactive install (David Johnson)
> 5. Re: Interactive install (Jarrod B Johnson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 28 Feb 2014 16:35:13 +0000
> From: "Stagneth, Andre" <andre.stagn...@hp.com>
> Subject: [xcat-user] setup RAID controller before installing OS
> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
> Message-ID:
> <
> 89c2a05073bb474f9f274fec92f3bf87713b5...@g4w3220.americas.hpqcorp.net>
>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
> Is there a possibility to integrate a RAID configuration of LSI Controller
> before installation the OS (SLES11).
>
>
> MegaCli64 cfgclr force a0
> MegaCli64 -cfgforeign -clear -a0
> MegaCli64 -CfgLdAdd -r1[$ENC:1,$ENC:2,$ENC:3,$ENC:4] WB RA Cached
> CachedBadBBU -Cache -a0
>
> (where $ENC is set to the enclosure number ? use ?./MegaCli64 ?pdlist ?a0?
> to find it)
> MegaCli64 -CfgCacheCadeAdd -r0 -Physdrv[$ENC:0] WT a0
> MegaCli64 -LDSetProp NORA ?L1 -a0
>
>
> Thanks in advance,
> Andr?
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Fri, 28 Feb 2014 11:45:12 -0500
> From: Jonathan Mills <jonmi...@renci.org>
> Subject: Re: [xcat-user] setup RAID controller before installing OS
> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
> Message-ID: <5310bd18.8090...@renci.org>
> Content-Type: text/plain; charset="windows-1252"; format=flowed
>
> I've briefly looked into this.
>
> You can't do it within a kickstart's %pre section because the
> environment doesn't have enough libraries loaded to allow MegaCli to run.
>
> You can do it within a kickstart's %post section, which means you can
> create raid volumes for secondary drives, and format those. But you
> still have to have something like a /dev/sda to begin with.
>
> Obviously, it's also easy to do this with an xCAT postbootscript, and
> add the script to the postscripts table or the osimage table. That's
> what I currently do to create all my secondary drives.
>
> If you want to use MegaCli to create all of the raid disks though, I
> imagine you'd need to boot off the Genesis kernel first. Perhaps as
> part of the node discovery process.
>
> On 02/28/2014 11:35 AM, Stagneth, Andre wrote:
> > Hello,
> >
> > Is there a possibility to integrate a RAID configuration of LSI
> > Controller before installation the OS (SLES11).
> >
> > MegaCli64 cfgclr force a0
> >
> > MegaCli64 -cfgforeign -clear -a0
> >
> > MegaCli64 -CfgLdAdd -r1[$ENC:1,$ENC:2,$ENC:3,$ENC:4] WB RA Cached
> > CachedBadBBU -Cache -a0
> >
> > (where $ENC is set to the enclosure number ? use ?./MegaCli64 ?pdlist
> > ?a0? to find it)
> >
> > MegaCli64 -CfgCacheCadeAdd -r0 -Physdrv[$ENC:0] WT a0
> >
> > MegaCli64 -LDSetProp NORA ?L1 -a0
> >
> > Thanks in advance,
> >
> > Andr?
> >
>
> --
> Jonathan Mills
> Systems Administrator
> Renaissance Computing Institute
> UNC-Chapel Hill
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 28 Feb 2014 13:13:12 -0600
> From: Russell Jones <russell-l...@jonesmail.me>
> Subject: Re: [xcat-user] setup RAID controller before installing OS
> To: <xcat-user@lists.sourceforge.net>
> Message-ID: <7dea061aa37171ea72e5becaf7509...@eggycrew.com>
> Content-Type: text/plain; charset="utf-8"
>
>
>
> We do exactly this using runimage's first. We just chain it so that
> the nodes configure their controller and partitions how we need it,
> reboot, then either install / download the OS
>
> On 28.02.2014 10:45,
> Jonathan Mills wrote:
>
> > I've briefly looked into this.
> >
> > You can't
> do it within a kickstart's %pre section because the
> > environment
> doesn't have enough libraries loaded to allow MegaCli to run.
> >
> > You
> can do it within a kickstart's %post section, which means you can
> >
> create raid volumes for secondary drives, and format those. But you
> >
> still have to have something like a /dev/sda to begin with.
> >
> >
> Obviously, it's also easy to do this with an xCAT postbootscript, and
> >
> add the script to the postscripts table or the osimage table. That's
> >
> what I currently do to create all my secondary drives.
> >
> > If you want
> to use MegaCli to create all of the raid disks though, I
> > imagine
> you'd need to boot off the Genesis kernel first. Perhaps as
> > part of
> the node discovery process.
> >
> > On 02/28/2014 11:35 AM, Stagneth, Andre
> wrote:
> >
> >> Hello, Is there a possibility to integrate a RAID
> configuration of LSI Controller before installation the OS (SLES11).
> MegaCli64 cfgclr force a0 MegaCli64 -cfgforeign -clear -a0 MegaCli64
> -CfgLdAdd -r1[$ENC:1,$ENC:2,$ENC:3,$ENC:4] WB RA Cached CachedBadBBU
> -Cache -a0 (where $ENC is set to the enclosure number - use "./MegaCli64
> -pdlist -a0" to find it) MegaCli64 -CfgCacheCadeAdd -r0 -Physdrv[$ENC:0]
> WT a0 MegaCli64 -LDSetProp NORA -L1 -a0 Thanks in advance, Andr?
> >
> > --
>
> > Jonathan Mills
> > Systems Administrator
> > Renaissance Computing
> Institute
> > UNC-Chapel Hill
> >
> >
>
> ------------------------------------------------------------------------------
> >
> Flow-based real-time traffic analytics software. Cisco certified
> tool.
> > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow
> Analyzer
> > Customize your own dashboards, set traffic alerts and
> generate reports.
> > Network behavioral analysis & security monitoring.
> All-in-one tool.
> >
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> [1]
> > _______________________________________________
> > xCAT-user
> mailing list
> > xCAT-user@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/xcat-user [2]
>
>
>
>
> Links:
> ------
> [1]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> [2]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 4
> Date: Fri, 28 Feb 2014 14:52:15 -0500
> From: David Johnson <david_john...@brown.edu>
> Subject: [xcat-user] Interactive install
> To: "xcat-user@lists.sourceforge.net"
> <xcat-user@lists.sourceforge.net>
> Message-ID: <756cb1bb-f287-4bf2-aaf3-294dd4ede...@brown.edu>
> Content-Type: text/plain; charset=us-ascii
>
> We've provisioned a lot of diskless nodes and a few disked installs, but
> right now I have a one-off install on a machine with no DVD drive. It
> needs software raid for the boot disk and other details that don't make a
> normal nodeset osimage install seem practical. Any suggestions how to
> simply boot install media with pxe and manually control the install?
>
> Thanks,
> -- ddj
> Dave Johnson
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 28 Feb 2014 15:00:01 -0500
> From: Jarrod B Johnson <jbjoh...@us.ibm.com>
> Subject: Re: [xcat-user] Interactive install
> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
> Message-ID:
> <
> ofd132e570.40b875e9-on85257c8d.006dbfb9-85257c8d.006dd...@us.ibm.com>
> Content-Type: text/plain; charset="us-ascii"
>
>
> After the nodeset, edit /tftpboot/xcat/xnba/nodes/<nodename>.* and remove
> the bits where it points to a kickstart file or whatever. Then it will be
> interactive and manual when it pxe boots.
>
>
>
> From: David Johnson <david_john...@brown.edu>
> To: "xcat-user@lists.sourceforge.net"
> <xcat-user@lists.sourceforge.net>
> Date: 02/28/2014 02:55 PM
> Subject: [xcat-user] Interactive install
>
>
>
> We've provisioned a lot of diskless nodes and a few disked installs, but
> right now I have a one-off install on a machine with no DVD drive. It
> needs software raid for the boot disk and other details that don't make a
> normal nodeset osimage install seem practical. Any suggestions how to
> simply boot install media with pxe and manually control the install?
>
> Thanks,
> -- ddj
> Dave Johnson
>
> ------------------------------------------------------------------------------
>
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: graycol.gif
> Type: image/gif
> Size: 105 bytes
> Desc: not available
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
>
> ------------------------------
>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
> End of xCAT-user Digest, Vol 54, Issue 36
> *****************************************
>
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user