Contents

Dell EMC VMAX 100K V9.2.0 Storage REST API Concepts And Programmer's Guide PDF

1 of 18
1 of 18

Summary of Content for Dell EMC VMAX 100K V9.2.0 Storage REST API Concepts And Programmer's Guide PDF

Dell EMC Unisphere for PowerMax REST API Concepts and Programmer's Guide

9.2.0

September 2020 Rev. 1.0

Notes, cautions, and warnings

NOTE: A NOTE indicates important information that helps you make better use of your product.

CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid

the problem.

WARNING: A WARNING indicates a potential for property damage, personal injury, or death.

2016 - 2020 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners.

PREFACE As part of an effort to improve its product lines, Dell EMC periodically releases revisions of its software and hardware. Therefore, some functions described in this document might not be supported by all versions of the software or hardware currently in use. The product release notes provide the most up-to-date information on product features.

Contact your technical support professional if a product does not function properly or does not function as described in this document.

NOTE: This document was accurate at publication time. Go to Dell EMC support website or the technical documentation

page to ensure that you are using the latest version of this document.

Purpose This document describes how to configure and use Unisphere REST API. The term Unisphere incorporates "Unisphere for PowerMax" for the management of PowerMax and All Flash storage systems using PowerMaxOS 5978, and "Unisphere for VMAX" for the management of VMAX All Flash and VMAX storage systems using HYPERMAX OS 5977 and Enginuity OS 5876.

Audience This guide is intended for programmers who want to create interfaces, using REST APIs, in any of the programming environments that support standard REST clients such as web browsers and programming platforms that can issue HTTP requests.

Related documentation This section lists the resources available for the Unisphere REST API.

The Unisphere for VMAX REST API Information Hub has information on how to get started with Unisphere REST API. Change log This document lists the changes to the Unisphere REST API in each release. It can be found by going to the

Dell EMC support website and searching for "REST API Change Log". Enunciate This is the engine used to generate the Unisphere REST API documentation. More information can be found

here. Unisphere-specific examples PYU4V

The following publications provide additional information:

Dell EMC Unisphere for PowerMax Release Notes Dell EMC Unisphere for PowerMax Installation Guide

Where to get help Dell EMC support, product, and licensing information can be obtained as follows:

Product information

For documentation, release notes, software updates, or information about Dell EMC products, go to Dell EMC support website.

Technical support

Go to the Dell EMC support website and click Service Center. You will see several options for contacting Technical Support. Note that to open a service request, you must have a valid support agreement. Contact your sales representative for details about obtaining a valid support agreement or with questions about your account.

PREFACE 3

Your comments Your suggestions will help us continue to improve the accuracy, organization, and overall quality of the user publications. Send your opinions of this document to VMAXContentFeedback@emc.com.

4 PREFACE

Introduction

Topics:

Overview and Architecture REST model REST client Provisioning and managing storage using REST API Snapshot management using REST API Protecting Storage with SRDF using REST API Managing SRDF replicated storage using REST API Recommended Practices for Gathering Performance Metrics using REST API Code Examples New in this release

Overview and Architecture This guide is intended for programmers who want to create interfaces, using Representational State Transfer (REST) APIs, in any of the programming environments that support standard REST clients such as web browsers and programming platforms that can issue HTTP requests.

The term Unisphere incorporates "Unisphere for PowerMax" for the management of PowerMax and All Flash storage systems using PowerMaxOS 5978, and "Unisphere for VMAX" for the management of VMAX All Flash and VMAX storage systems using HYPERMAX OS 5977 and Enginuity OS 5876.

The REST API enables the access of diagnostic performance data, accessing configuration data, and performing storage provisioning operations for storage system hardware through robust APIs. These APIs can be used in any of the programming environments that support standard REST clients such as web browsers and programming platforms that can issue HTTP requests. The REST API supports both XML and JavaScript Object Notation (JSON) MIME types.

Unisphere is designed around the concept of the storage group for management of applications. A storage group is a container for a set of devices that are related in some way and are usually representative of an application or a tenant with data on the storage array. Most operations using REST API are built to take advantage of the storage group as a control entity, for example, SnapVX, and SRDF. Using a storage group for management reduces the number of objects that storage administrators need to manage. A storage group must exist for masking devices that are associated with a host (see Provisioning and managing storage using REST API on page 8).

REST API uses numbered versioning. The version of the API call is specified as part of the URL, for example,

https://UNIVMAX_IP:UNIVMAXPORT/univmax/restapi/VERSION

For Unisphere 9.2, the VERSION is 92. If no version is specified and the endpoint URL is valid, it is processed using the oldest supported version of the REST API. When beginning to use REST API, Dell EMC recommends that you use the most recent version of the REST API supported by your Unisphere server.

1

Introduction 5

As outlined in the following figure, REST API resides at the same level in the application stack as the Unisphere GUI above the Unisphere server:

6 Introduction

REST API is subdivided into several distinct resources which provide distinct endpoints for operations that run on the Unisphere server and the storage systems.

The resources and their functionality are:

Service level provisioning for storage systems and all-flash storage systems running HYPERMAX OS 5977 and higher (for Open Systems and mainframe).

Provisioning for VMAX storage systems running pre-HYPERMAX OS 5977 and all pre-V3 VMAX arrays (for Open Systems and mainframe).

System - Provides management of alerts and jobs. Replication - Provides storage group-level management of SRDF and TimeFinder SnapVX Migration - Control of non-disruptive migration functionality, for live migration of running workloads from storage groups

running Enginuity OS 5876 and storage groups running HYPERMAX OS 5977 to storage groups running HYPERMAX OS 5977 and PowerMaxOS 5978.

Performance - Gathering of performance statistics of storage array components, storage groups, and configuration of performance threshold alerts.

REST model REST is a manner of building networked software systems that enables the merging of documents, data and information services into an ecosystem of named resources.

Resource Anything important enough to be referenced as a noun.

Resource name A unique identification of the resource.

Resource representation

Useful information about the current state of a resource. Resource representation is what is used to transfer its information to the client using the HTTP protocol.

Resource link A link to another representation of the same resource.

Resource interface

A uniform interface for accessing the resource and manipulating its state.

The following table describes the standard resource methods:

Table 1. REST resource methods

HTTP operation Description Access to Method

PUT Modify a resource. Administrator

Storage Administrator

GET Retrieve the state of a resource. All roles

POST Create a resource. Administrator

Performance Monitor (for Performance URLs only)

Storage Administrator

DELETE Delete a resource. Administrator

Storage Administrator

For assigning user roles for each array, see Setting up user authentication on page 17.

REST client The REST client provides both a front-end GUI for the REST API documents and a Unisphere-specific REST client that is based on the WADL file that is received from the Unisphere host. The REST client enables you to visualize the REST schema and helps to identify the calls you need to build scripts and code functions. The REST client, while useful, is not a replacement for the documentation, as the documentation has a greater level of detail.

For Unisphere for PowerMax 9.2, the REST client must be a minimum of version 2.10.

Introduction 7

For more information, see the REST Client information which can be accessed by clicking here and searching for "REST client."

Provisioning and managing storage using REST API Provisioning storage using the REST API follows the same rules and logic as provisioning using the Unisphere GUI. All end points for storage provisioning on storage systems running HYPERMAX OS 5977 and higher are located in the following location:

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/sloprovisioning/

You do not need to create storage volumes before you provision the storage, because REST API is using the logic of the Unisphere server. When storage volumes are requested for a given storage group, the Unisphere server first checks for unused volumes in the system that match the capacity and type and uses these volumes. If no volumes exist, new volumes are created to match the required capacity.

Storage is provisioned to a host using a masking view. A masking view consists of the following three components which need to exist already or be created before being combined in the masking view:

Storage Group Host or Host Group Port Group

The REST API caters for all of the above steps in a single REST API call with a payload package that creates each component and combines them into a masking view.

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/sloprovisioning/symmetrix/ {symmetrixId}/maskingview

Adding additional storage volumes to a host or system, when the masking view is already in place, is performed using a PUT call to the storage group resource object. This call also has several action parameters that enable the expansion of a specific volume in the group or that enable expansion of all volumes in the group to a specified size.

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/sloprovisioning/symmetrix/ {symmetrixId}/storagegroup/{storageGroupId}

Device expansion is also supported on per volume level with a PUT call.

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/sloprovisioning/symmetrix/ {symmetrixId}/volume/{volumeId}

Snapshot management using REST API REST API supports TimeFinder SnapVX Snapshots. These snapshots are space efficient with a low footprint. Snapshots are managed at a storage group level.

The endpoints for SnapVX are under

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/replication/symmetrix/ {symmetrixId}/storagegroup/{storageGroupId}/snapshot

Creating a snapshot is a POST call to the endpoint. If you send multiple POST calls with the same payload, multiple generations of the same snapshot are created. The latest version of a SnapVX snapshot is always generation 0.

Managing Snapshots with REST API requires the use of the snapshot generation. If you want to do any PUT or DELETE operations, you need to consider snapshot generation. These operations are located under the following resource endpoint:

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/replication/symmetrix/ {symmetrixId}/storagegroup/{storageGroupId}/snapshot/{snapshotId}/generation/ {generationNumber}

8 Introduction

The 9.2 release introduces new endpoints that make it easier to work with higher volumes of snapshots

https://{{UNIVMAX_IP}}:{{UNIVMAXPORT}}/univmax/restapi/{version}/replication/symmetrix/ {symmetrixId}/storagegroup/{storageGroupId}/snapshot/{snapshotId}/snapid/{snapId}

Linking a snapshot is the operation that makes snapshot data visible using a host accessible volume, and is a PUT call. REST API has automated the process of volume creation and storage group creation if you specify a storage group for the link that does not exist. This behavior helps simplify workflows.

Workflow to link a snapshot:

Identify snapshot on the source storage group (GET)

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/replication/symmetrix/ {symmetrixId}/storagegroup/{storageGroupId}/snapshot

If multiple generations identify the correct timestamp (GET)

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/replication/symmetrix/ {symmetrixId}/storagegroup/{storageGroupId}/snapshot/{snapshotId}/generation/ {generationNumber}

Link to new storage group (PUT)

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/replication/symmetrix/ {symmetrixId}/storagegroup/{storageGroupId}/snapshot/{snapshotId}/generation/ {generationNumber}

Create Masking View for the target storage group (POST)

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/sloprovisioning/ symmetrix/{symmetrixId}/maskingview

Create snapshots with a time to live value to ensure that they expire automatically. Scripted snapshots on a rotating basis should also be monitored. Ensure that alerting and notifications are set up as documented in the SnapVX technical notes.

If you are planning a high volume of snapshots at frequent intervals, Dell EMC recommends that you check with your local storage system performance expert to review before implementing.

Snapshots do not autoexpire if they are linked.

For Unisphere 9.0 and later releases, the local replication role is assigned at the storage group level. This privilege ensures that the assigned user can create and terminate their own snapshots. Link, unlink, and restore operations require extra privileges.

For detailed information about SnapVX, see the SnapVX technical notes.

The operations for managing snapshot policies are located under the following resource endpoint:

https://{{UNIVMAX_IP}}:{{UNIVMAXPORT}}/univmax/restapi/{version}/replication/symmetrix/ {symmetrixId}/snapshot_policy

Protecting Storage with SRDF using REST API To remotely replicate the storage system, SRDF emulations must exist, and a pair of front-end ports must be mapped to the SRDF emulation. Zoning or IP routes must exist to the remote array.

Automation is available in the SRDF replication workflows in Unisphere to simplify, not only the GUI management, but also the management flows using REST API. REST API fully supports all modes of SRDF operation and storage groups can be protected in a single call. The workflow for protecting a storage group with SRDF is as follows:

Verify that the source array is SRDF capable. Verify that the target array is visible and connected over SRDF links. Protect the source storage group using a POST call to

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/{version}/replication/symmetrix/ {symmetrixId}/storagegroup/{storageGroupId}

Optional: Mask the storage group on the remote storage system to a host for visibility to remote storage after data has been synchronized.

Introduction 9

The POST call to protect the storage group with SRDF performs several operations depending on the mode of SRDF operation that is chosen for the protection.

Automatic creation of devices on the target array to be paired with the sources. If Metro or asynchronous mode is specified in the payload, a new SRDF group is created between the source and destination

arrays if an unused one does not already exist. This behavior ensures that all devices are managed together. If synchronous mode is set, the devices are added to the least loaded SRDF group between the source and target arrays. If protecting with SRDF synchronous mode and you want to ensure that the devices are placed in a separate group, the

POST call provides optional parameters to do this. Refer to the documentation or the REST Client for more details.

NOTE: There are 250 SRDF groups in total per array, so design your system with these limits in mind. Each SRDF group can

have up to 64 K volumes.

Managing SRDF replicated storage using REST API Management of SRDF replicated storage has been simplified since the release of Unipshere 9.1 and corresponding endpoints. New parameters enable smarter automation of SRDF volume add and remove operations at the storage group level.

The sloprovisioning PUT endpoints have optional remoteSymmSGInfoParam stanza and keys. For the JSON payloads for SRDF protected storage groups, with the supplied parameters, devices are added and replication is put in place in a single step, even for multihop SRDF environments.

The remove options have been enhanced so that users can remove devices with a single step process, automatically suspending, deleting pairs and removing devices from all management storage groups on both the local and remote arrays.

NOTE: To utilize this functionality the REST API calls must be directed at the R1 Array.

For more information, see this example.

The recommended practices for REST API and SRDF are as follows:

SRDF protection can take time as there is a lot going on in the background. SRDF POST calls are ideal candidates to be run asynchronously.

Large data transfers and initial sync should be completed in Adaptive copy mode; switch to primary mode SRDF/Sync or Async when close to synchronized. Specify the optional parameter ,"establish":false when protecting with a POST call. If protecting storage groups at the time of creation, since data does not already exist, there should be no reason to delay the synchronization or switch mode of operation.

To start the synchronization, or to modify the groups state of the data, you can use a PUT call to modify SRDF mode to adaptive copy and begin synchronization. When close to being fully synchronized, a second PUT call can be used to switch SRDF modes back to Sync or Async. This ensures normal operation.

Recommended Practices for Gathering Performance Metrics using REST API Performance calls in Unisphere 8.4.0 and greater are no longer versioned. All performance REST API calls are under

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/performance

If new metrics are added and you want to collect them, the calls are added under a new endpoint under this base URL.

To query performance metrics, the array must first be registered for performance data collection using the Unisphere user interface. To find out what arrays are registered for performance statistics with the instance of Unisphere, a GET call can be made to

https://{UNIVMAX_IP}:{UNIVMAXPORT}/univmax/restapi/performance/Array/keys

Each sub-resource under the performance API calls also provides a "keys" endpoint to return a list of valid values. For example, to get a list of the front-end directors for a particular array to gather metrics for each, you can make a single call to the

/performance/FEDirector/keys

10 Introduction

endpoint and pass the serial number for the storage array. This returns a list that can be parsed to extract the directorID which can be used to build the URL for extra calls. Using keys to dynamically build your performance calls ensures that you do not make calls for objects that return no data.

All performance calls accept a payload that requests multiple metrics. This is more efficient as there is no need to make multiple requests to the same resource for multiple metric values.

Gathering performance statistics from Unisphere REST API is always a POST (Create) call. This may seem counter intuitive, however the REST call constructs a return object based on the JSON payload parameters, and the server responds with this object as a JSON object containing the requested data.

Performance metrics are calculated and stored at 5 minute intervals, so any REST API scripts, except for real-time collections, should be run at an interval of 5 minutes or higher. Device level performance stats are not accessible using REST API calls. If device level metrics are required, they can be accessed using the Unisphere user interface.

REST API calls for performance data require that date/times are specified in epoch/Unix time (the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970, not counting leap seconds). All timestamps are in milliseconds, so you need to take this into account when building the payload start_date and end_date.

You can extract real-time performance data at system and storage group level. For real-time data, it recommended that you set the query interval to 1 minute or higher. The maximum query interval for real-time data using REST is 1 hour. Queries return data at 5 second intervals for array and component data, and at 30 second intervals for storage group data.

Code Examples Sample code for the main use cases have been posted here.

New in this release The complete Unisphere REST API change log can be found by going to the Dell EMC support website and searching for "REST API Change Log".

Unisphere REST API for 9.2 has the following changes:

Performance Added cloud provider performance endpoints. Added masking view performance endpoints. Added a new metric, AvgQOSDelayPerIO, to the Storage Group category.

Service Level Provisioning

Expanded editVolumeActionParam to allow enabling and disabling the mobility ID on individual volumes. Add the UUID field to storage group GET. Added the mobility id enabled field to GET volume responses. Added snapshot policies to storage group POST Added the Pause/Resume/Add/Remove Snapshot policy

Replication Added Cloud Snapshot management to a Storage Group. Added MetroDR. Added Snapshot Policies. Added SRDFA attributes to the RDF group GET. Added RDFG Set Attributes and Enable DSE. Items that are looked up and are not found return a 404 response code. Inputs that are invalid return a

400 response code.

Migration Items that are looked up and are not found return a 404 response code. Inputs that are invalid return a 400 response code.

vVols Added VASA replication groups.

System Added Cloud System, Cloud Storage Groups, Cloud Providers, Cloud Jobs, and Cloud Networking endpoints.

Added Audit log.

Introduction 11

Added Set Service Level RT Multiplier. Removed Symmetrix Level Job endpoints.

12 Introduction

Documentation

Topics:

Downloading documentation Transport protocol Product version and compatibility Concurrent operations Making the JSON root element backwards compatible

Downloading documentation

Prerequisites

Before you download REST API documentation, Unisphere must be installed and user access roles must be set up (see Setting up user authentication on page 17).

Steps

1. Point the browser to: https://{UNIVMAX_IP}:{UNIVMAX_PORT}/univmax/restapi/docs whereUNIVMAX_IP is the IP address and UNIVMAX_PORT is the port of the host running Unisphere.

2. Copy the .zip file (restapi-docs.zip) locally, extract the file, and go to target/docs/index.html.

3. To access the documented resources, open the index.html file.

Transport protocol REST API uses the Hypertext Transfer Protocol Secure (HTTPS) version 1.1 as the transport for API requests. For PUT and POST requests, method arguments are passed in the HTTP Request message body. API methods return standard HTTP status codes and result content in the HTTP Response message body.

REST API supports two media-types:

application/x ml

Allows marshalling/un-marshalling using XML

application/ json

Allows marshalling/un-marshalling using JSON

Product version and compatibility The Unisphere REST API is the same version as the Unisphere application.

Backward compatibility

Since the REST API is a method-based API, the methods remain backwards compatible with older versions if the argument and result types have only optional properties added to newer versions of the API.

If extra properties are required or existing properties require modification, create an extra method. Deprecated methods are maintained to service older clients, and eventually removed. New REST API methods are backwards compatible.

2

Documentation 13

The latest versioning endpoints are accessed through /restapi/92. Requests made to URIs at the earlier endpoints /90 and /91 will continue to operate. Your scripts work with updates to access the newer versions, but if you want to take advantage of new data returned in /92 REST calls, then scripts must be updated to access the new keys. For more information, see the Unisphere REST API change log.

NOTE: In each REST API release, at least four major versions are available: The latest version and three previous versions.

The two newest versions are not market as deprecated. The older versions are marked as deprecated and you should

upgrade when you can.

Versioning is handled in two different ways:

For the following resources, REST API guarantees backwards compatibility for two major releases by versioning the URIs:

DSA Migration WLP VVol System Provisioning Sloprovisioning Replication Migration

For the following resources, REST API guarantees backwards compatibility for two major releases by versioning the attributes:

Common Performance

Client/Server compatibility

If the Unisphere REST client API version is older than the server version, interaction proceeds as designed. If the client REST API version is newer than the server version, the server delivers an HTTP status 400 or HTTP status 404, indicating an illegal request.

Concurrent operations Note the following recommendations on REST API client limits, which must be adhered to in order to achieve optimal performance:

Each REST API session counts as a concurrent user while the REST calls are running. A maximum of 5 REST API clients can connect to the Unisphere server concurrently. A maximum of 50 GET calls can be made to the Unisphere server per second. These can be made up of performance REST

API GET calls and non-performance REST API GET calls. A maximum of 5 non-performance POST or PUT calls can be run against the Unisphere server concurrently. It is recommended that you use bulk REST API calls, where possible.

NOTE: If the recommendation above are not followed, it might result in performance degradation of the Unisphere for

PowerMax server.

Making the JSON root element backwards compatible

About this task

For prior versions of the REST API, the JSON root is included in the API request and response. The current version of REST API does not include the JSON root in the API request and response. To support backwards compatibility, the JSON root property must be modified. This task is supported only on stand-alone Unisphere installations and not on eManagement. Complete the following steps:

14 Documentation

Steps

1. Stop the SMAS service.

2. Remove install_dir\jboss\domain\deploy0 directory.

NOTE: Do not remove the deploy directory.

3. Open the install_dir\jboss\domain\deploy\smc.ear\smc.war\WEB-INF\web.xml file for editing.

4. Set the property com.emc.em.restapi.WrapJsonRoot to true.

5. Start SMAS.

REST API request and response

The following example shows a REST API request and response with and without the JSON root:

Request:

https://unisphere_IP:unisphere_port>/univmax/restapi/90/sloprovisioning/symmetrix/ 000195900063/storagegroup Response without JSON root (default):

{ "num_of_storage_groups": 64, "storageGroupId": [ "App2_SG", "App2_SG", "Finance2_SG", "Database1_SG", ], "success": true }

Response with JSON root:

{ "listStorageGroupResult": { "num_of_storage_groups": 64, "storageGroupId": [ "App2_SG", "App2_SG", "Finance2_SG", "Database1_SG", ], "success": true } }

Documentation 15

Iterators

Topics:

How iterators are used in REST API Sample iterator methods and typical use case

How iterators are used in REST API An iterator is an object that enables you to cycle through the elements in a collection and display each element. REST API uses iterators to retrieve a collection of performance data only when the API interface defines that there are unbounded instances in the result. For example, the method to retrieve array metrics takes an ArrayParamType argument and returns an unbounded number of ArrayResultType results.

See Downloading documentation on page 13 for instructions on how to access the REST resources. From the REST API home page, select Performance, then any metrics resource, and under Response Body select Iterator to view how the iterator cycles through the elements to collect the results.

The REST API also uses iterators to control resource consumption on the server when multiple clients are querying for large sets of data. Each iterator has a unique ID and provides two ways to control excess server consumption: maximum page size, and an expiration time for the iterator instance. The page size and expiration time are dependent on server load and resource availability. Also, Unisphere imposes limits on the number of concurrent requests it accepts. Refer to Sample iterator methods and typical use case on page 16.

Sample iterator methods and typical use case The infrastructure provides three method endpoints for clients to interact with the iterators.

Get iterator info. Get iterator page. Delete iterator.

A typical use case is as follows:

NOTE: If a client becomes unresponsive, or disconnects from the Unisphere server, the iterator expires, based on a

preconfigured timeout (10 minutes). When the iterator expires, server resources are released. If the iterator expires before

the client has finished paging over all the results, the client must reissue the request.

1. The client invokes a REST API method that returns an iterator. 2. The client pages over the results of an existing iterator until all results are retrieved by issuing

Get common /Iterator/{iteratorld}/page

. 3. If the iterator has not expired, the client deletes the iterator by issuing

Delete common/Iterator/{iteratorld}

.

3

16 Iterators

Samples

Topics:

Setting up user authentication Client authentication Sample client request and response examples

Setting up user authentication

About this task

Before you use the REST API, user authorization must be assigned for each storage array that the user is permitted to access.

Steps

1. Log in to Unisphere.

2. Select to display the Settings panel.

3. Select Users and Groups > Authorized Users and Groups to open the Authorized Users and Groups list view.

4. Click Create to open the Add New Authorization Rule dialog box.

5. Select the Roles tab and create a user login profile for each storage array that the user wants to access, and assign them to any of the following roles:

The following users have storage array access:

AdministratorCan initiate GET, POST, PUT, and DELETE methods. Storage AdministratorCan initiate GET, POST, PUT, and DELETE methods. Performance MonitorCan initiate GET and POST (for Performance URLS only) methods. MonitorCan initiate GET methods. AuditorCan initiate GET methods. Security AdministratorCan initiate GET methods. Local Replication (LREP)A user with LREP can perform the following operations on storage groups for which they

have been LREP rights, either all the storage groups on the storage array or a subset of storage groups:

POST - Create snapshots for a storage group (cannot specify 'Secure' - Storage Administrator rights are needed for creating snapshots).

PUT - Manage snapshots on a storage group as specified in the following list of rules except for setting Secure (Storage Administrator rights are needed for that.:

- If restoring, the user must also have device manage rights on the storage group. - If linking, the storage group must already exist on the storage array and the user must also have device

manage rights for that storage group .The LREP user cannot create a storage group (Storage Administrator rights are needed for that), similarly for relinking and unlinking.

- Set Mode - The user must have device management rights on linked storage group.

DELETE on snapshot generation.

Remote Replication (RREP)A user with RREP can perform the following operations on storage groups for which they have been RREP rights, either all the storage groups on the storage array or a subset of storage groups:

PUT - Manage remote replication for a storage group - establish, suspend. Delete storage group pairings.

A user with RREP cannot create storage group pairings as this action requires the creation of a storage group and possibly an SRDF group and these actions need Storage Administrator rights.

4

Samples 17

All operations on an SRDF group also need (at a minimum) Storage Administrator rights.

Users that are not allowed storage array access:

None

6. Click OK.

Client authentication

NOTE: The minimum supported TLS version is 1.2.

REST API uses HTTP Basic Access Authentication to authenticate API clients, described in RFC 2617. HTTP Basic Access Authentication is simple; it does not require cookies, session handling, or login pages. Instead, HTTP Basic Access Authentication uses static headers, requiring no handshakes.

Users of the REST API are assigned user credentials for associated storage arrays within Unisphere . A username and password is supplied with every request to REST API in the Authorization header, as specified in RFC 2617. Every request to REST API is authenticated and authorized.

Ensure that usernames and passwords are encoded using the UTF-8 charset.

NOTE: If X509 certificate-based client authentication is enabled, Unisphere ignores the username/password REST basic

authentication credential. However, to meet the REST standard basic authentication requirement, REST clients must

provide a nonempty username/password credential of their own creation.

Sample client request and response examples Sample client request and response examples are in the restapi-docs.zip file that you can download from the Uni

Manualsnet FAQs

If you want to find out how the EMC Dell works, you can view and download the Dell EMC VMAX 100K V9.2.0 Storage REST API Concepts And Programmer's Guide on the Manualsnet website.

Yes, we have the REST API Concepts And Programmer's Guide for Dell EMC as well as other Dell manuals. All you need to do is to use our search bar and find the user manual that you are looking for.

The REST API Concepts And Programmer's Guide should include all the details that are needed to use a Dell EMC. Full manuals and user guide PDFs can be downloaded from Manualsnet.com.

The best way to navigate the Dell EMC VMAX 100K V9.2.0 Storage REST API Concepts And Programmer's Guide is by checking the Table of Contents at the top of the page where available. This allows you to navigate a manual by jumping to the section you are looking for.

This Dell EMC VMAX 100K V9.2.0 Storage REST API Concepts And Programmer's Guide consists of sections like Table of Contents, to name a few. For easier navigation, use the Table of Contents in the upper left corner.

You can download Dell EMC VMAX 100K V9.2.0 Storage REST API Concepts And Programmer's Guide free of charge simply by clicking the “download” button in the upper right corner of any manuals page. This feature allows you to download any manual in a couple of seconds and is generally in PDF format. You can also save a manual for later by adding it to your saved documents in the user profile.

To be able to print Dell EMC VMAX 100K V9.2.0 Storage REST API Concepts And Programmer's Guide, simply download the document to your computer. Once downloaded, open the PDF file and print the Dell EMC VMAX 100K V9.2.0 Storage REST API Concepts And Programmer's Guide as you would any other document. This can usually be achieved by clicking on “File” and then “Print” from the menu bar.