Restore a VMFS Volume

Everpure Cloud Dedicated for Azure

Audience
Public
Source Type
Documentation

Function name: Restore-PCBSVmfsDatastore

Function action:

  1. Running this command with the -VolumeSnapshotName flag will cause a new volume to be copied from a snapshot of VMFS volume on the Everpure Cloud Dedicated array. The new volume will then be mounted to the AVS cluster.

  2. Running this command with the -VolumeName command will make a new VMFS datastore based on the existing VMFS volume specified. The VMFS volume will then be mounted to the AVS cluster as a new datastore. If the volume does not include VMFS signatures, it will be skipped.

  3. Running this command with the -ProtectionGroupSnapshotName command will enumerate over all the volume snapshots of the protection group, create new volume, then mount them to the AVS cluster. If the volume snapshot does not include VMFS signatures, it will be skipped.

  4. Running this command with the -PodName command will enumerate over all the volume in the pod, then resignature and mount them to AVS cluster. If the volume does not include VMFS signatures, it will be skipped.

Invoked when:

  1. A new VMFS volume needs to be created from an existing snapshot such as a replicated snapshot from an on-premises FlashArray.

  2. An additional copy of a VMFS volume needs to be created and utilized in AVS Note: you have to create a copy of existing VMFS volume manually first, then you can use Restore-PCBSVmfsDatastore command to create new datastore and mount it to the AVS cluster.

  3. New volume(s) needs to be created from the protection group snapshots. Protection group can be local or remote.

  4. A VMFS volume needs to be created from the replicated target pod volume. Note: Pod needs to be promoted before running this command.

Examples:

  • Sample Command 1 with minimum required arguments:

    Restore-PCBSVmfsDatastore -ClusterName "myCluster" -VolumeSnapshotName "myCBSSnapshotName" -AVSCloudName "myAVSCloudName" -AVSResourceGroup "myAVSResourceGroup"
  • Sample Command 2 with minimum required arguments:

    Restore-PCBSVmfsDatastore -ClusterName "myCluster" -VolumeName "myCBSVolumeName" -AVSCloudName "myAVSCloudName" -AVSResourceGroup "myAVSResourceGroup"
  • Sample Command 3 with minimum required arguments:

    Restore-PCBSVmfsDatastore -ClusterName "myCluster" -ProtectionGroupSnapshotName "myCBSPGName" -AVSCloudName "myAVSCloudName" -AVSResourceGroup "myAVSResourceGroup"
  • Sample Command 4 with minimum required arguments:

    Restore-PCBSVmfsDatastore -ClusterName "myCluster" -PodName "myCBSPodName" -AVSCloudName "myAVSCloudName" -AVSResourceGroup "myAVSResourceGroup"
  • Additional Optional Arguments:

    -DatastoreName "myVMFSName"

    If the parameter is not specified, a generated name will be used. Example: " snap-######-<original volume/snapshot name on EverpureCloudDedicated>"

    -PureCloudBlockStoreConnection $CBSConnection

    If you have multiple Everpure Cloud Dedicated connections in your PowerShell session you may pass this variable to select the Everpure Cloud Dedicated connection you want to use.