Subscribe
Accepted Solution

OCI 7.2 Rest API

Is there a way to extract Aggregate level metrics (# of disks in Agg, Type of Disks, Capacity, Performance etc..) using the OCI REST API? From the documentation, I only notice other objects - storages, storageNodes, StoragePools, Volumes etc..

Re: OCI 7.2 Rest API

Ontap Aggregates map to OCI Storage Pools - any Ontap Aggregate will be represented by an OCI Storage Pool

Re: OCI 7.2 Rest API

Thanks. I have another question regarding this, what does the performance category "Utilization" mean in this response? Is this the utilization % with regards to IOPS or space used/allocated?

 

SyntaxEditor Code Snippet

{
  "self": "/rest/v1/assets/storagePools/20403/performance",
  "iops": {
    "performanceCategory": "IOPS",
    "description": "IOPS",
    "read": {
      "description": "IOPS - Read",
      "unitType": "IO/s",
      "start": 1520413199999,
      "end": 1521055658396,
      "current": 4121.7119,
      "min": 3258.9103175,
      "max": 11666.197102499998,
      "avg": 5109.70147913408,
      "sum": 914636.5647650003
    },
    "write": {
      "description": "IOPS - Write",
      "unitType": "IO/s",
      "start": 1520413199999,
      "end": 1521055658396,
      "current": 221.872225,
      "min": 142.74253,
      "max": 1568.3435775000003,
      "avg": 251.73384273743017,
      "sum": 45060.35785
    },
    "totalMax": {
      "description": "IOPS max - Total",
      "unitType": "IO/s",
      "start": 1520413199999,
      "end": 1521055658396,
      "current": 5269.39235,
      "min": 3603.33538,
      "max": 14094.67164,
      "avg": 5876.752622737429,
      "sum": 1051938.71947
    },
    "total": {
      "description": "IOPS - Total",
      "unitType": "IO/s",
      "start": 1520413199999,
      "end": 1521055658396,
      "current": 4343.584129999999,
      "min": 3507.4022975000003,
      "max": 12060.287235,
      "avg": 5361.435322122906,
      "sum": 959696.9226600002
    }
  },
  "utilization": {
    "performanceCategory": "Utilization",
    "description": "Utilization",
    "read": {
      "description": "Utilization - Read",
      "unitType": "%",
      "start": 1520413199999,
      "end": 1521055658396,
      "current": 16.970715,
      "min": 13.534315,
      "max": 49.0492325,
      "avg": 22.291557788640596,
      "sum": 3990.1888441666665
    },
    "write": {
      "description": "Utilization - Write",
      "unitType": "%",
      "start": 1520413199999,
      "end": 1521055658396,
      "current": 0.9222125,
      "min": 0.5783475,
      "max": 5.326605,
      "avg": 1.0454017364990698,
      "sum": 187.12691083333348
    },
    "total": {
      "description": "Utilization - Total",
      "unitType": "%",
      "start": 1520413199999,
      "end": 1521055658396,
      "current": 17.8929275,
      "min": 14.488687500000001,
      "max": 50.0074325,
      "avg": 23.336959571694603,
      "sum": 4177.315763333334
    },
    "totalMax": {
      "description": "Utilization max - Total",
      "unitType": "%",
      "start": 1520413199999,
      "end": 1521055658396,
      "current": 21.69122,
      "min": 15.28981,
      "max": 58.81786,
      "avg": 25.05879363128492,
      "sum": 4485.524060000001
    }
  },