Install Raid Controller Driver In Redhat 7 Kickstart

Updating Drivers During Installation on AMD64 and Intel 64 Systems. Are You Unable to Boot With Your RAID Card? Sample Kickstart Configurations. The RNG daemon, is then designated for installation. Kickstart Add-ons 27. HP DL360 G5 and CentOS 7 (cciss RAID driver) 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. (1 reply) Is it possible to install CentOS 5 with a degraded RAID 1 array using kickstart? I have the kickstart file already created but the 'server' I want to use only has 1 hard drive in it at the moment. Perc 4/sc drivers for RedHat Linux 7.2 I have a Dell Poweredge 1600sc with Perc 4/SC RAID controller When I install RedHat Linux 7.2 it is unable to find the Drive which have already been configured. Boot from the USB flash drive and select Install CentOS 7 When the welcome screen of the CentOS installer appears, choose your language and just click on Continue CentOS installation is now similar to Fedora's one, where we have to complete all items before to be able to click on Begin Installation button.

31 thoughts on - LSI SATA MegaRaid & CentOS 7 Build 1511. Linux will only see storage on a megaraid thats configured as a logical unit (eg, put in a raid). A number of older storage and network drivers were purged from the kernel with the release of el7.

I'm attempting to install RHEL7 on an old HP ProLiant DL585 G2 server. I boot into the installer through optical media and everything loads correctly as far as I can tell, however the installer does not detect a disk. I suspect this is because the server is using an HP SmartArray P400 hardware raid controller, and the installer doesn't have a driver.

Apparently support for these old drivers (CCISS) was discontinued in favor of newer drivers (hpsa) which do not support the P400. This page links to a sourceforge with various drivers as a possible solution, but I'm unsure how to proceed from there, or if it's possible at all. I'm fairly inexperienced even using Linux, let alone administration. Can someone point me in the right direction?

Other Considerations

I'm trying to mimic an offsite environment that our code will be running on later. The install disk was given to us by the admins of the other environment, and has all the packages they are running. Communication is practically nonexistent, and we don't have much time to access the other environment once our window starts, so working out the kinks now is preferable.

That said, installing an older version of RHEL defeats our purposes. Currently this server is running CentOS 6.9, which I installed without any issues.

automaton
automatonautomaton

1 Answer

In large part, the answer comes from this forum post. I'll fill in some minor gaps for anyone with similar experience levels seeing this in the future.

As per the comments on the original question, before you start make sure your RAID is configured. You can access the UI by pressing F8 during system boot. It may be necessary to set the disk to RAID 0.

Boot from your installation media. With Install RHEL 7.x selected, press tab to edit the install options. Add hpsa.hpsa_simple_mode=1 and hpsa.hpsa_allow_any=1 to the options. (Simple Mode may or may not be necessary.) This allows the OS to access the hardware with its installed HPSA drivers as opposed to the CCISS drivers. Press enter to start installation.

Install as normal. When the system reboots after install it will fail, as it no longer has the boot options that let it use the RAID. Boot from the installation media again. Choose Troubleshooting. Select the Rescue a RHEL system and press tab, adding the same option(s) as before, and press enter.

Change to the installed system (from the rescue system you're currently running) with chroot /mnt/sysimage. Use nano or vim to edit the GRUB2 config file, e.g. run nano /etc/default/grub. One final time, add the option(s) from before to the GRUB_CMDLINE_LINUX entry. Save the file and exit. Remake GRUB2 with grub2-mkconfig -o /boot/grub2/grub.cfg.

Install Raid Controller Driver In Red Hat 7 Kickstarter

Install

Exit the shell and reboot your system. You may get a message about SElinux relabeling the first time it boots, which may or may not give progress indication. Give it a generous amount of time to complete.

Install Raid Controller Driver In Redhat 7 Kickstart 1

Congratulations, RHEL/CentOS 7 should be up and running!

It doesn't affect your running system, but if seeing the option on startup bugs you, you can remove the rescue image from your system as well.

automatonautomaton

Not the answer you're looking for? Browse other questions tagged centosrheldriverssystem-installation or ask your own question.

There are still old HP Generation 5 (G5) servers around. Unfortunately they are not supported with RHEL 7 anymore and need some tweeking to run. They also have some issues with ILO2 connectivity, which i discuss in a different post.

I’ll describe what i did to deploy RHEL 7 with Satellite 6.

Install Raid Controller Driver In Redhat 7 Kickstart Download

Issue

The RAID controller HP SmartArray P400(cciss) of the G5 Servers are not supported by RHEL 7 provided drivers (kernel modules) by default any more.

These controllers would be addressed through the cciss driver, which is not shipped with RHEL 7. The hpsa driver is only meant for newer versions of this RAID controller family.

Therefore installation (or booting) does not find any disk device to install on or to boot from.

Solution

To enable the hpsa driver to work with the older controller types as well, the driver is told to accept any controller. This is done by adding the following directive to the boot cmd: “hpsa.hpsa_allow_any=1”.

manual installation

In the thread [1] the Postby rusty3995 on2014/07/22 09:29:18 explains how to proceed, to install RHAL 7 (or centos 7) manually.

[1] https://www.centos.org/forums/viewtopic.php?f=49&t=47011#p201448

——- snip ————-

STEP 1:
At install press tab to get the install options and add “hpsa.hpsa_allow_any=1” to the end
Install as normal
When you reboot it will fail as it now can’t find the hard drives

STEP 2:
Boot from DVD into rescue mode, press tab to get the options and add “hpsa.hpsa_allow_any=1” to the end
change to the installed system

Code: Select all
chroot /mnt/sysimage

Then add “hpsa.hpsa_allow_any=1” to the grub2 cfg file at /etc/default/grub
remake grub 2

Code: Select all
grub2-mkconfig -o /boot/grub2/grub.cfg

reboot and should be fine
you may get a message about selinux relabeling

seems to be stable and updates ok
——- snip ————-

management tools

Doing so, you might still have issues with the management of the RAID controller from within RHEL 7. The management tools might not work correctly. To be honest i did not look into that, as my main goal was to get the servers running at all.

HP recently published MCP repository for CentOS 7. Which i did not look into either.
.. hpssacli might make array fail

installing G5 Server via Satellite 6

I’ve set up Satellite 6 and configured everything needed to discover new hosts which do PXE boot. The integrated capsule provides TFTP, DHCP, DNS, Puppet, Discovery and Pulp.

I tweeked the following provisioning templates (not knowing if they all are needed):

Kickstart default iPXE

Kickstart default PXELinux

Satellite Kickstart Default G5

As some of the Satellite Templates are locked i’ve cloned this template and made changes to the clone. You need to adjust the provisioning workflow to use the cloned template.

Discovery Red Hat kexec

I did not change anything in this template (yet) as it did not exist when i started with this project.

Controller

moving on

I’ve checked files manually in /var/lib/tftpboot/pxelinux.cfg. If the needed directive was missing on any reason i just added it with vi.

After adding the hpsa controller directive to the PXE templates, you are able to discover and to provision HP G5 Servers with an (old) raid controller SmartArray P400(cciss).