ProLiant Servers (ML,DL,SL)
1752762 Members
5218 Online
108789 Solutions
New Discussion

Re: HPE STK 11.20 HPLPCFG and HPQLAREP deprecated (missing)

 
SOLVED
Go to solution
GregCabaj
Advisor

HPE STK 11.20 HPLPCFG and HPQLAREP deprecated (missing)

Hello Everyone, 

As per HPE Scripting Toolkit 11.20 Release Notes, the HBA management cli commands are now gone. 
If HPLPCFG and HPQLAREP are not there anymore, how can we automate the LUNs setup with STK? 

Release notes also mention that STK version 11.20 has got a new conrep for Gen10 servers, however I see no HBA/WWID configuration in the conrep.xml file. 

With a view of deployment of another 300 Gen10 hosts any help will be greatly appreciated. 

Thanks,
Greg

6 REPLIES 6
Jimmy Vance
HPE Pro

Re: HPE STK 11.20 HPLPCFG and HPQLAREP deprecated (missing)

I think those tools were for older HBA's and won't work with Gen10 cards. What model Fibre HBA's are you working with?

Have you looked at the features of the HPE RESTful tool  for deployemnt options? https://www.hpe.com/us/en/product-catalog/detail/pip.restful-interface-tool.7630408.html

 

 

No support by private messages. Please ask the forum! 
GregCabaj
Advisor

Re: HPE STK 11.20 HPLPCFG and HPQLAREP deprecated (missing)

The cards we use are: 
PN#:              Q0L14A
Card model:  HPE STOREFABRIC SN1200E 16 GB DUAL PORT HOST BUS ADAPTER FIBRE CHANNEL LOWPROFILE
This is Emulex 16Gb HBA

Today I will check what restful API has got for HBAs and reply here. 

Thanks. 

 

 

GregCabaj
Advisor

Re: HPE STK 11.20 HPLPCFG and HPQLAREP deprecated (missing)

I re-checked the RestfulAPI documentation on https://hewlettpackard.github.io/python-redfish-utility/#global-commands and there is no native support for HBAs. There is a lot going on for ILO, BIOS, Smart Array commands, but nothing dedicated for HBA, what would replace HPLPCFG. 

I have reviewed iloRest (most recent version 2.3.4-1) and the only mention of HBA, I found is in HpeServerBootSettings :

iLOrest > list
@odata.context=/redfish/v1/$metadata#HpeServerBootSettings.HpeServerBootSettings
@odata.etag=W/"25BDB1CAC161141414E468752ABA525D"
@odata.id=/redfish/v1/systems/1/bios/boot/settings/
@odata.type=#HpeServerBootSettings.v2_0_0.HpeServerBootSettings
BootSources=
UEFIDevicePath=UsbClass(0xFFFF,0xFFFF,0xFF,0xFF,0xFF)
BootString=Generic USB Boot
StructuredBootString=Generic.USB.1.1
BootOptionNumber=0009
CorrelatableID=UsbClass(0xFFFF,0xFFFF,0xFF,0xFF,0xFF)

UEFIDevicePath=PciRoot(0x2)/Pci(0x0,0x0)/Pci(0x0,0x0)/Fibre(0x50060E80074EFAE2,0x0)
BootString=Slot 2 Port 1 : HPE SN1200E2P 16Gb 2p FC HBA - FC
StructuredBootString=HD.Slot.2.2
BootOptionNumber=0001
CorrelatableID=PciRoot(0x2)/Pci(0x0,0x0)/Pci(0x0,0x0)
DefaultBootOrder=Cd
Usb
EmbeddedStorage
PcieSlotStorage
EmbeddedFlexLOM
PcieSlotNic
UefiShell
DesiredBootDevices=
Wwn=""
iScsiTargetName=""
Lun=""
CorrelatableID=""

Wwn=""
iScsiTargetName=""
Lun=""
CorrelatableID=""

Wwn=""
iScsiTargetName=""
Lun=""
CorrelatableID=""

Wwn=""
iScsiTargetName=""
Lun=""
CorrelatableID=""

Wwn=""
iScsiTargetName=""
Lun=""
CorrelatableID=""

Id=settings
Name=Boot Order Pending Settings
PersistentBootConfigOrder=Generic.USB.1.1
HD.Slot.2.2

This however does not match the LUNs configuration on the server.

Jimmy Vance
HPE Pro
Solution

Re: HPE STK 11.20 HPLPCFG and HPQLAREP deprecated (missing)

I have not worked with he stk and fibre HBA in some time.  I'll check with the stk/rest team and see what is available for working with them. I think in the past the card vendor may have supplied the CLI tools.

No support by private messages. Please ask the forum! 
GregCabaj
Advisor

Re: HPE STK 11.20 HPLPCFG and HPQLAREP deprecated (missing)

Thank you Sir. 
I will search for Emulex's tools, but any update from stk/rest team would be highly appreciated. 

GregCabaj
Advisor

Re: HPE STK 11.20 HPLPCFG and HPQLAREP deprecated (missing)

The solution which worked for me was to download hbacmd from Emulex (Broadcom) web site. 

https://www.broadcom.com/products/storage/fibre-channel-host-bus-adapters/onecommand-manager-centralized#downloads

In my case the hbacmd is for SLES: 

OneCommand Manager Core Application Kit (CLI) for Linux - SLES

Added it to HPE_STK 11.20 with below steps: 

1. Install OneCommand Manager CLI (hbacmd) on fresh test OS with SLES12 SP2 (test-sles12sp2)
When installing hbacmd, use the option to manage HBAs only locally. There is no need for remote management. 

2. Copy the hbacmd files from test-sles12sp2 to unpacked initrd.img file on your pxe server
Check also the libraries required by hbacmd. There will be a requirement for additional lpfc and pam libraries. 
Helpful commands will be : 
zypper search hba
zypper search elx
rpm -ql hba.*full_packagename
rpm -ql elx.*full_packagename
rpm -qaR hba.*full_packagename  # Check what the package requires
rpm -qaR hba.*full_packagename # Check what the package requires

3. Re-pack initrd.img and launch on destination server via PXE. 

Details of unpacking-repacking initrd.img can be found in: 
https://community.hpe.com/t5/ProLiant-Servers-ML-DL-SL/HPE-STK-11-20-on-DL360-Gen10-with-Solarflare-NICs/m-p/7036527#M165815