Skip to main content
ONTAP tools for VMware vSphere 10
È disponibile una versione più recente di questo prodotto.
La versione in lingua italiana fornita proviene da una traduzione automatica. Per eventuali incoerenze, fare riferimento alla versione in lingua inglese.

Montare e smontare un datastore vVols

È possibile montare un datastore VMware Virtual Volumes (vVols) su uno o più host aggiuntivi utilizzando la finestra di dialogo Mount vVols Datastore. Il montaggio del datastore fornisce l'accesso allo storage a host aggiuntivi. È anche possibile smontare il datastore vVol.

Utilizzare la seguente API per montare o smontare un datastore vVol. È necessario passare x-auth per l'API. È possibile generare questo x-auth dalla nuova API aggiunta in Auth in Swagger.

/virtualization/api/v1/auth/vcenter-login
PATCH
/virtualization/api/v1/vcenters/{vcguid}/vvols/datastores/{moref}/hosts

Ottieni moref del datastore vVol da vCenter.

Corpo della richiesta

{
  "operation": "mount",
  "morefs": [
    "host-7044"
  ],
}

Esempi:

  • Montaggio su host aggiuntivo

Utilizzare la seguente API per il montaggio su host aggiuntivo:

/api/v1/vcenters/cdded9ad-6bsd-4c9e-b44g-691250bfe2df/vvols/datastores/datastore-24/hosts

     Request Body
     {
      "operation": "mount",
      "morefs": ["host-13"],
     }
  • Smontare su un host aggiuntivo

Utilizzare la seguente API per smontare l'host aggiuntivo:

/api/v1/vcenters/cdded9ad-6bsd-4c9e-b44g-691250bfe2df/vvols/datastores/datastore-24/hosts

     Request Body
     {
      "operation": "unmount",
      "morefs": ["host-13"],
     }