Category: Misc

Home / Category: Misc

3PAR Service Processor 5.x

In our previous post we went through the process of installing SSL Certificates on 3PAR Service Processor version 4.4.x. In this article we will tackle the same steps on the newer version of Service Processor 5.x which is slightly different than the previous one. In short, we will create a new certificate file, have it signed by our Certificate Authority, combine with the root (and eventually issuing authority) and install it on the Service Processor.

A user guide of HPE 3PAR Service Processor 5.x can be found here. At the time of writing I’m using Service Processor version 5.0.9.2-29072.

Creating a Certificate File Request (.CFR)

  1. Navigate to your Service Processor web application and log in with your admin account.
  2. Go to 3PAR Service Console and click on Settings
  3. Next to Application click on Edit
  4. Click on Certificate Signing Request
    SP Certificate Signing Request
  5. Fill in the required information about your Service Processor appliance
    SP Certificate Signing Request information
  6. Make sure to add extra SAN’s (Subject Alternate Names) so that your browser doesn’t flag the certificate as invalid. In my case I added the following:
    dns=STORCOMSP,dns=STORCOMSP.COM,ip=10.13.12.20
  7. Scroll down and click on Generate
  8. Copy the generated text, save it in a file and have it signed by your Certificate Authority. I usually save these kind of files as storcomsp_certrequest.csr
    SP Certificate Signing Request content

Importing Service Processor SSL Certificates

  1. Once your certificate request is signed, you will receive it back as .cer file.
  2. Next step is to have a combined certificate which contains the whole certificate chain. Assuming you already have the Root and the Intermediate (if available) Certificate.
  3. Open the signed SP certificate with a text editor and copy the content of the Intermediate and the root certificate.
  4. Basically your combined certificate file will look like this
    -----BEGIN CERTIFICATE-----
    <SP Signed certificate>
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    <CA Intermediate certificate>
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    <CA Root certificate>
    -----END CERTIFICATE-----
  5. Save the .cer file.
  6. Go back to Service Processor Console, click on Settings > Application and hit Edit.
  7. Click on Import Certificate to start importing the CA signed file.
    SP SSL Certificate import
  8. Copy the content of the combined .cer file (remember you saved it in step 5.)
  9. Paste the copied text to the Import window and hit Import.
  10. OK to start rebooting the Service Processor

After completing these steps your 3PAR service processor will reboot. It might take a couple of minutes before your console will be available. If everything went well your new certificate will be effective.

Any suggestion or question? Leave a reply below, or feel free to contact us. Make sure to subscribe to our mailing list to get the latest.

A CLI (Command Language Interpreter or Command Line Interface) is a program which handles the interface using text in lines (command lines). The usage of Command Lines dates back from from the mid-1960s where computer terminals were widely used as the standard technology.

Today, almost every platform or software’s fundamentals are based on the command line. Starting from Windows Server 2012, any Linux distribution or even computer or storage networks (SAN).

Below we will cover some command line commands which are essential for every Storage Administrator. If you think there’s more interesting to be added, feel encouraged to contact us.

Microsoft Windows Powershell

Determine a Virtual Machine’s underlying physical host (Command execution: Guest computer)

(get-item "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters").GetValue("HostName")

Get a VM’s .VHD(X) location files and .VHD details (Command execution: On the host computer)

Get-VM | Select-Object VMID | Get-VHD | Select-Object Path
Get-VHD <.VHDX file path>

Get a Host Adapter’s WWN (Command execution: On the host computer)

Get-InitiatorPort | Select-Object -Property PortAddress | Format-List -Property PortAddress

Get Host Adapter’s WWN remotely or for a whole cluster (Command Execution: On the host computer)

Get-InitiatorPort -CimSession <Computer name>
Get-ClusterNode | %{Get-InitiatorPort -cimsession $_.Name}

Show MPIO disk paths of a volume / vlun (Command execution: On the host computer)

(gwmi -Namespace root\wmi -Class mpio_disk_info).driveinfo | % {Write-host "Name: $($_.name) Paths: $($_.numberpaths)"}

Brocade OS CLI

Find a host Alias name using WWN

nodefind <Host's wwn>

Find a host alias using a wildcard ” ”

nsaliasshow | grep -i "<alias name>"

Display zone information of an alias

zoneshow | grep -i "<alias name>"

Display error information of a single port of all switch ports

porterrshow
porterrshow <port number>

Any suggestion or question? Leave a reply below, or feel free to contact us. Make sure to subscribe to our mailing list to get the latest.