HCP System Management Help


Generating a chargeback report

In the System Management Console, you can use either the Chargeback page or the Reports panel on the Storage page to generate chargeback reports for HCP tenants and their namespaces.

This section explains how to use the Chargeback page to generate chargeback reports. For instructions on using the Reports panel on the Storage page to generate chargeback reports, see Monitoring storage pools and components.

For each chargeback report you generate, you use the controls on the Chargeback page to specify the start and end dates of the report period, select the reporting interval, and then generate and download the chargeback report.

The report period is the period of time for which you want to generate tenant and namespace storage usage statistics. To define a report period, you specify the start and end dates for the time period covered by the report. For any given report period, the earliest start date you can specify is either 30 days earlier than the current date or the day on which the HCP system was installed (if the system was installed less than 30 days ago). The latest report period end date that you can specify is the current date. You can use the same date as the start date and the end date of the report period. In this case, the report period starts at 12:00:00 a.m. on the specified date and ends at 11:59:59 p.m. on that date.

Once you define the report period on the Chargeback page, you can select the appropriate reporting interval to generate an hourly, daily, or total storage usage report for the specified report period:

An hourly storage usage report includes cumulative, hourly storage usage statistics for each hour of the report period for which storage usage statistics were available for all or part of the hour.

If the report period starts on the day on which the HCP system was installed, the first set of statistics in the report are the statistics that accumulated between the time when the system came online and the end of the last minute in that hour. For example, if the system came online at 2:30:20 p.m. on July 25th, and the report period starts on July 25th, the first set of statistics in the report are the statistics that accumulated between 2:30:20 p.m. and 2:59:59 p.m. on July 25th.

If the review period ends on the current date, the last set of statistics in the report are the statistics that accumulated from the beginning of the current hour to the time at which you requested the chargeback report. For example, if you requested an hourly storage usage report at 2:30:15 p.m., the last set of statistics in the report would be the statistics that accumulated between 2:00:00 p.m. and 2:30:15 p.m.

A daily storage usage report includes cumulative, daily storage usage statistics for each day of the report period for which storage usage statistics were available for all or part of the day.

Each day of the report period is defined as the time period between 12:00:00 a.m. and 11:59:59 p.m. on a specific date that’s in the range of dates that’s defined for the report period.

If the report period starts on the day on which the HCP system was installed, the first set of statistics in the report are the statistics that accumulated between the time when the system came online and 11:59:59 p.m. on that day. For example, if the system came online at 2:30:20 p.m. on July 25th, and the report period starts on July 25th, the first set of statistics in the report are the statistics that accumulated between 2:30:20 p.m. and 11:59:59 p.m. on July 25th.

If the review period ends on the current date, the last set of statistics in the report are the statistics that accumulated from 12:00:00 a.m. on the current date to the time at which you requested the chargeback report. For example, if you requested an hourly storage usage report at 2:30:15 p.m., the last set of statistics in the report would be the statistics that accumulated between 12:00:00 a.m. and 2:30:15 p.m.

A total storage usage report includes the statistics that accumulated during the entire report period.

Unless the report period includes the date on which the HCP system was installed or the date on which you requested the report, a total storage usage report includes the statistics that accumulated between 12:00:00 a.m. on the first day of the report period and 11:59:59 p.m. on the last day of the report period.

If the report period includes the day on which the HCP system was installed, the total storage usage report includes the statistics that accumulated between the time at which the system came online and either 11:59:59 p.m. on the last day of the report period or the time at which you requested the report on the currrent date.

For example, if you requested a total storage usage report at
2:50:25 p.m. on August 7th, the system came online at 2:30:20 p.m. on July 25th, and you defined the report period with a start date of July 25th and an end date of August 7th, the total storage usage report would include the statistics that accumulated between 2:30:20 p.m. on July 25th and 2:50:25 p.m. on August 7th.

Note: The statistics reported for the current hour may not reflect some reads and writes that have already occurred during the hour. After the hour is past, however, the statistics reported for it are complete.

 

Tip: You can use the HCP management API to generate chargeback reports that cover time periods that are longer than one month and are in XML, JSON, or CSV format. You can use this feature to create applications that generate chargeback reports at regular intervals and feed those reports to a billing system. For information on using the management API to generate chargeback reports, see HCP Management API Reference.

 

Roles: To generate a chargeback report, you need the monitor or administrator role.

To generate a chargeback report:

1.In the top-level menu in the System Management Console, mouse over Monitoring to display a secondary menu.

2.In the secondary menu, click on Chargeback.

3.On the Chargeback page select the appropriate reporting interval for the type of storage usage report that you want to generate, and specify the start and end dates for the report period:

oIn the Reporting Interval field, select Hour, Day, or Total to generate an hourly, daily, or total storage usage report, respectively.

oUse the Start Date field to specify the start date of the report period. Take one of these actions:

Enter the start date in the text field in mm/dd/yyyy format.

Click on the calendar icon to display a monthly calendar. Then use the arrows at the top of the calendar to navigate to the month containing the start date that you want to define for the report period, and click on that date to select it.

oUse the End Date field to specify the end date of the report period. Take one of these actions:

Enter the end date in the text field in mm/dd/yyyy format.

Click on the calendar icon to display a monthly calendar. Then use the arrows at the top of the calendar to navigate to the month containing the end date that you want to define for the report period, and click on that date to select it.

The Chargeback page displays four graphs showing the storage usage statistics for each reporting interval during the report period. These graphs show the total number of bytes written, the total number of bytes read, the total number of write operations, and the total number of read operations for all tenants defined on the system for each reporting interval during the specified report period,

4.To generate and download a complete, detailed chargeback report, click on the Download Report button.

By default, the name of the downloaded report file is Hourly-Chargeback-Report.csv, Daily-Chargeback-Report.csv, or Monthly-Chargeback-Report.csv, as applicable.

© 2017 Hitachi Vantara Corporation. All rights reserved.