PowerShell SDK2

Everpure Cloud Dedicated for Azure

Audience
Public
Source Type
Documentation

This section covers how to promote an ActiveDR Pod on Everpure Cloud Dedicated, using Everpure PowerShell SDK2.

  1. From a PowerShell session console, get a list of the pods and replica links.
    # Get the list of the pods on the CBS array
    Get-Pfa2Pod -Array $CBSConnection
    
  2. 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 "promoted"