Configuring Redfish service

Redfish manages IBM Storage Scale System 6000 and IBM Storage Scale System Utility Node operations.

To configure Redfish service, complete the following steps:

  1. Configure a Redfish user.
    By default, the Redfish user is Administrator and the password is superuser, which is disabled. Therefore, you need to set a new password.
    Tip: You can set the system serial number as a new password, which is easy to remember.
    1. To connect the BMC/FSP network and make a curl patch call, run the following command from the management server:
      curl -u Administrator:superuser -k -s -X PATCH https://<BMC IP>/redfish/v1/AccountService/Accounts/1 -d '{"Password":"<New Password>"}' -H "content-type: application/json" --header 'If-Match: *' 
    2. Check whether the Redfish user is active by running the following command from the management server node:
      curl -u Administrator:<New Password> -k -s https://<BMC IP>/redfish/v1/AccountService/Accounts/1 | python3 -mjson.tool 
      A sample output is as follows:
       "Description": "Default Account", 
       "Enabled": true, 
       "Id": "1", 
       "Links": { 
       "Role": { 
       "@odata.id": "/redfish/v1/AccountService/Roles/Administrator" 
       } 
       }, 
       "Locked": false, 
       "Name": "Default Account", 
       "Password": null, 
       "PasswordChangeRequired": false, 
       "RoleId": "Administrator", 
       "UserName": "Administrator" 
  2. Use the Redfish crawler.
    A sample script is created to retrieve all endpoints that Redfish supports. Run the sample script from a node that can connect to the BMC/FSP network such as the management server node. Complete the following steps to run the script:
    1. Run the following command from the management server node:
      /opt/ibm/ess/tools/samples/redfish_crawler -u Administrator -p <New Password> <BMC IP> |& tee /tmp/redfish_endpoints.txt 

      This command takes a few minutes to complete. Meanwhile, you can redirect to a file tee in this command so it can be closely inspected.

    2. Check all discovered endpoints.
      grep Discovered /tmp/redfish_endpoints.txt 

      This command displays many lines that are related to the system information, such as power status, voltages, temperatures, fan speed.

    3. Gather all the BIOS settings.
      curl -u Administrator:<New Password> -k -s https://<BMC IP>/redfish/v1/Systems/Self/Bios | python3 -mjson.tool 

      This command displays all current BIOS settings in the output. Based on the output, in the upcoming releases possible changes can be done if anything is not recommended.