How to add controller software

678 views
Skip to first unread message

h...@energy.dk

unread,
Apr 22, 2018, 11:56:43 AM4/22/18
to esos-users
Hi
I have just compiled and copied the boot image to a USB pen, but I did not manage to add controller software to the boot image.
so what should I have done to get it to work.

The software I tried to add was the Storcli from Broadcom for the Broadcom 9400-16i

Link to the HBA card


I followed what it explained here under:

I copied the file to /home/hsv/esos.
But what files/folder should I copied???
The Zip file or the full unzipped or only the folder for Linux files?

I toke the link to the MegaCli and copied it with wget but that clearly did not work as you also can see here under.

*** Once the file(s) have been loaded and placed in the '/home/hsv/esos' directory, press ENTER to install the RAID controller CLI tools on your new ESOS USB drive. ***

### Checking downloaded packages...
/home/hsv/esos/MR_SAS_StorCLI_6-7-1-15-12-SCGCQ00852539.zip: File not found.
/home/hsv/esos/perccli-1.11.03-1_Linux_A00.tar.gz: File not found.
/home/hsv/esos/arcconf_v1_8_21375.zip: File not found.
/home/hsv/esos/hpacucli-9.40-12.0.x86_64.rpm: File not found.
/home/hsv/esos/hpssacli-2.30-6.0.x86_64.rpm: File not found.
/home/hsv/esos/linuxcli_V1.50.0_170105.zip: File not found.
/home/hsv/esos/3DM2_CLI-linux_10-2-2-1_9-5-5-1.zip: File not found.
/home/hsv/esos/8-07-14_MegaCLI.zip: File not found.

But as you can see I got non over to the USB-pen.

So what should I have done?

And a think more where can I see if the driver for 9400-16i is included and if it is the newest version? And if not how to update the driver?

Regards
Henning

Olivier

unread,
Apr 22, 2018, 11:49:46 PM4/22/18
to esos-users
If I remember correctly, there is no need to extract the zip.
However the filename of the StorCLI archive needs to match this pattern: *StorCLI*.zip

Rename STORCLI_SAS3.5_P6.zip to 9400-16i_STORCLI_SAS3.5_P6.zip and see if it works.

Marc Smith

unread,
Apr 23, 2018, 9:48:32 AM4/23/18
to esos-...@googlegroups.com
Or if you have a running system, just extract the archive on your
local machine, get the 'storcli64' binary and SCP it to the /opt/sbin/
directory on your ESOS machine.

--Marc
> --
> You received this message because you are subscribed to the Google Groups
> "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to esos-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

h...@energy.dk

unread,
Apr 23, 2018, 7:20:42 PM4/23/18
to esos-users
Hi Marc

The installation instruction says the following

To install StorCLI, perform the following steps:
1. Unzip the StorCLI package.
2. To install the StorCLI RPM, run the rpm -ivh <StorCLI-x.xx-x.noarch.rpm> command.
3. To upgrade the StorCLI RPM, run the rpm -Uvh <StorCLI-x.xx-x.noarch.rpm> command.
4. To create individual X64 and X86  RPM's run the shell file splitpackage.sh with release RPM file as parameter (./splitpackage.sh StorCLI-x.xx-x.noarch.rpm)

Can I run a rpm installation (1 and 2) as descriped on the ESOS boot image?

Regards
Henning

Marc Smith

unread,
Apr 23, 2018, 8:37:02 PM4/23/18
to esos-...@googlegroups.com
On Mon, Apr 23, 2018 at 7:20 PM, <h...@energy.dk> wrote:
> Hi Marc
>
> The installation instruction says the following
>
> To install StorCLI, perform the following steps:
> 1. Unzip the StorCLI package.
> 2. To install the StorCLI RPM, run the rpm -ivh <StorCLI-x.xx-x.noarch.rpm>
> command.
> 3. To upgrade the StorCLI RPM, run the rpm -Uvh <StorCLI-x.xx-x.noarch.rpm>
> command.
> 4. To create individual X64 and X86 RPM's run the shell file
> splitpackage.sh with release RPM file as parameter (./splitpackage.sh
> StorCLI-x.xx-x.noarch.rpm)

That would be for a RHEL-based system or something that supports
installing RPM's. For ESOS, to get the storcli64 file, you'd extract
the RPM packagefile: rpm2cpio StorCLI-x.xx-x.noarch.rpm | cpio -idmv

Then find storcli64 in the directory structure created from the above
command and SCP it to your ESOS host.

--Marc

h...@energy.dk

unread,
May 9, 2018, 5:50:56 PM5/9/18
to esos-users
Hi Marc

I get this error when I try to run the storcli64
[root@iscsi-san storcli]# ./storcli64 show
bash: ./storcli64: Permission denied

I found out that you have to give it Permission like this:
 chmod u+x storcli64

Regards
Henniing

Marc Smith

unread,
May 10, 2018, 9:34:05 AM5/10/18
to esos-...@googlegroups.com
Strange, I'd expect these lines in /etc/rc.d/rc.2 to take care of that:

--snip--
/bin/echo "Fixing /opt/sbin permissions..."
for i in $(/bin/ls /opt/sbin); do
if [ ! -x "/opt/sbin/${i}" ]; then
/bin/chmod +x /opt/sbin/${i}
fi
done
--snip--

This is in there because when injecting the RAID CLI tools using
Windows, the ext2 file system driver doesn't handle permissions
correctly (eg, execute). I assume you used Windows as the host to
create your USB flash drive? Or you installed it on a running ESOS
system and hadn't rebooted yet which wouldn't run the lines in the
rc.2 script.

--Marc

Henning Svane

unread,
May 10, 2018, 10:16:59 AM5/10/18
to esos-...@googlegroups.com
Hi Marc
If I remember right the problem is a 3. thing i think that I placed the folder outsite of /opt/sbin but i will loke it up later.



Med venlig hilsen

Henning Svane
You received this message because you are subscribed to a topic in the Google Groups "esos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/esos-users/_tQE1wagogg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to esos-users+...@googlegroups.com.

h...@energy.dk

unread,
May 11, 2018, 9:27:52 AM5/11/18
to esos-users
Hi Marc
I have now on the Master tried to copy in the files from storcli from windows with winscp
I have placed them in /opt/sbin/
/opt/sbin/MegaRAID/storcli

I have ensured that it is synchronised and the server has been rebooted.

[root@localhost storcli]# ls -l
total 16700
-rw-r--r--    1 root     root       8427168 Nov 22 07:41 storcli
-rw-r--r--    1 root     root       8668704 Nov 22 07:41 storcli64

But from what I can see the permissions has not been added.
So I have done it manually
[root@localhost storcli]# chmod +x storcli
[root@localhost storcli]# chmod +x storcli64
[root@localhost storcli]# ls -l
total 16700
-rwxr-xr-x    1 root     root       8427168 Nov 22 07:41 storcli
-rwxr-xr-x    1 root     root       8668704 Nov 22 07:41 storcli64

This was done on a Master downloaded the 10 of Maj

Regards
Henning

> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "esos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/esos-users/_tQE1wagogg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to esos-users+unsubscribe@googlegroups.com.

Marc Smith

unread,
May 11, 2018, 10:04:49 AM5/11/18
to esos-...@googlegroups.com
Your path is wrong... the full path to the StorCLI 64-bit executable is this:
/opt/sbin/storcli64

You have "/opt/sbin/MegaRAID/storcli/storcli64" so the "chmod +x
/opt/sbin/*" command doesn't set these as executable, nor would it be
found on the PATH in your shell / by using the 'hw_raid_cli.py'
script.

--Marc
>> You received this message because you are subscribed to a topic in the
>> Google Groups "esos-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/esos-users/_tQE1wagogg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to

h...@energy.dk

unread,
May 11, 2018, 10:51:00 AM5/11/18
to esos-users
Hi Marc

Ok thanks that was a easy:-)

Regards
Henning
Reply all
Reply to author
Forward
0 new messages