Zetavault Blog

Insights, comments, tips and random ramblings.

New Features In Zetavault 3.25

16th December 2015

REST API

The big feature for this release. This took some serious work.

Our developers ate their body weight in pizza and drank their displacement in coffee EVERY week until this was complete.

The HTTP based API means you can control various aspects of Zetavault from external software you have written.

You can test and get familiar with the API using any REST client. Or you can use the included web based client we've built.

api client

Just visit /api on a Zetavault system to access the web based client.

Example 1

Retrieve a list of ZFS volumes in the system. Customize the columns that are outputted to name, size and used.

GET /storage/zfs/datasets/volumes?columns=name,volsize,used
{
  "data": [
    {
      "name": "storage/vol1",
      "volsize": "5368709120",
      "used": "3221225472"
    },
    {
      "name": "storage/vol2",
      "volsize": "10737418240",
      "used": "12414980096"
    },
    {
      "name": "storage/vol3",
      "volsize": "6442450944",
      "used": "3221323776"
    }
  ]
}

Example 2

Create a ZFS snapshot.

POST /storage/zfs/datasets/snapshots/storage~vol1@snap

Example 3

Retrieve the status for a network interface.

GET /management/network/interfaces/status/eth1
{
  "data": {
    "name": "eth2",
    "up": true,
    "type": "physical",
    "mac": "a0:36:9f:0a:07:88",
    "address": "192.168.10.1",
    "broadcast": "192.168.10.255",
    "netmask": "255.255.255.0",
    "mtu": 9000,
    "speed": 10000,
    "driver": "ixgbe",
    "rx": 13289355833,
    "tx": 23729217800,
    "alias": "10g nfs",
    "roles": "NZ"
  }
}

VMware VAAI Support

All the VMware VAAI (vStorage APIs for Array Integration) primitives are now supported:

Run this command on your ESX box to confirm:

esxcli storage core device vaai status get

eui.3875736731356a71
   ATS Status: supported
   Clone Status: supported
   Zero Status: supported
   Delete Status: supported

Support for VAAI is automatic. No configuration is required.