Highlighted
Pratheep1
1 Copper

How to get cumulative counter values from XtremIO

I am familiar with performance data collection of EMC VMAX and DMX, where performance data is exposed as an incremented counter.

For example, number of IOPS collected at 12PM and 12.15 PM will have either the same value or incremented value depending upon the activity in the storage system

I am looking for the same functionality with XtremIO. My requirement is to collect raw data from XtremIO device at user configured interval and calculate throughput, IOPS and latency.

I have executed the following query in an interval of 15 minutes.

/api/json/v2/types/performance?cluster-name=<cluster_name>&entity=Volume&entity-name=<volume_name>&granularity=raw&limit=1

But, values returned for “bw”,”iops””avg_latency” etc, for the second execution was lesser than the first one. This indicates the values are cumulative (not incremented periodically)

How can I retrieve incremented raw counter values from XtremIO device? What REST query I need to use?

Any help is highly appreciated.

Regards,

Pratheep

7 Replies
Avi3
3 Zinc

Re: How to get cumulative counter values from XtremIO

Hi Pratheep,

The performance numbers reported through RestAPI are instantaneous values and represent the numbers at that instant of time. Why do you want to get the cumulative numbers?

0 Kudos
Pratheep1
1 Copper

Re: How to get cumulative counter values from XtremIO

Thank you Avi for the reply.

I have a requirement where performance data needs to be collected based on user configured time interval and generate charts.

For example, if user is configured 15 minutes to collect IOPs from XtremIO device, a graph is plotted with

IOPs / Second in every 15 minutes. If the counter value is cumulative, this can be achieved after applying certain calculations.

How do I achieve the same functionality with XtremIO? 

Thank you,

Pratheep

0 Kudos
Avi3
3 Zinc

Re: How to get cumulative counter values from XtremIO

You can retrieve the performance history (using RestAPI) - have you looked at the performance API and the granularity options?

0 Kudos
Pratheep1
1 Copper

Re: How to get cumulative counter values from XtremIO

Hello Avi,

When I experimented with "prop=bw&granularity=one_minute&limit=15", I found 15 data points with interval of 1 minute.

I assume this is the average bandwidth(bytes transmitted) in bytes for the past 15 minutes. Is my assumption correct?

Or is there a better way?

Thank you for your help, much appreciated.

Regards,

Pratheep

0 Kudos
Avi3
3 Zinc

Re: How to get cumulative counter values from XtremIO

The values that you are receiving is the instantaneous bandwidth at that point of time. It is not an average over the 1 minute interval.

0 Kudos
Pratheep1
1 Copper

Re: How to get cumulative counter values from XtremIO

If the url is formed as "prop=bw&granularity=one_minute&aggregation-type=avg&limit=15", will I get last 15 minutes average bandwidth? If not, how can I get that?

0 Kudos
Avi3
3 Zinc

Re: How to get cumulative counter values from XtremIO

No, you are not going to get the average for the last 15 minutes. Thats something that you have to collect from the script and calculate in your software.

0 Kudos