Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Profitez de récompenses et de remises réservées aux membres
  • Créez et accédez à une liste de vos produits

ScaleIO: Using the REST API

Résumé: This article describes how to use the REST API to retrieve ScaleIO system information using either the ScaleIO Gateway or the AMS controller

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Instructions

This article will use the LInux curl command.   Similar commands can be executed using other REST API tools such as Postman.

If communicating with a ScaleIO system, use the IP address of the ScaleIO gateway.   If using an AMS cluster, use the AMS management IP address.

The initial username and password will be the username and password for thd MDM cluster.

Login to the REST API server:

curl -u <username>:<password> https://<IP address>/api/login

Returned value will be the authentication token.   You will use this as the password in other queries moving forward.

NOTE:  If you are using a self-signed certificate on your gateway or AMS controller, you will need to add the --insecure option to the command.

Obtain a list of objects:

To obtain a list of SDS servers:

curl -u admin:<authentication token>  https://<IP address>/api/types/Sds/instances/ --insecure

To obtain information on a specific SDS server

curl -u admin:<authentication token>  https://<IP address>/api/instances/Sds::<sds id> --insecure

To obtain a list of volumes:

curl -u admin:<authentication token>  https://<IP address>/api/types/Volume/instances/ --insecure

To obtain information on a specific volume:

curl -u admin:<authentication token>  https://<IP address>/api/instances/Volume::<volume id> --insecure

To obtain a list of Storage Pools:

curl -u admin:<authentication token>  https://<IP address>/api/types/StoragePool/instances/ --insecure

To obtain information on a specific Storage Pool

curl -u admin:<authentication token>  https://<IP address>/api/instances/StoragePool::<storage pool id> --insecure

Produits concernés

VxFlex Product Family

Produits

PowerFlex Software, VxFlex Product Family
Propriétés de l’article
Numéro d’article: 000022583
Type d’article: How To
Dernière modification: 20 sept. 2024
Version:  5
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.