Remove a Restored ActiveDR Pod with AVS

Everpure Cloud Dedicated for Azure

Audience
Public
Source Type
Documentation

Before demoting a target pod (part of the test cleanup scenarios), or demoting a source pod mounted to AVS cluster, you have to remove the datastore. Therefore, the process to prepare a VMware environment involves shutting down virtual machines running off of the ActiveDR-protected storage and informing the ESXi hosts that this storage will go away.

Refer to Demoting an ActiveDR Pod in a VMware Environment, for more in-depth information.

Executing the Remove run command can be done via Cloud Manager OVA or any machine has PureStoragePowerShellSDK2 installed on it and can connect and authenticate to Everpure Cloud Dedicated.

The Remove-PCBSVmfsDatastore command will perform two actions:

  1. Dismounts and removes an existing Everpure Cloud Dedicated VMFS datastore from AVS.
  2. Removes the volume from the Everpure Cloud Dedicated host group and deletes the volume in Everpure Cloud Dedicated.
    
    Remove-PCBSVmfsDatastore  -ClusterName "mycluster" -DatastoreName "myDatastore -AVSCloudName "myAVSCloudName" -AVSResourceGroup "myAVSResourceGroup"