HP HPE G2 Series User Manual page 78

Metered, switched, and metered & switched power distribution unit
Table of Contents

Advertisement

Prerequisites
Procedure
1. Enter the PDU IP address in Google Chrome and login to the PDU using the credentials.
2. Navigate to the Network Settings page and enable RESTapi Access Configuration.
3. Click Save, and then confirm and apply changes.
The PDU reboots.
4. Open POSTMAN app.
5. Add the basic authentication header that is required for all the query requests.
For GET request, enter the URL request, basic authentication header with username and password,
and then query the request.
For POST request, include the json object type with the basic authentication header.
a. Query the URL http://{pdu_ip} /redfish/v1/SessionService/Sessions , along with
the two headers (basic auth and json object type) and the following body:
{
"username":"admin",
"password":"123456789"
}
b. Use the X-Auth Token from the response body along with the other two headers and basic
authentication for any POST request.
For DELETE request, enter the URL for session or users you want to delete, along with the basic
authentication and send information.
Network Time Protocol and date/time settings
You can set the internal on the PDU either manually or by linking to a Network Time Protocol (NTP) server.
Procedure
1. Set the internal clock in one of the following ways:
Manually
Use the calendar icon to select the date or enter the date in YYYY-MM-DD format.
Enter the time in HH:MM:SS format, and then select the time format (for example 24-hour).
Link to a Network Time Protocol (NTP) server
78
Remote configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents