No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Pro X6000 Server iBMC (V300 to V369) User Guide 09

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Logging In to the Smart Provisioning Redfish Interface

Logging In to the Smart Provisioning Redfish Interface

Scenarios

Log in to the Redfish interface when you want to use Smart Provisioning through the Redfish interface.

This section uses the Google Chrome Postman extension program as an example to describe how to log in to the Smart Provisioning Redfish interface.

NOTE:
  • Do not restart the iBMC during the SP startup process.
  • If the iBMC is reset after SP is started, you need to log in to SP again.

Prerequisites

Conditions

  • The client (for example, local PC) is connected to the iBMC management network port.
  • Postman has been installed on the client that uses the Google Chrome browser.
NOTE:

For details about how to install Postman, see Huawei Server iBMC Redfish API Description.

Data

  • IP address of the iBMC management network port
  • iBMC user name and password

Procedure

  1. Run Postman.
  2. Create a session.
    1. Choose POST from the menu, as shown in Figure 8-6.
    2. Enter https://*.*.*.*/redfish/v1/SessionService/Sessions in the parameter text box.

      *.*.*.* indicates the iBMC management network port IP address.

      Figure 8-6 Setting parameters for creating a session

    3. Click the Body tab, select raw, and choose JSON (application/json) from the Text drop-down list, as shown in Figure 8-7.

      Figure 8-7 Setting parameters for creating a session

    4. In the text box on the Body tab, enter the request body.

      { 
          "UserName": "username", 
          "Password": "password" 
      }
      

      In the request body, username indicates the iBMC user name, and password indicates the password. Figure 8-8 shows an example.

      Figure 8-8 Setting parameters for creating a session

    5. Click Send.

      If the response code obtained in the Response area is 201, the session is established.

      Record the value of X-Auth-Token in the response message for subsequent operations.

  3. Perform operations on Smart Provisioning.
    1. Select Get from the menu.
    2. Enter https://*.*.*.*/redfish/v1/Managers/1/SPService in the parameter text box.

      *.*.*.* indicates the iBMC management network port IP address.

    3. On the Headers tab, add the X-Auth-Token parameter and its value (obtained in 2.e), as shown in Figure 8-9.

      Figure 8-9 Setting parameters for obtaining Smart Provisioning resources

    4. Click Send.

      If the returned response code is 200, the operation is successful.

      In the Response window, you can see the Smart Provisioning resources supported by the server.

Download
Updated: 2019-08-01

Document ID: EDOC1100019359

Views: 93183

Downloads: 98

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next