Using datastore clusters

Since we have configured the different types of datastores, let's configure the datastore cluster. We can use following cmdlets to manage different aspects of a datastore cluster:

  • Get-DatastoreCluster
  • New-DatastoreCluster
  • Remove-DatastoreCluster
  • Set-DatastoreCluster

Let's start by checking whether we already have a datastore cluster configured or not:

PS C:\> Get-DatastoreCluster
PS C:\>

We can see that there is no DatastoreCluster configured in the environment. So let's first create DatastoreCluster. As you can see in the following screenshot, we have created a datastore cluster named iSCSI-Cluster in Datacenter:

Using datastore clusters

We can again ...

Get Mastering PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.