SnapCenter Software 6 Manuals ( CA08871-404 )
SnapCenter Server installation
Prepare for installing the SnapCenter Server
Domain and workgroup requirements
Supported storage systems and applications
Connection and port requirements
Install the SnapCenter Server on Windows host
Install the SnapCenter Server on Linux host
Configure CA Certificate for Windows host
Generate CA Certificate CSR file
Get the CA certificate thumbprint
Configure CA certificate with Windows host plug-in services
Configure CA Certificate for Linux host
Configure and enable two-way SSL communication on Windows host
Configure and enable two-way SSL communication on Linux host
Configure Certificate-based Authentication
Export Certificate Authority (CA) certificates from SnapCenter Server
Import CA Certificate to the Windows host plug-ins
Import CA Certificate to the UNIX host plug-ins and configure root or intermediate certificates to SPL trust-store
Import CA Certificate to the UNIX host plug-ins
Configure root or intermediate certificates to SPL trust-store
Configure Active Directory, LDAP, and LDAPS
Configure High Availability
Configure SnapCenter Servers for High Availability using F5
Configure Microsoft Network Load Balancer manually
Switch from NLB to F5 for high availability
Configure role-based access control (RBAC)
Add a user or group and assign role and assets
Add an ONTAP RBAC role using security login commands
Create SVM roles with minimum privileges
Create ONTAP cluster roles with minimum privileges
Configure IIS Application Pools to enable Active Directory read permissions
Add SnapCenter Standard controller-based licenses
Provision your storage system
Provision storage on Windows hosts
Configure secured MySQL connections with SnapCenter Server
Protect Microsoft SQL Server databases
SnapCenter Plug-in for Microsoft SQL Server
SnapCenter Plug-in for Microsoft SQL Server overview
What you can do with the SnapCenter Plug-in for Microsoft SQL Server
SnapCenter Plug-in for Microsoft SQL Server features
Support for Asymmetric LUN Mapping in Windows clusters
Storage types supported by SnapCenter Plug-in for Microsoft SQL Server
Storage layout recommendations for SnapCenter Plug-in for Microsoft SQL Server
Minimum ONTAP privileges required for SQL plug-in
Prepare storage systems for SnapMirror and SnapVault replication
Backup strategy for SQL Server resources
Define a backup strategy for SQL Server resources
Backup schedules for database plug-ins
Number of backup jobs needed for databases
How long to retain transaction log backups on the source storage system
Multiple databases on the same volume
Backup copy verification using the primary or secondary storage volume
Restoration strategy for SQL Server
Define a restoration strategy for SQL Server
Sources and destinations for a restore operation
Quick start to install SnapCenter Plug-in for Microsoft SQL Server
Prepare for Snapcenter Server and Plug-in installation
Prepare to install the SnapCenter Plug-in for Microsoft SQL Server
Installation workflow for SnapCenter Plug-in for Microsoft SQL Server
Prerequisites to add hosts and install SnapCenter Plug-in for Microsoft SQL Server
Host requirements to install SnapCenter Plug-ins Package for Windows
Set up credentials for the SnapCenter Plug-ins Package for Windows
Configure credentials for an individual SQL Server resource
Configure gMSA on Windows Server 2016 or later
Install SnapCenter Plug-in for Microsoft SQL Server
Add hosts and install the SnapCenter Plug-ins Package for Windows
Install SnapCenter Plug-in for Microsoft SQL Server on multiple remote hosts by using cmdlets
Install the SnapCenter Plug-in for Microsoft SQL Server silently from the command line
Install SnapCenter Plug-in for VMware vSphere
Prepare for data protection
Prerequisites for using SnapCenter Plug-in for Microsoft SQL Server
How resources, resource groups, and policies are used for protecting SQL Server
Back up SQL Server database, or instance, or availability group
Determine whether resources are available for backup
Migrate resources to ETERNUS AX/HX Series
Create backup policies for SQL Server databases
Create resource groups and attach policies for SQL Server
Requirements for backing up SQL resources
Back up SQL Server resource groups
Monitor backup operations
Create a storage system connection and a credential using PowerShell cmdlets
Back up resources using PowerShell cmdlets
Cancel the SnapCenter Plug-in for Microsoft SQL Server backup operations
View SQL Server backups and clones in the Topology page
Remove backups using PowerShell cmdlets
Clean up the secondary backup count using PowerShell cmdlets
Protect SAP HANA databases
SnapCenter Plug-in for SAP HANA Databases
SnapCenter Plug-in for SAP HANA Database overview
What you can do using the SnapCenter Plug-in for SAP HANA Database
SnapCenter Plug-in for SAP HANA Database features
Storage types supported by SnapCenter Plug-in for SAP HANA Database
Minimum ONTAP privileges required
Prepare storage systems for SnapMirror and SnapVault replication
Backup strategy for SAP HANA databases
Define a backup strategy for SAP HANA databases
Automatic discovery of resources on Linux host
How SnapCenter Plug-in for SAP HANA Database uses consistency group Snapshot copies
How SnapCenter manages housekeeping of log and data backups
Considerations for determining backup schedules for SAP HANA database
Restore and recovery strategy for SAP HANA databases
Define a restore and recovery strategy for SAP HANA resources
Types of restore strategies supported for manually added SAP HANA resources
Types of restore strategies supported for automatically discovered SAP HANA databases
Types of restore operations for auto discovered SAP HANA databases
Types of recovery operations supported for SAP HANA databases
Prepare to install the SnapCenter Plug-in for SAP HANA Database
Installation workflow of SnapCenter Plug-in for SAP HANA Database
Prerequisites for adding hosts and installing SnapCenter Plug-in for SAP HANA Database
Host requirements to install SnapCenter Plug-ins Package for Windows
Host requirements for installing the SnapCenter Plug-ins Package for Linux
Set up credentials for the SnapCenter Plug-in for SAP HANA Database
Configure gMSA on Windows Server 2016 or later
Install the SnapCenter Plug-in for SAP HANA Databases
Add hosts and install plug-in packages on remote hosts
Install SnapCenter Plug-in Packages for Linux or Windows on multiple remote hosts by using cmdlets
Configure CA Certificate
Generate CA Certificate CSR file
Get the CA certificate thumbprint
Configure CA certificate with Windows host plug-in services
Configure the CA Certificate for the SnapCenter SAP HANA Plug-ins service on Linux host
Configure the CA Certificate for the SnapCenter SAP HANA Plug-ins service on Windows host
Install SnapCenter Plug-in for VMware vSphere
Prepare for data protection
Prerequisites for using the SnapCenter Plug-in for SAP HANA Database
How resources, resource groups, and policies are used for protecting SAP HANA databases
Back up SAP HANA resources
Configure HDB User Store Key and HDBSQL OS User for the SAP HANA database
Discover resources and prepare multitenant database containers for data protection
Add resources manually to the plug-in host
Create backup policies for SAP HANA databases
Create resource groups and attach policies
Create a storage system connection and a credential using PowerShell cmdlets for SAP HANA database
Back up databases using PowerShell cmdlets
Monitor backup operations
View SAP HANA database backups and clones in the Topology page
Protect Oracle databases
Overview of SnapCenter Plug-in for Oracle Database
What can you do with the Plug-in for Oracle Database
Features of Plug-in for Oracle
Storage types supported by Plug-in for Oracle Database
Prepare storage systems for SnapMirror and SnapVault replication for Plug-in for Oracle
Install SnapCenter Plug-in for Oracle Database
Installation workflow of SnapCenter Plug-in for Oracle Database
Prerequisites for adding hosts and installing Plug-ins Package for Linux or AIX
Add hosts and install Plug-ins Package for Linux or AIX
Alternate ways to install Plug-ins Package for Linux or AIX
Configure the SnapCenter Plug-in Loader service
Configure CA certificate with SnapCenter Plug-in Loader service on Linux host
Enable CA Certificates for plug-ins
Import data from SnapManager for Oracle and SnapManager for SAP to SnapCenter
Install SnapCenter Plug-in for VMware vSphere
Prepare for protecting Oracle databases
Back up Oracle databases
Backup configuration information
Supported backup configurations
How SnapCenter discovers Oracle databases
Mount and unmount database backups
Restore and recover Oracle databases
Define a restore and recovery strategy for Oracle databases
Predefined environment variables for restore specific prescript and postscript
Requirements for restoring an Oracle database
Restore and recover Oracle database
Restore and recover tablespaces using point-in-time recovery
Restore and recover pluggable database using point-in-time recovery
Restore and recover Oracle databases using UNIX commands
Clone Oracle database
Define a clone strategy for Oracle databases
Predefined environment variables for clone specific prescript and postscript
Requirements for cloning an Oracle database
Clone Oracle database backups using UNIX commands
Split an Oracle Database Clone
Split clone of a pluggable database
Manage application volumes
Backup application volumes
Protect Windows file systems
SnapCenter Plug-in for Microsoft Windows concepts
SnapCenter Plug-in for Microsoft Windows overview
What you can do with the SnapCenter Plug-in for Microsoft Windows
SnapCenter Plug-in for Windows features
How SnapCenter backs up Windows file systems
Storage types supported by SnapCenter Plug-in for Microsoft Windows
Minimum ONTAP privileges required for Windows plug-in
Prepare storage systems for SnapMirror and SnapVault replication
Install SnapCenter Plug-in for Microsoft Windows
Installation workflow of SnapCenter Plug-in for Microsoft Windows
Installation requirements for SnapCenter Plug-in for Microsoft Windows
Add hosts and install SnapCenter Plug-in for Microsoft Windows
Install SnapCenter Plug-in for Microsoft Windows on multiple remote hosts using PowerShell cmdlets
Install the SnapCenter Plug-in for Microsoft Windows silently from the command line
Install SnapCenter Plug-in for VMware vSphere
Back up Windows file systems
Determine resource availability for Windows file systems
Create backup policies for Windows file systems
Create resource groups for Windows file systems
Back up a single resource on demand for Windows file systems
Back up resource groups for Windows file systems
Create a storage system connection and a credential using PowerShell cmdlets
Back up resources using PowerShell cmdlets
View related backups and clones in the Topology page
Remove backups using PowerShell cmdlets
Clean up the secondary backup count using PowerShell cmdlets
Restore Windows file systems
Restore Windows file system backups
Protect Microsoft Exchange Server databases
SnapCenter Plug-in for Microsoft Exchange Server concepts
What you can do with SnapCenter Plug-in for Microsoft Exchange Server
Minimum ONTAP privileges required
Prepare storage systems for SnapMirror and SnapVault replication
Install SnapCenter Plug-in for Microsoft Exchange Server
Installation workflow of SnapCenter Plug-in for Microsoft Exchange Server
Prerequisites to add hosts and install SnapCenter Plug-in for Microsoft Exchange Server
Set up credentials for SnapCenter Plug-in for Windows
Configure gMSA on Windows Server 2016 or later
Add hosts and install Plug-in for Exchange
Install Plug-in for Exchange from the SnapCenter Server host using PowerShell cmdlets
Install the SnapCenter Plug-in for Exchange silently from the command line
Monitor SnapCenter plug-in package installation status
Configure CA Certificate
Generate CA Certificate CSR file
Get the CA certificate thumbprint
Configure SnapManager 7.x for Exchange and SnapCenter to coexist
Install SnapCenter Plug-in for VMware vSphere
Back up Exchange resources
Exchange database and backup verification
Determine whether Exchange resources are available for backup
Create backup policies for Exchange Server databases
Create resource groups and attach policies for Exchange Servers
Back up Exchange resources groups
Create a storage system connection and a credential using PowerShell cmdlets for Exchange Server
Back up Exchange resources using PowerShell cmdlets
Cancel backup operations for Exchange database
Restore Exchange resources
Requirements for restoring an Exchange database
Granular recovery of mails and mailbox
Restore an Exchange Server database from secondary storage
Restore Exchange resources using PowerShell cmdlets
Reseed a passive Exchange node replica
Reseed a replica using PowerShell cmdlets for Exchange database
Protect IBM Db2
SnapCenter Plug-in for IBM Db2
SnapCenter Plug-in for IBM Db2 overview
What you can do using the SnapCenter Plug-in for IBM Db2
SnapCenter Plug-in for IBM Db2 features
Storage types supported by SnapCenter Plug-in for IBM Db2
Minimum ONTAP privileges required
Prepare storage systems for SnapMirror and SnapVault replication
Backup strategy for IBM Db2
Define a backup strategy for IBM Db2
Automatic discovery of resources on Linux host
How SnapCenter Plug-in for IBM Db2 uses consistency group Snapshot copies
How SnapCenter manages housekeeping of log backups
Considerations for determining backup schedules for IBM Db2
Prepare to install the SnapCenter Plug-in for IBM Db2
Installation workflow of SnapCenter Plug-in for IBM Db2
Prerequisites for adding hosts and installing SnapCenter Plug-in for IBM Db2
Host requirements to install SnapCenter Plug-ins Package for Windows
Host requirements for installing the SnapCenter Plug-ins Package for Linux
Set up credentials for the SnapCenter Plug-in for IBM Db2
Configure gMSA on Windows Server 2016 or later
Install the SnapCenter Plug-in for IBM Db2
Add hosts and install plug-in packages on remote hosts
Install SnapCenter Plug-in Packages for Linux or Windows on multiple remote hosts by using cmdlets
Install the SnapCenter Plug-in for IBM Db2 on Linux hosts by using the command-line interface
Configure CA Certificate
Generate CA Certificate CSR file
Get the CA certificate thumbprint
Configure CA certificate with Windows host plug-in services
Configure the CA Certificate for the SnapCenter IBM Db2 Plug-ins service on Linux host
Configure the CA Certificate for the SnapCenter IBM Db2 Plug-ins service on Windows host
Prepare for data protection
Prerequisites for using the SnapCenter Plug-in for IBM Db2
How resources, resource groups, and policies are used for protecting IBM Db2
Back up IBM Db2 resources
Discover the databases automatically
Add resources manually to the plug-in host
Create backup policies for IBM Db2
Create resource groups and attach policies
Create a storage system connection and a credential using PowerShell cmdlets for IBM Db2
Back up databases using PowerShell cmdlets
Monitor backup operations
View IBM Db2 database backups and clones in the Topology page
Protect PostgreSQL
SnapCenter Plug-in for PostgreSQL
SnapCenter Plug-in for PostgreSQL overview
What you can do using the SnapCenter Plug-in for PostgreSQL
SnapCenter Plug-in for PostgreSQL features
Storage types supported by SnapCenter Plug-in for PostgreSQL
Minimum ONTAP privileges required
Prepare storage systems for SnapMirror and SnapVault replication
Backup strategy for PostgreSQL
Define a backup strategy for PostgreSQL
Automatic discovery of resources on Linux host
How SnapCenter Plug-in for PostgreSQL uses consistency group Snapshot copies
How SnapCenter manages housekeeping of log backups
Considerations for determining backup schedules for PostgreSQL
Restore and recovery strategy for PostgreSQL
Define a restore and recovery strategy for PostgreSQL resources
Types of restore strategies supported for manually added PostgreSQL resources
Types of restore strategies supported for automatically discovered PostgreSQL
Prepare to install the SnapCenter Plug-in for PostgreSQL
Installation workflow of SnapCenter Plug-in for PostgreSQL
Prerequisites for adding hosts and installing SnapCenter Plug-in for PostgreSQL
Host requirements to install SnapCenter Plug-ins Package for Windows
Host requirements for installing the SnapCenter Plug-ins Package for Linux
Set up credentials for the SnapCenter Plug-in for PostgreSQL
Configure gMSA on Windows Server 2016 or later
Install the SnapCenter Plug-in for PostgreSQL
Add hosts and install plug-in packages on remote hosts
Install SnapCenter Plug-in Packages for Linux or Windows on multiple remote hosts by using cmdlets
Install the SnapCenter Plug-in for PostgreSQL on Linux hosts by using the command-line interface
Configure CA Certificate
Generate CA Certificate CSR file
Get the CA certificate thumbprint
Configure CA certificate with Windows host plug-in services
Configure the CA Certificate for the SnapCenter PostgreSQL Plug-ins service on Linux host
Configure the CA Certificate for the SnapCenter PostgreSQL Plug-ins service on Windows host
Prepare for data protection
Prerequisites for using the SnapCenter Plug-in for PostgreSQL
How resources, resource groups, and policies are used for protecting PostgreSQL
Back up PostgreSQL resources
Discover the clusters automatically
Add resources manually to the plug-in host
Create backup policies for PostgreSQL
Create resource groups and attach policies
Create a storage system connection and a credential using PowerShell cmdlets for PostgreSQL
Back up clusters using PowerShell cmdlets
Monitor backup operations
View PostgreSQL cluster backups and clones in the Topology page
Protect MySQL
SnapCenter Plug-in for MySQL
SnapCenter Plug-in for MySQL overview
What you can do using the SnapCenter Plug-in for MySQL
SnapCenter Plug-in for MySQL features
Storage types supported by SnapCenter Plug-in for MySQL
Minimum ONTAP privileges required
Prepare storage systems for SnapMirror and SnapVault replication
Backup strategy for MySQL
Define a backup strategy for MySQL
Automatic discovery of resources on Linux host
How SnapCenter Plug-in for MySQL uses consistency group Snapshot copies
How SnapCenter manages housekeeping of data backups
Considerations for determining backup schedules for MySQL
Prepare to install the SnapCenter Plug-in for MySQL
Installation workflow of SnapCenter Plug-in for MySQL
Prerequisites for adding hosts and installing SnapCenter Plug-in for MySQL
Host requirements to install SnapCenter Plug-ins Package for Windows
Host requirements for installing the SnapCenter Plug-ins Package for Linux
Set up credentials for the SnapCenter Plug-in for MySQL
Install the SnapCenter Plug-in for MySQL
Add hosts and install plug-in packages on remote hosts
Install SnapCenter Plug-in Packages for Linux or Windows on multiple remote hosts by using cmdlets
Install the SnapCenter Plug-in for MySQL on Linux hosts by using the command-line interface
Configure CA Certificate
Generate CA Certificate CSR file
Get the CA certificate thumbprint
Configure CA certificate with Windows host plug-in services
Configure the CA Certificate for the SnapCenter MySQL Plug-ins service on Linux host
Configure the CA Certificate for the SnapCenter MySQL Plug-ins service on Windows host
Prepare for data protection
Prerequisites for using the SnapCenter Plug-in for MySQL
How resources, resource groups, and policies are used for protecting MySQL
Back up MySQL resources
Discover the databases automatically
Add resources manually to the plug-in host
Create backup policies for MySQL
Create resource groups and attach policies
Create a storage system connection and a credential using PowerShell cmdlets for MySQL
Back up databases using PowerShell cmdlets
Monitor backup operations
Protect Unix file systems
Overview of SnapCenter Plug-in for Unix file systems
Install SnapCenter Plug-in for Unix file systems
Prerequisites for adding hosts and installing Plug-ins Package for Linux
Add hosts and install Plug-ins Package for Linux
Configure the SnapCenter Plug-in Loader service
Configure CA certificate with SnapCenter Plug-in Loader service on Linux host
Install SnapCenter Plug-in for VMware vSphere
Prepare for protecting Unix file systems
Back up Unix file systems
Restore and recover Unix file systems
Clone Unix file systems
Protect applications running on Azure NetApp Files
Install SnapCenter and create credentials
Install SnapCenter on Azure Virtual Machine
Create the Azure credential in SnapCenter
Protect SAP HANA databases
Add hosts and install SnapCenter plug-in for SAP HANA database
Create backup policies for SAP HANA databases
Create resource groups and attach SAP HANA backup policies
Back up SAP HANA databases running on Azure NetApp Files
Back up SAP HANA resource groups
Protect Microsoft SQL Server databases
Add hosts and install SnapCenter plug-in for SQL Server database
Create backup policies for SQL Server databases
Create resource groups and attach SQL backup policies
Back up SQL Server databases running on Azure NetApp Files
Back up SQL Server resource groups
Protect Oracle databases
Add hosts and install SnapCenter plug-in for Oracle database
Create backup policies for Oracle databases
Create resource groups and attach Oracle backup policies
Back up Oracle databases running on Azure NetApp Files
Back up Oracle resource groups
Protect our supported plug-ins
Our supported plug-ins
Our supported plug-ins overview
What you can do with the our supported plug-ins
Our supported plug-ins features
Storage types supported by our supported plug-ins
Minimum ONTAP privileges required for our supported plug-ins
Prepare storage systems for SnapMirror and SnapVault replication
Backup strategy for our supported plug-ins
Types of restore strategies supported for manually added our supported plug-ins resources
Develop a plug-in for your application
Prepare to install our supported plug-ins
Installation workflow of our supported plug-ins
Prerequisites for adding hosts and installing our supported plug-ins
Host requirements to install SnapCenter Plug-ins Package for Windows
Host requirements for installing the SnapCenter Plug-ins Package for Linux
Set up credentials for our supported plug-ins
Configure gMSA on Windows Server 2016 or later
Install the our supported plug-ins
Add hosts and install plug-in packages on remote hosts
Install SnapCenter Plug-in Packages for Linux or Windows on multiple remote hosts by using cmdlets
Install the our supported plug-ins on Linux hosts by using the command-line interface
Configure CA Certificate
Generate CA Certificate CSR file
Get the CA certificate thumbprint
Configure CA certificate with Windows host plug-in services
Configure the CA Certificate for the SnapCenter Custom Plug-ins service on Linux host
Configure the CA Certificate for the SnapCenter Custom Plug-ins service on Windows host
Prepare for data protection
Back up our supported plug-ins resources
Add resources to our supported plug-ins
Create policies for our supported plug-ins resources
Create resource groups and attach policies
Back up individual our supported plug-ins resources
Back up resource groups of our supported plug-in resources
Create a storage system connection and a credential using PowerShell cmdlets
Back up resources using PowerShell cmdlets
View our supported plug-ins resource related backups and clones in the Topology page
Restore our supported plug-ins resources
Clone our supported plug-ins resource backups
Manage SnapCenter Server and plug-ins
View dashboard
How to view information on the dashboard
Operations supported from the Resources page
Monitor jobs, schedules, events, and logs
Overview of SnapCenter reporting capabilities
Manage the SnapCenter Server repository
Upgrade SnapCenter Server and plug-ins
Configure SnapCenter to check for available updates
Upgrade the SnapCenter Server on Windows host
Uninstall SnapCenter Server and plug-ins
Uninstall SnapCenter plug-in packages
Prerequisites for removing a host
Uninstall plug-ins using the SnapCenter GUI
Uninstall Windows plug-ins using the PowerShell cmdlet
Input variables controlling an API request
You can control how an API call is processed through parameters and variables set in the HTTP request.
HTTP methods
The HTTP methods supported by the SnapCenter REST API are shown in the following table.
Not all the HTTP methods are available at each of the REST endpoints. |
HTTP method | Description |
---|---|
GET |
Retrieves object properties on a resource instance or collection. |
POST |
Creates a new resource instance based on the supplied input. |
DELETE |
Deletes an existing resource instance. |
PUT |
Modifies an existing resource instance. |
Request headers
You should include several headers in the HTTP request.
Content-type
If the request body includes JSON, this header should be set to application/json.
Accept
This header should be set to application/json.
Authorization
Basic authentication should be set with the user name and password encoded as a base64 string.
Request body
The content of the request body varies depending on the specific call. The HTTP request body consists of one of the following:
-
JSON object with input variables
-
Empty
Filtering objects
When issuing an API call that uses GET, you can limit or filter the returned objects based on any attribute. For example, you can specify an exact value to match:
<field>=<query value>
In addition to an exact match, other operators are available to return a set of objects over a range of values. The SnapCenter REST API supports the filtering operators shown in the table below.
Operator | Description |
---|---|
= |
Equal to |
< |
Less than |
> |
Greater than |
⇐ |
Less than or equal to |
>= |
Greater than or equal to |
UPDATE |
Or |
! |
Not equal to |
* |
Greedy wildcard |
You can also return a collection of objects based on whether a specific field is set or not set by using the null keyword or its negation !null as part of the query.
Any fields that are not set are generally excluded from matching queries. |
Requesting specific object fields
By default, issuing an API call using GET returns only the attributes that uniquely identify the object or objects. This minimum set of fields acts as a key for each object and varies based on the object type. You can select additional object properties using the fields
query parameter in the following ways:
Common or standard fields
Specify fields=* to retrieve the most commonly used object fields. These fields are typically maintained in local server memory or require little processing to access. These are the same properties returned for an object after using GET with a URL path key (UUID).
All fields
Specify fields=** to retrieve all the object fields, including those requiring additional server processing to access.
Custom field selection
Use fields=<field_name> to specify the exact field you want. When requesting multiple fields, the values must be separated using commas without spaces.
As a best practice, you should always identify the specific fields you want. You should only retrieve the set of common fields or all fields when needed. Which fields are classified as common, and returned using fields=*, is determined by Fujitsu based on internal performance analysis. The classification of a field might change in future releases. |
Sorting objects in the output set
The records in a resource collection are returned in the default order defined by the object. You can change the order using the order_by
query parameter with the field name and sort direction as follows:
order_by=<field name> asc|desc
For example, you can sort the type field in descending order followed by id in ascending order:
order_by=type desc, id asc
-
If you specify a sort field but do not provide a direction, the values are sorted in ascending order.
-
When including multiple parameters, you must separate the fields with a comma.
Pagination when retrieving objects in a collection
When issuing an API call using GET to access a collection of objects of the same type, SnapCenter attempts to return as many objects as possible based on two constraints. You can control each of these constraints using additional query parameters on the request. The first constraint reached for a specific GET request terminates the request and therefore limits the number of records returned.
If a request ends before iterating over all the objects, the response contains the link needed to retrieve the next batch of records. |
Limiting the number of objects
By default, SnapCenter returns a maximum of 10,000 objects for a GET request. You can change this limit using the max_records query parameter. For example:
max_records=20
The number of objects actually returned can be less than the maximum in effect, based on the related time constraint as well as the total number of objects in the system.
Limiting the time used to retrieve the objects
By default, SnapCenter returns as many objects as possible within the time allowed for the GET request. The default timeout is 15 seconds. You can change this limit using the return_timeout query parameter. For example:
return_timeout=5
The number of objects actually returned can be less than the maximum in effect, based on the related constraint on the number of objects as well as the total number of objects in the system.
Narrowing the result set
If needed, you can combine these two parameters with additional query parameters to narrow the result set. For example, the following returns up to 10 EMS events generated after the specified time:
time⇒ 2018-04-04T15:41:29.140265Z&max_records=10
You can issue multiple requests to page through the objects. Each subsequent API call should use a new time value based on the latest event in the last result set.
Size properties
The input values used with some API calls as well as certain query parameters are numeric. Rather than provide an integer in bytes, you can optionally use a suffix as shown in the following table.
Suffix | Description |
---|---|
KB |
KB Kilobytes (1024 bytes) or kibibytes |
MB |
MB Megabytes (KB x 1024 bytes) or mebibytes |
GB |
GB Gigabytes (MB x 1024 bytes) or gibibytes |
TB |
TB Terabytes (GB x 1024 byes) or tebibytes |
PB |
PB Petabytes (TB x 1024 byes) or pebibytes |