BMC Settings
175
Figure 9-
70
Virtual Media in KVM
9.28 Redfish
Redfish is a new management standard that uses the hypermedia RESTful interface to
express data. It is oriented to the model, can express the relationship between modern
system components and the semantics of services and components, and be easy to expand.
For servers that provide Redfish, the client can obtain the BMC information by sending HTTP
request and specify the operation for the BMC.
The client can access the Redfish service through the HTTP client. The following is the use
of curl in Linux to send the request to access redfish. The usual request operation is “GET”,
“PUT”, “POST”, “PATCH”, “DELETE” and so on. The sending and receiving data are all in json
format.
The username and password below must be BMC users with administrator privileges.
9.28.1 GET
The client gets the data of the specified URL via HTTP GET. The basic format is as follows:
curl -k -u username:password https://BMC_IP:8080/redfish/v1/Chassis/1
9.28.2 POST
The client sends data to the specified URL via HTTP POST, and the server is configured
according to the POST data. The basic format is as follows:
curl -k -u username:password https://BMC_IP:8080/redfish/v1/Systems/System1/