CLI tools not working

1,176 views
Skip to first unread message

JohnZ

unread,
Jul 11, 2017, 10:35:30 AM7/11/17
to esos-users
I just fresh install the newest 1.13 ESOS, and added the storcli and perccli to " /root/Downloads/esos-1.1.3" directory according to the installer instuction.  but the tui was unable to detect the LSI9286e and PERCH700.




[root@Backburner_burn esos-1.1.3]# ./install.sh
*** Enterprise Storage OS Install Script ***

### Checking for required tools...

### Verifying checksums...
esos-1.1.3.img.bz2: OK
esos-1.1.3.img.bz2: OK

### Here is a list of disk devices on this machine:
[0:0:0:0]    disk    ATA      Samsung SSD 850  2B6Q  /dev/sda 
[5:0:0:0]    cd/dvd  PLDS     DVD+-RW DS-8ABSH AD51  /dev/sr0 
[7:0:0:0]    disk    DS316F8  Volume---VOL#000 R001  /dev/sdb 
[7:0:1:0]    disk    SCST_BIO SANWORK_ESOS      321  /dev/sdc 
[7:0:1:1]    disk    SCST_BIO SAN_BAK           321  /dev/sdd 
[8:0:0:0]    disk    DS316F8  Volume---VOL#001 R001  /dev/sde 
[8:0:1:0]    disk    SCST_BIO SANWORK_ESOS      321  /dev/sdf 
[8:0:1:1]    disk    SCST_BIO SAN_BAK           321  /dev/sdg 
[9:0:0:0]    disk    SMI      USB DISK         1100  /dev/sdh 

### Please type the full path of your USB drive device node (eg, /dev/sdz):
/dev/sdh

### Proceeding will completely wipe the '/dev/sdh' device. Are you sure (yes/no)?
yes

### Writing esos-1.1.3.img.bz2 to /dev/sdh; this may take a while...
0+738021 records in
0+738021 records out
4000000000 bytes (4.0 GB) copied, 560.87 s, 7.1 MB/s

### It appears the image was successfully written to disk (no errors reported)!


*** If you would like to add any RAID controller management utilities, press ENTER to continue; otherwise press CTRL-C to quit, your ESOS USB drive install is complete. ***


### Broadcom/Avago/LSI Syncro/MegaRAID Controllers
### Required file: MR_SAS_StorCLI_6-7-1-15-12-SCGCQ00852539.zip
### Place downloaded file in this directory: /root/Downloads/esos-1.1.3

### Dell PERC Hardware RAID Controllers
### Required file: perccli-1.11.03-1_Linux_A00.tar.gz
### Place downloaded file in this directory: /root/Downloads/esos-1.1.3

### Adaptec AACRAID Controllers
### Required file: arcconf_v1_8_21375.zip
### Place downloaded file in this directory: /root/Downloads/esos-1.1.3

### HP Smart Array Controllers
### Required file: hpacucli-9.40-12.0.x86_64.rpm
### Place downloaded file in this directory: /root/Downloads/esos-1.1.3

### HP Smart Array Controllers (Gen8+)
### Required file: hpssacli-2.30-6.0.x86_64.rpm
### Place downloaded file in this directory: /root/Downloads/esos-1.1.3

### Areca RAID Controllers
### Required file: linuxcli_V1.50.0_170105.zip
### Place downloaded file in this directory: /root/Downloads/esos-1.1.3

### 3ware SATA/SAS RAID Controllers
### Required file: 3DM2_CLI-linux_10-2-2-1_9-5-5-1.zip
### Place downloaded file in this directory: /root/Downloads/esos-1.1.3

### Legacy Broadcom/Avago/LSI MegaCLI Tool (Special Use Only)
### Required file: 8-07-14_MegaCLI.zip
### Place downloaded file in this directory: /root/Downloads/esos-1.1.3


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


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

### Installing proprietary CLI tools...
Archive:  /root/Downloads/esos-1.1.3/MR_SAS_StorCLI_6-7-1-15-12-SCGCQ00852539.zip
   creating: cqAttachments/
   creating: versionChangeSet/
   creating: versionChangeSet/univ_viva_cli_rel/
  inflating: versionChangeSet/univ_viva_cli_rel/storcli_all_os.zip  
Archive:  versionChangeSet/univ_viva_cli_rel/storcli_all_os.zip
   creating: storcli_all_os/
   creating: storcli_all_os/EFI/
  inflating: storcli_all_os/EFI/license.txt  
  inflating: storcli_all_os/EFI/storcli.efi  
   creating: storcli_all_os/EFI/UDK/
  inflating: storcli_all_os/EFI/UDK/storcli.efi  
   creating: storcli_all_os/FreeBSD/
  inflating: storcli_all_os/FreeBSD/FreeBSD_readme.txt  
  inflating: storcli_all_os/FreeBSD/license.txt  
  inflating: storcli_all_os/FreeBSD/storcli.tar  
  inflating: storcli_all_os/FreeBSD/storcli64.tar  
   creating: storcli_all_os/Linux/
   creating: storcli_all_os/Linux-ppc/
  inflating: storcli_all_os/Linux-ppc/license.txt  
  inflating: storcli_all_os/Linux-ppc/storcli.tar  
  inflating: storcli_all_os/Linux/license.txt  
  inflating: storcli_all_os/Linux/LINUX_Readme.txt  
  inflating: storcli_all_os/Linux/storcli-1.15.12-1.noarch.rpm  
   creating: storcli_all_os/Solaris/
  inflating: storcli_all_os/Solaris/license.txt  
  inflating: storcli_all_os/Solaris/SOLARIS_Readme.txt  
  inflating: storcli_all_os/Solaris/storcli.pkg  
   creating: storcli_all_os/Sparc OEL/
  inflating: storcli_all_os/Sparc OEL/storcli64-1.15.12-1.sparc64.rpm  
   creating: storcli_all_os/Ubuntu/
  inflating: storcli_all_os/Ubuntu/read_me.txt  
  inflating: storcli_all_os/Ubuntu/storcli_1.15.12_all.deb  
   creating: storcli_all_os/Vmware/
   creating: storcli_all_os/Vmware-MN/
  inflating: storcli_all_os/Vmware-MN/license.txt  
  inflating: storcli_all_os/Vmware-MN/vmware-esx-storcli-1.15.12.vib  
  inflating: storcli_all_os/Vmware-MN/VMWARE_MN_Readme.txt  
   creating: storcli_all_os/Vmware-NDS/
  inflating: storcli_all_os/Vmware-NDS/license.txt  
  inflating: storcli_all_os/Vmware-NDS/vmware-esx-storcli-1.15.12.vib  
  inflating: storcli_all_os/Vmware-NDS/VMWARE_MN_NDS_Readme.txt  
  inflating: storcli_all_os/Vmware/license.txt  
  inflating: storcli_all_os/Vmware/read_me.txt.txt  
  inflating: storcli_all_os/Vmware/storcli.zip  
   creating: storcli_all_os/Windows/
  inflating: storcli_all_os/Windows/license.txt  
  inflating: storcli_all_os/Windows/storcli.exe  
  inflating: storcli_all_os/Windows/storcli64.exe  
  inflating: storcli_all_os/Windows/WIN_ReadMe.txt  
./opt/MegaRAID/storcli/libstorelibir-2.so.14.07-0
./opt/MegaRAID/storcli/storcli
./opt/MegaRAID/storcli/storcli64
29630 blocks
perccli-1.11.03-1.noarch.rpm
./opt/MegaRAID/perccli/libstorelibir-2.so.14.07-0
./opt/MegaRAID/perccli/perccli
./opt/MegaRAID/perccli/perccli64
24221 blocks
/root/Downloads/esos-1.1.3

### ESOS USB drive installation complete!
### You may now remove and use your ESOS USB drive. 


Thanks

Marc Smith

unread,
Jul 11, 2017, 10:40:26 AM7/11/17
to esos-...@googlegroups.com
Can you confirm the tools actually made it to the /opt/sbin/ location
on your instance? Also try this from the shell and make sure its not
an issue with the TUI parsing the output: hw_raid_cli.py
--list-controllers

If all that is good, try running the commands by hand... storcli64 /c0 show all


--Marc

On Tue, Jul 11, 2017 at 10:35 AM, JohnZ <jzz0...@gmail.com> wrote:
> I just fresh install the newest 1.13 ESOS, and added the storcli and perccli
> to " /root/Downloads/esos-1.1.3" directory according to the installer
> instuction. but the tui was unable to detect the LSI9286e and PERCH700.
>
>
>
>
> --
> 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.

JohnZ

unread,
Jul 11, 2017, 12:38:32 PM7/11/17
to esos-users
Thanks for reply.

I tried "hw_raid_cli.py --list-controllers" from shell, nothing happened.
I am not sure  whether the installer made it correct. I check the /opt/sbin directory, nothing there.
Do I need extract all the file before added them to the esos-1.13 directory?

JohnZ

unread,
Jul 11, 2017, 12:55:54 PM7/11/17
to esos-users

Marc Smith

unread,
Jul 11, 2017, 12:57:39 PM7/11/17
to esos-...@googlegroups.com
For some reason those two files didn't make it into /opt/sbin during
install so you can manually extract and put in /opt/sbin/ on your
running ESOS host. Let me know if you need a hand. I'll check this out
after to see if it was a one-off issue, or something wrong with the
installer script.

--Marc

JohnZ

unread,
Jul 17, 2017, 4:51:42 AM7/17/17
to esos-users

sorry for the delaying reply. after manually copy 5 file (perccli perccli64 storcli storcli64 and 1 .lib) into  /opt/sbin/ the TUI function working now. but perccli command not work in shell, the other 3 were OK.

Marc Smith

unread,
Jul 17, 2017, 9:27:31 PM7/17/17
to esos-...@googlegroups.com
"perccli64" should be the correct tool to use for Dell PERC RAID controllers ("perccli" is the 32-bit version). If that still doesn't work, maybe try re-extracting and ensure that the file is indeed a binary executable and uses dynamic linking: ldd /opt/sbin/perccli64

--Marc

To unsubscribe from this group and stop receiving emails from it, send an email to esos-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages