Month: August 2015

Some API differences with Virtually Aware Flash Storage

Greetings,

Tintri has just announce the T5000 All-Flash series.  This means that customers that desire all-flash storage now can have it all: flash, and virtually aware storage (VAS).  I recently blogged about some API and UI changes.

I wanted to go into a little more detail about the API changes.  The All-Flash code snippet in the blog is from an updated appliance_info.py. All the python files in the  Tintri API GitHub repo were updated with a more common python location for easy script running.

As for dedupeFactor and cloneDedupeFactor in the DatastoreStat object discussion, I hope the tables below clarify.  The first table shows the responses when invoking the following APIs from a VMstore.

  • GET /v310/datastore
  • GET /v310/datastore/{uuid}/statsHistoric
  • GET /v310/datastore/{uuid}/statsRealtime
  • GET /v310/datastore/{uuid}/statsSummary
Responses from VMstore
Field All-Flash Hybrid (4.0) Hybrid (3.2)
dedupFactor Valid Valid Not Available
cloneDedupFactor 1.0 Valid Valid

As you know, Tintri Global Center (TGC) and VMstore have the share some above API endpoints, but the responses can be different. Here is the table for the TGC responses:

Responses from TGC
Field All-Flash Hybrid (4.0) Hybrid (3.2)
dedupFactor Valid Valid 1.0
cloneDedupFactor 1.0 Valid Valid

As you can see, invoking the APIs via a TGC masks the “Not Available” for a consistent return for all fields.

Until next time,

– Rick –

Filtering VM Information

Greetings,

Just a quick note.  I wrote a blog for our corporate site and finding non-clone VMs and synthetic VMs..  There are two types of filtering: server side and client side.  Both types are shown in the blog post.  The code uses the get_vms_page.py from the Tintri GitHub as a template.

For server side filtering, use the query filter.  For client side filtering, obtain the VMs and filter for what you’re looking for.  Client side filtering is useful for fields that cannot be filtered by the query parameters.

Server side includes fields like hypervisor type, cpuPercent, and space used.  Of course, too many search parameters will affect performance.  Check out VirtualMachineFilterSpec page in the API documentation for VM filters.

Regards,

– Rick –