LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to setup HP Smart Array P431 card in Centos 6.4 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-setup-hp-smart-array-p431-card-in-centos-6-4-a-4175545810/)

Vernicronz 06-19-2015 03:56 AM

how to setup HP Smart Array P431 card in Centos 6.4
 
Hi ,

I am pretty new with this new hardware (HP Smart Array P431). I have fixed it in my server ProLiant DL580 Gen8 running Centos 6.4. On bios level it says "Smart Array P431 found on slot 3 and needs configuration". I am not too sure what drivers. When i try the drivers from http://h20564.www2.hp.com/hpsc/swd/p...&swEnvOid=4103

It doesn't quite work out as there is alot of failed dependencies like below .

root@xserv storagecontroller]# rpm -ivh kmod-hpsa-3.4.10-120.rhel6u6.x86_64.rpm
error: Failed dependencies:
kernel(_dev_info) = 0x9b3277f3 is needed by kmod-hpsa-3.4.10-120.rhel6u6.x86_64
kernel(dev_err) = 0x8502d858 is needed by kmod-hpsa-3.4.10-120.rhel6u6.x86_64
kernel(dev_printk) = 0xabd7b07b is needed by kmod-hpsa-3.4.10-120.rhel6u6.x86_64
kernel(dev_warn) = 0x7b274cdb is needed by kmod-hpsa-3.4.10-120.rhel6u6.x86_64

I am just wondering if there is any other way to make the server recognize the Smart Array P431 ?

My goal is to attach HP D2600 SAS Direct Attached Storage to the server. Kindly advise. Thanks in advance

berndbausch 06-19-2015 06:46 PM

This looks like a version mismatch.

Normally, hpsa should be in Centos. Try yum search hpsa.

John VV 06-19-2015 11:09 PM

Code:

rpm -ivh kmod-hpsa-3.4.10-120.rhel6u6.x86_64.rpm
you really need to use "yum" to install rpm's
it was created FOR solving the dependency issues

now

if this is a CentOS 6.4 and you are trying to install a 6.6 updated program , you WILL have issues
( 6.4 is MISSING the last TWO YEARS of security updates and fixes )
cent ONLY !!! supports the current minor version
CentOS 5.11 , 6.6 and 7.1

upgrade to 6.6
then see in this 6 update 6 driver installs

Soadyheid 06-21-2015 07:58 PM

HP SmartArrays are not configured in Linux, they (used to) be set up by an HP provided utility CD/DVD called SmartStart. Gen8 servers are different I as they have something called "Intelligent Provisioning". As I understand it, what used to be available on the CD/DVD is now available built in as firmware somewhere, check the guide below.

See the Intelligent provisioning user guide here.

See the Hardware settings on page 20 which has Array configuration as one of the options, you may want "customise" if you wanted to set up a root/mirror pair plus raid any other disks as one or more data volumes.

I've an old M370 G4 which, after configuring with the SmartStart CD, shows the volumes as /dev/cciss0, /dev/cciss1, etc, from Linux. You shouldn't need to look for any drivers, Proliants run Red Hat out of the box so Centos isn't a problem. (I've an old version on my G4)
Note: You can't access individual disks from the OS, only the RAID volume(s) as above.
Note also that the SmartArray card handles all the I/O, hot swaps and volume rebuilds so there's no processor overhead as in software RAIDS.

Hope that helps. :)

Play Bonny!

:hattip:

berndbausch 06-21-2015 08:22 PM

Quote:

Originally Posted by Soadyheid (Post 5380845)
HP SmartArrays are not configured in Linux, they (used to) be set up by an HP provided utility CD/DVD called SmartStart

This is not correct. You can set up your SmartArray from a running Linux system, either with CLI tools or the browser-based System Management Homepage.
Some rudimentary setup is also possible from the boot ROM; it depends on the Proliant generation and SmartArray how rudimentary that is.

Quote:

I've an old M370 G4 which, after configuring with the SmartStart CD, shows the volumes as /dev/cciss0, /dev/cciss1, etc, from Linux.
You shouldn't need to look for any drivers, Proliants run Red Hat out of the box so Centos isn't a problem. (I've an old version on my G4)
CCISS is now getting very old. If you have either relatively new hardware or a relatively new OS such as Centos 7, the hpsa driver should apply. SmartArray LUNs then show up as ordinary SCSI disks in Linux.
It is true that SmartArray drivers are available out of the box in all the server-oriented Linux distributions.

Soadyheid 06-22-2015 04:32 AM

@berndbausch
Quote:

This is not correct. You can set up your SmartArray from a running Linux system, either with CLI tools or the browser-based System Management Homepage.
I'm afraid I'd have to disagree with you on this point. The SmartArray is set up before you install an operating system so I fail to understand your "from a running system" statement. The System Management Homepage is an HP utility that again is only available on an installed running system.
You may well be correct in saying that you can access the SmartArray as you describe after an OS has been loaded, I have no experience of this.

All HP configurable items; SmartArray, iLO, possibly some HBAs, can also be accessed by function keys during POST.

Play Bonny!

:hattip:

Vernicronz 06-22-2015 05:06 AM

Hi All ,

Thanks so much for the advise. I did some troubleshooting and turns out to be the smart array p431 faulty.
am awaiting replacement and gonna try the solution below. I did try the driver given on the URL below - it upgraded the onboard smart array as well as the p431 from v1.62 to v2.62 - and yet on the HP intelligent provisioning window it shows p431 as having problem and not detecting the HP D2600 SAS Storage. Btw , the driver was installed from the OS. Will keep you posted on the progress... Thank you :)



HP Center says this ;
Upgrade Requirement:
Recommended - HP recommends users update to this version at their earliest convenience.

Important:
When booting a system running Red Hat Enterprise Linux 7.1 Operating System, the HP Smart Array controllers might not be recognized. This issue is due to changes in the OS where the sg driver is no longer loaded during system boot. The work around for this issue is to manually issue a "modprobe sg" command which should load the sg driver. After the sg driver is loaded, the /dev/sg* devices should be present and the sg driver can be used to access SCSI devices.


http://h20564.www2.hp.com/hpsc/swd/p...vOid=4176#tab4

John VV 06-22-2015 03:58 PM

be WARNED
you really can not use rhel7.1 instructions for a OLD rhel6.4 install

just like you can not use windows 8 guide for windows 7

berndbausch 06-23-2015 12:49 AM

Quote:

Originally Posted by Soadyheid (Post 5380965)
You may well be correct in saying that you can access the SmartArray as you describe after an OS has been loaded, I have no experience of this.

That's exactly what I'm saying, in response to your claim that "HP SmartArrays are not configured in Linux".

Vernicronz 06-23-2015 03:31 AM

Hi ... it's almost fixed - as in the HP D2600 is detected at BIOS level and i've created the RAIDs - 12 x 600 GB disk on RAID 6 - about 4.5 TB. Funny thing is - I still can't see the controller on "hpacucli" :(

Any advise how to solve this...

[root@mserv ~]# hpacucli ctrl all show config

Error: No controllers detected.

[root@m133 ~]#

Vernicronz 06-23-2015 04:11 AM

lets drop the above thread ---- i have solved it with

"hpssacli ctrl all show config"

i got it from http://downloads.linux.hp.com/SDR/re..._64/2015.06.0/ ( hpssacli-2.20-11.0.x86_64.rpm)


thanks alot to everyone :)
appreciate very much!!!


All times are GMT -5. The time now is 01:03 PM.