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:
- 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.
- 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: *' - Check whether the Redfish user is active by running the following command from the management
server
node:
A sample output is as follows:curl -u Administrator:<New Password> -k -s https://<BMC IP>/redfish/v1/AccountService/Accounts/1 | python3 -mjson.tool"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"
- To connect the BMC/FSP network and make a curl patch call, run the
following command from the management
server:
- 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:
- 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.txtThis command takes a few minutes to complete. Meanwhile, you can redirect to a file tee in this command so it can be closely inspected.
- Check all discovered endpoints.
grep Discovered /tmp/redfish_endpoints.txtThis command displays many lines that are related to the system information, such as power status, voltages, temperatures, fan speed.
- Gather all the BIOS
settings.
curl -u Administrator:<New Password> -k -s https://<BMC IP>/redfish/v1/Systems/Self/Bios | python3 -mjson.toolThis 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.
- Run the following command from the management server node: