This section covers how to promote an ActiveDR Pod on Everpure Cloud Dedicated, using Everpure PowerShell SDK2.
- From a PowerShell session console, get a list of the pods and replica links.
# Get the list of promoted pods on the CBs array
Get-Pfa2Pod -Array $CBSConnection | Where-Object { $_.PromotionStatus -eq "promoted" }
- Promote the pod using the name of the pod.
# Pass the pod name
$TargetPodName = "avs-adr-pod-cbs"
# Promote the pod
Update-Pfa2Pod -Array $CBSConnection -Name $TargetPodName -RequestedPromotionState "demoted"