HP DL360 G5 and CentOS 7 (cciss RAID driver)

This email is not to request help, but just to post my findings in working
with kickstart and CentOS 7 and on how to incorporate a driver not included
in the base OS into a working kickstart file.

The history:
We have an OpenStack installation in our lab server (HP DL360 G5) and use a
combination of Katello and The Foreman to keep everything tied up
correctly. One of our tests required us to install the Juno version of
OpenStack and when doing so, we found out that this version only supported
CentOS 7. And when trying to install CentOS 7 on these machines, we found
out that our RAID controller cards HP Smart array P400i where dropped from
the drivers included in the OS. So for the last couple of days, I have been
looking for ways to include a new driver in the kickstart file to use at
installation and then at boot time.

Thanks to Montana Linux, I found out that ElRepo had created a kmod-cciss
driver that I needed, but there were no docs on how to incorporate this
driver into the kickstart file to boot using these RAID drivers.

I found several articles on how to create a driver disk (and did create
one) but could not make it work. Finally, I found an article from Red Hat
noting that during boot time, you can either install a driver disk, OR the
RPM directly! Great news.

It only took two minutes to change my PXE Linux provisioning template to
incorporate this change and boot the old hardware using CentOS 7:

default linux
label linux
kernel <%= @kernel %>
append initrd=<%= @initrd %>
inst.dd=http://katello/pulp/repos/Organization/Library/custom/Product/ElRepo_C7_x86_64/kmod-cciss-3.6.26-1.el7.elrepo.x86_64.rpm
ks=<%= foreman_url('provision')%> network ks.sendmac

Sources:
http://www.montanalinux.org/cciss-raid-controller-el70.html

http://www.emeneker.com/modx/index.php?id=26

Is there any way to add it in our iso instate in pxe.

··· On Tuesday, 4 November 2014 03:49:05 UTC+5:30, Ignacio Bravo wrote: > > This email is not to request help, but just to post my findings in working > with kickstart and CentOS 7 and on how to incorporate a driver not included > in the base OS into a working kickstart file. > > *The history:* > We have an OpenStack installation in our lab server (HP DL360 G5) and use > a combination of Katello and The Foreman to keep everything tied up > correctly. One of our tests required us to install the Juno version of > OpenStack and when doing so, we found out that this version only supported > CentOS 7. And when trying to install CentOS 7 on these machines, we found > out that our RAID controller cards HP Smart array P400i where dropped from > the drivers included in the OS. So for the last couple of days, I have been > looking for ways to include a new driver in the kickstart file to use at > installation and then at boot time. > > Thanks to Montana Linux, I found out that ElRepo had created a kmod-cciss > driver that I needed, but there were no docs on how to incorporate this > driver into the kickstart file to boot using these RAID drivers. > > I found several articles on how to create a driver disk (and did create > one) but could not make it work. Finally, I found an article from Red Hat > noting that during boot time, you can either install a driver disk, OR the > RPM directly! Great news. > > It only took two minutes to change my PXE Linux provisioning template to > incorporate this change and boot the old hardware using CentOS 7: > > default linux > label linux > kernel <%= @kernel %> > append initrd=<%= @initrd %> inst.dd= > http://katello/pulp/repos/Organization/Library/custom/Product/ElRepo_C7_x86_64/kmod-cciss-3.6.26-1.el7.elrepo.x86_64.rpm > ks=<%= foreman_url('provision')%> network ks.sendmac > > > > *Sources:* > http://www.montanalinux.org/cciss-raid-controller-el70.html > > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-driver-updates-performing-x86.html > http://www.emeneker.com/modx/index.php?id=26 > > http://serverfault.com/questions/480924/how-do-i-specify-a-driver-disk-image-that-is-on-the-local-cdrom > >

HI , how do we add it to the iso , I have a similar issue ,My ISO cd is not
able to detect the drive becuase of the raid controller

··· On Monday, November 3, 2014 at 10:19:05 PM UTC, Ignacio Bravo wrote: > > This email is not to request help, but just to post my findings in working > with kickstart and CentOS 7 and on how to incorporate a driver not included > in the base OS into a working kickstart file. > > *The history:* > We have an OpenStack installation in our lab server (HP DL360 G5) and use > a combination of Katello and The Foreman to keep everything tied up > correctly. One of our tests required us to install the Juno version of > OpenStack and when doing so, we found out that this version only supported > CentOS 7. And when trying to install CentOS 7 on these machines, we found > out that our RAID controller cards HP Smart array P400i where dropped from > the drivers included in the OS. So for the last couple of days, I have been > looking for ways to include a new driver in the kickstart file to use at > installation and then at boot time. > > Thanks to Montana Linux, I found out that ElRepo had created a kmod-cciss > driver that I needed, but there were no docs on how to incorporate this > driver into the kickstart file to boot using these RAID drivers. > > I found several articles on how to create a driver disk (and did create > one) but could not make it work. Finally, I found an article from Red Hat > noting that during boot time, you can either install a driver disk, OR the > RPM directly! Great news. > > It only took two minutes to change my PXE Linux provisioning template to > incorporate this change and boot the old hardware using CentOS 7: > > default linux > label linux > kernel <%= @kernel %> > append initrd=<%= @initrd %> inst.dd= > http://katello/pulp/repos/Organization/Library/custom/Product/ElRepo_C7_x86_64/kmod-cciss-3.6.26-1.el7.elrepo.x86_64.rpm > ks=<%= foreman_url('provision')%> network ks.sendmac > > > > *Sources:* > http://www.montanalinux.org/cciss-raid-controller-el70.html > > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-driver-updates-performing-x86.html > http://www.emeneker.com/modx/index.php?id=26 > > http://serverfault.com/questions/480924/how-do-i-specify-a-driver-disk-image-that-is-on-the-local-cdrom > >

Hi,
I work on exact same hardware and have faced exact same issue.
Managed to kickstart with 2 anaconda options "hpsa.hpsa_allow_mode=1
hpsa.hpsa etc…"
Ran those without anything else.
result: could sucessfully complete install, but clicking reboot at end of
installl, the servers hangs on a black screen, doing nothing or looping &
failing infinitely.

I will setup an http server tomorrow , and test adding the inst.dd=http
etc…
have P400i smart array hp raid controllers.
d be sooooo good:
I wanna test kubernetes, i have 10 dl360 g5 and it would be huge if i can
test scaling out on 10 physocal servers!
I'll write test results next week

··· Le lundi 3 novembre 2014 23:19:05 UTC+1, Ignacio Bravo a écrit : > > This email is not to request help, but just to post my findings in working > with kickstart and CentOS 7 and on how to incorporate a driver not included > in the base OS into a working kickstart file. > > *The history:* > We have an OpenStack installation in our lab server (HP DL360 G5) and use > a combination of Katello and The Foreman to keep everything tied up > correctly. One of our tests required us to install the Juno version of > OpenStack and when doing so, we found out that this version only supported > CentOS 7. And when trying to install CentOS 7 on these machines, we found > out that our RAID controller cards HP Smart array P400i where dropped from > the drivers included in the OS. So for the last couple of days, I have been > looking for ways to include a new driver in the kickstart file to use at > installation and then at boot time. > > Thanks to Montana Linux, I found out that ElRepo had created a kmod-cciss > driver that I needed, but there were no docs on how to incorporate this > driver into the kickstart file to boot using these RAID drivers. > > I found several articles on how to create a driver disk (and did create > one) but could not make it work. Finally, I found an article from Red Hat > noting that during boot time, you can either install a driver disk, OR the > RPM directly! Great news. > > It only took two minutes to change my PXE Linux provisioning template to > incorporate this change and boot the old hardware using CentOS 7: > > default linux > label linux > kernel <%= @kernel %> > append initrd=<%= @initrd %> inst.dd= > http://katello/pulp/repos/Organization/Library/custom/Product/ElRepo_C7_x86_64/kmod-cciss-3.6.26-1.el7.elrepo.x86_64.rpm > ks=<%= foreman_url('provision')%> network ks.sendmac > > > > *Sources:* > http://www.montanalinux.org/cciss-raid-controller-el70.html > > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-driver-updates-performing-x86.html > http://www.emeneker.com/modx/index.php?id=26 > > http://serverfault.com/questions/480924/how-do-i-specify-a-driver-disk-image-that-is-on-the-local-cdrom > >