UNSOLVED

BryanClarke

updated

6 years ago

B

BryanClarke

1 Message

0

621

September 1st, 2020 12:00

API to determine Virtual Volume name from WWN?

Hello,

 

I wanted to see if there was an API call that could get the virtual volume name from VPLEX based on the WWN? The use case is we use Meditech and its backup facility returns the array serial number and the volume WWN, but not the virtual name. I know there is an API to list all the virtual volume names, but then i would need to query each one to to match the WWN. Is there a way to do that in one step or 1 API call?

 

Thanks

  • ankur.patel

    2 Intern

    286 Posts

    517

    0

    Posted September 2nd, 2020 11:00

    Does this help?

     

    > curl --user myusername:mypassword -k -XGET "https://myvplex/vplex/v2/clusters/cluster-1/virtual_volumes?vpd_id=VPD83T3:600014400000001060000a51bfa89399" -H "Accept: application/json" | jq

      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                     Dload  Upload   Total   Spent    Left  Speed

    100   576    0   576    0     0   1154      0 --:--:-- --:--:-- --:--:--  1152

    [

      {

        "block_count": 5243040,

        "block_size": 4096,

        "capacity": 21475491840,

        "consistency_group": null,

        "expandable": true,

        "expandable_capacity": 0,

        "expansion_method": "storage-volume",

        "expansion_status": null,

        "health_indications": [],

        "health_state": "ok",

        "initialization_status": null,

        "locality": "local",

        "visibility": "local",

        "operational_status": "ok",

        "service_status": "unexported",

        "storage_array_family": "symmetrix",

        "supporting_device": "/vplex/v2/clusters/cluster-1/devices/device_v5_c1",

        "system_id": "v5",

        "thin_enabled": "disabled",

        "vpd_id": "VPD83T3:600014400000001060000a51bfa89399",

        "name": "v5"

      }

    ]