Configuring logical drives under PRAID CP400i remotely via Fujitsu iRMC REST API

My blog entry, Fujitsu PRIMERGY: Configuring RAID via iRMC REST API, explains how to use iRMC REST API to configure logical drives with the supported RAID cards. The JSON file I showed in my blog post as an example should work for all supported Fujitsu RAID cards. However, in my experience, it may not work with PRAID CP400i.

When I performed a RAID 0 logical drive creation with four HDDs under PRAID CP400i on RX4770 M2 or RX2530 M4 using the following JSON file, it failed with an error ("input parameters are invalid") even though it worked fine with other RAID cards like PRAID EP400i:

{
  "Server":{
    "HWConfigurationIrmc":{
      "@Processing":"execute",
      "Adapters":{
        "RAIDAdapter":[
          {
            "@AdapterId":"RAIDAdapter0",
            "@ConfigurationType":"Addressing",
            "Arrays":{
              "Array":[
                {
                  "@Number":0,
                  "@ConfigurationType":"Setting",
                  "PhysicalDiskRefs":{
                    "PhysicalDiskRef":[
                      {
                        "@Number":"0"
                      },
                      {
                        "@Number":"1"
                      },
                      {
                        "@Number":"2"
                      },
                      {
                        "@Number":"3"
                      }
                    ]
                  }
                }
              ]
            },
            "LogicalDrives":{
              "LogicalDrive":[
                {
                  "@Number":0,
                  "@Action":"Create",
                  "RaidLevel":"0",
                  "ArrayRefs":{
                    "ArrayRef":[
                      {
                        "@Number":0
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      "@Version":"1.00"
    },
    "@Version":"1.01"
  }
}

Here is the session log with the error.

{
  "SessionLog":{
    "Id":2,
    "Tag":"",
    "WorkSequence":"applyProfile",
    "Entries":{
      "Entry":[
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"CreateSession: Session 'applyProfile' created with id 2"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"AttachWorkSequence: Attached work sequence 'applyProfile' to session 2"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"LCMScheduler: Launch ApplyProfileParameters"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"ValidateProfile: Profile successfully validated"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"ApplyProfileParameters: Sub profile 'BiosConfig' not found"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"ApplyProfileParameters: Sub profile 'IrmcConfig' not found"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"ApplyProfileParameters: Sub profile 'AdapterConfigIrmc' not found"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"ApplyProfileParameters: Sub profile 'OSInstallation' not found"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"ApplyProfileParameters: Sub profile 'HWConfiguration' not found"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"FindSubProfile: Sub profile 'HWConfigurationIrmc' found"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"LOG-1-HWConfigurationIrmc: Start processing of Sub profile 'HWConfigurationIrmc'"
        },
        {
          "@date":"2018\/11\/26 18:07:20",
          "#text":"createRaidDatabase: System PowerOn by OOB Raid Config"
        },
        {
          "@date":"2018\/11\/26 18:07:25",
          "#text":"createRaidDatabase: PowerOn delay 176 sec"
        },
        {
          "@date":"2018\/11\/26 18:10:21",
          "#text":"createRaidDatabase: Wait for BIOS POST in Progress"
        },
        {
          "@date":"2018\/11\/26 18:10:26",
          "#text":"createRaidDatabase: BIOS POST operation is completed"
        },
        {
          "@date":"2018\/11\/26 18:10:26",
          "#text":"createRaidDatabase: RAID Controller check start"
        },
        {
          "@date":"2018\/11\/26 18:10:46",
          "#text":"createRaidDatabase: Get RAID controller information start [RAID controller count = 1 ]"
        },
        {
          "@date":"2018\/11\/26 18:10:56",
          "#text":"createRaidDatabase: Get RAID controller information complete"
        },
        {
          "@date":"2018\/11\/26 18:10:56",
          "#text":"createLogicalDrive: drv[0] Create Drive [RAID Level = 0]"
        },
        {
          "@date":"2018\/11\/26 18:10:58",
          "#text":"createLogicalDrive: drv[0] Create Drive failed: code = 0x3 : input parameters are invalid"
        },
        {
          "@date":"2018\/11\/26 18:10:58",
          "#text":"LOG-2-HWConfigurationIrmc-Error: Finished processing of Sub profile 'HWConfigurationIrmc' with status 'Error'"
        },
        {
          "@date":"2018\/11\/26 18:10:58",
          "#text":"LCMScheduler: Terminated processing of linked activity list due to execution error"
        },
        {
          "@date":"2018\/11\/26 18:10:58",
          "#text":"LCMScheduler: LCM object is being destroyed as automatic termination was configured"
        },
        {
          "@date":"2018\/11\/26 18:10:58",
          "#text":"TerminateSession: 'applyProfile' is being terminated"
        }
      ]
    }
  }
}

With some trial-and-error experiments, I found out that the Stripe parameter was needed in order for the above mentioned JSON file to work with PRAID CP400i. Below is the one that worked for PRAID CP400i.

{
  "Server":{
    "HWConfigurationIrmc":{
      "@Processing":"execute",
      "Adapters":{
        "RAIDAdapter":[
          {
            "@AdapterId":"RAIDAdapter0",
            "@ConfigurationType":"Addressing",
            "Arrays":{
              "Array":[
                {
                  "@Number":0,
                  "@ConfigurationType":"Setting",
                  "PhysicalDiskRefs":{
                    "PhysicalDiskRef":[
                      {
                        "@Number":"0"
                      },
                      {
                        "@Number":"1"
                      },
                      {
                        "@Number":"2"
                      },
                      {
                        "@Number":"3"
                      }
                    ]
                  }
                }
              ]
            },
            "LogicalDrives":{
              "LogicalDrive":[
                {
                  "@Number":0,
                  "@Action":"Create",
                  "RaidLevel":"0",
                  "ArrayRefs":{
                    "ArrayRef":[
                      {
                        "@Number":0
                      }
                    ]
                  },
                  "Stripe":{
                    "@Unit":"KB",
                    "#text":64
                  }
                }
              ]
            }
          }
        ]
      },
      "@Version":"1.00"
    },
    "@Version":"1.01"
  }
}

As you can see, the only different is the Stripe parameter for the logical drive.

$ diff raid0.json raid0_not_work_with_praid_cp400i.json
46,49d45
<                   },
<                   "Stripe":{
<                     "@Unit":"KB",
<                     "#text":64

Fujitsu ServerView Agents 8.40.12 for Ubuntu

I have ported ServerView Agents 8.40.12 for Linux to Ubuntu.

Here are the packages. eecd and eecd_mods_src are combined into serverveiw-eecd, so it has both.

  • serverview-connectorservice_2.22.00-01_amd64.deb
  • serverview-eecd_8.40-12_amd64.deb
  • serverview-agents_8.40-12_amd64.deb
  • serverview-ssmwebui_8.40-12_all.deb

Below are some screenshots.

As always. I can't distribute the packages. If you need them, please ask your regional Fujitsu support. They may have an official one for Ubuntu.

If you are a North American Fujitsu customer, please open a case with Fujitsu America and request the packages. I may be able to provide them. Please understand that Fujitsu does not officially support ServerView for Ubuntu, so they will be provided as-is. Support is on a best-effort basis. If that is fine with you, I will provide the packages via your Fujitsu America Service Request.

Fujitsu ServerView RAID Manager 6.6.11 for Ubuntu

I have created ServerView RAID Manager 6.6.11 package for Ubuntu (serverview-raid-manager_6.6-11_amd64.deb). This is mainly for my Ubuntu 16.04 servers, but it works on 14.04 and 18.04.

I can't distribute the package. If you need it, please ask your regional Fujitsu support. They may have an official one for Ubuntu.

If you are a North American Fujitsu customer, please open a case with Fujitsu America and request the package. I may be able to provide it. Please understand that Fujitsu does not officially support ServerView for Ubuntu, so this will be provided as-is. Support is on a best-effort basis. If that is fine with you, I will provide the package via your Fujitsu America Service Request.

Fujitsu World Tour 2018 in New York

Fujitsu World Tour 2018 will be held in New York, USA on May 30th, 2018. We will have Keynotes from our CEO and Micosoft, Breakout Sessions on AI, Cloud, Security, etc., Expert Talks, and Exhibitions. I will be there to show our enterprise products like PRIMERGY, PRIMEQUEST, and ETERNUS AF All-flash Storage, and provide demos on ServerView Infrastructure Manager (ISM) software with PRIMERGY and Fujitsu ToR switch.

If you have time, please come see Fujitsu solutions and products, and meet Fujitsu experts. I will be at booth 17.

Fujitsu World Tour 2018 New York

https://www.fujitsu.com/us/microsite/world-tour-2018/index.html

Fujitsu Custom ESXi 6.0 U3e Released

Fujitsu has released the latest ESXi 6.0 custom image (ESXi 6.0 U3e Build 7967664, Fujitsu v382-1). You can download the ISO image and the offline bundle from My VMware.

Fujitsu ServerView RAID Manager 6.6.5 for Ubuntu

I have updated ServerView RAID Manager on my Ubuntu 16.04.4 servers to 6.6.5 (serverview-raid-manager_6.6-5_amd64.deb) that I ported.

I can't distribute the package. If you need it, please ask your regional Fujitsu support. They may have an official one for Ubuntu.

If you are a North American Fujitsu customer, please open a case with Fujitsu America and request the package. I may be able to provide it. Please understand that Fujitsu does not officially support ServerView for Ubuntu, so this will be provided as-is. Support is on a best-effort basis. If that is fine with you, I will provide the package via your Service Request.

Fujitsu iRMC HTML5 Console

Sometimes our customers ask if there is an alternative to Java-based iRMC Advanced Video Redirection (AVR). The answer is YES. iRMC S4 and S5 support HTML5-based remove KVM. To use the HTML5-based console, you just need to enable the HTML5 viewer option

  • iRMC S5
  • Login to iRMC S5 GUI, and go to Settings --> Services --> Advanced Video Redirection (AVR). Check the HTML5 Viewer option, and click Apply.
  • iRMC S4
  • Login to iRMC S4 GUI, and go to Console Redirection --> Video Redirection. Check the HTML5 Viewer Enabled option, and click Apply.

Once the HTML5 console is enable, you can launch iRMC AVR in HTML5 mode.

As always, you can automate the process. To do that, you can use Fujitsu SCCI. The SCCI code for the iRMC AVR mode is "0x1633", so if you want to use HTML5 instead of Java, create the following XML request file:

$ vi irmc_avr_mode.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CMDSEQ>
<!-- 0: Java, 1: HTML5 -->
<CMD Context="SCCI" OC="ConfigSpace" OE="1633" OI="0" Type="SET">
  <DATA Type="xsd::integer">1</DATA>
</CMD>
</CMDSEQ>

Then send the XML file to the iRMC config interface.

$ curl -u admin:admin --data @irmc_avr_mode.xml http://<iRMC IP address>/config
<?xml version="1.0" encoding="UTF-8"?>
<Status>
<Value>0</Value>
<Severity>Information</Severity>
<Message>No Error</Message>
</Status>

Good Bye, Folks!

As you may have heard, Fujitsu has completely discontinued Data Center Products and Solutions business in North America on April 1st, 2021. ...