Extracting performance data from EMC RecoverPoint

One more Extractor for Universal Storage Collector. It extract performance data from EMC RecoverPoint.

It isn’t easy to get a performance data from EMC RecoverPoint. This system provides weak tools for this.

GUI and CLI

In GUI we could see charts only for the current moment and some time before.

In CLI we could use some standard commands to get performance data for the  current moment. But its output are complex and it’s not easy to parse its.

Some examples:

  • get_cluster_traffic_statistics

cluster_traffic_statistics

  • get_rpa_statistics

rpa_statistics

  • get_group_statistics

get_group_statistics

REST API

Fortunately, there is a REST API for RecoverPoint. It described in the “REST API Programming Guide”. The first version of RecoverPoint software where we can see this guide is version 4.0. But there is a difference in REST API realisation between version 4.0 and versions starting 4.4.

In the guide for version 4.0 we could see the list of REST API methods and links to Web Application Description Language (https://{RPA IP}:7225/fapi/rest/application.wadl) and XML Schema Description (https://{RPA IP}:7225/fapi/rest/application.wadl/xsd0.xsd)

There are no complete list of REST API request in the guides starting version 4.4. But there is information about “landing page” – page that contains links to the auto-generated documentation, the WADL, and the XML Schema. This page is available at https://{RPA IP}:7225/fapi/rest/{ver}/, where {ver} is 4_4 for 4.4 and 5_0 for 5.0

rp1

The list REST API methods is available at link “Auto generated documentation”.

rp2

To get clusters names, groups configurations and performance data we could use this methods:

  • /clusters => provides list of clusters id and name
  • /clusters/{id}/statistics => looks like get_cluster_traffic_statistics
  • /rpas/statistics => looks like get_rpa_statistics
  • /groups/information => provides list of groups id and name, copies id, name and role
  • /groups/statistics => looks like get_group_statistics

The output of some REST API methods looks like CLI commands, but they are not equivalent. For example, CLI commands output bps and REST API methods output B/s.

Extractor

This is the less configurable extractor comparing to all other extractors. It needs only base url, ip, version, username and password. It execute the above list of methods, processes the results and provides its to Carbon or InfluxDB.

rp.carbon

The result

To convert B/s to MB/s and bytes to GB, we could do computations in Grafana.

rp.clusters

rp.rpas

rp.groups

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s