Configure the replication of the virtual machines that participate in the analytics cluster of the VMware Aria Operations. Create a protection group and a recovery plan to support failover to the recovery VMware Cloud Foundation instance. Replica virtual machines become active upon failover. You create a protection group and recovery plan along with the replication.

For the following procedure, use the VMware Cloud Foundation Planning and Preparation Workbook.

UI Procedure

  1. Log in to Site Recovery Manager at https://<srm_fqdn/dr> in the protected VMware Cloud Foundation instance as [email protected].
  2. In the site pair pane, click View details.

  3. On the main navigation bar, click Replications.
  4. In the left pane, click Outgoing and click New.

    The Configure replication wizard opens.

  5. On the Target site page, select Auto-assign vSphere Replication server and click Next.

  6. On the Virtual machines page, select the virtual machines according to your VMware Cloud Foundation Planning and Preparation Workbook, and click Next.

  7. On the Target datastore page, configure the following settings, configure the remaining settings according to your VMware Cloud Foundation Planning and Preparation Workbook, and click Next.

    Setting

    Value

    Disk format

    Same as source

    VM storage policy

    vSAN Default Storage Policy

  8. On the Replication settings page, configure the settings, configure the remaining settings according to your VMware Cloud Foundation Planning and Preparation Workbook, and click Next.

    Setting

    Value

    Enable point in time instances

    Selected

    Enable network compression for VR data

    Selected

    Enable encryption for VR data

    Deselected

    Note:

    Do not activate guest OS quiescing because the VMware Aria Operations databases does not support quiescing. Quiescing might result in a cluster failure because virtual disks remain in a frozen state.

    Compression requires additional host CPU resources. Do not activate it if the hosts are over-utilized.

  9. On the Protection group page, select Add to new protection group, enter a protection group name, and click Next.

  10. On the Recovery plan page, select Add to new recovery plan, enter a recovery plan name, and click Next.

  11. On the Ready to complete page, click Finish.

PowerShell Procedure

  1. Start PowerShell.

  2. Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.

    $sddcManagerAFqdn = "sfo-vcf01.sfo.rainpole.io"
    $sddcManagerAUser = "[email protected]"
    $sddcManagerAPass = "VMw@re1!"
    
    $sddcManagerBFqdn = "lax-vcf01.lax.rainpole.io"
    $sddcManagerBUser = "[email protected]"
    $sddcManagerBPass = "VMw@re1!"
    
    $vmList = @("xint-vrops01a","xint-vrops01b","xint-vrops01c")
    $recoveryPointObjective = 15
    $protectionGroup = "Intelligent Operations Management PG"
    $recoveryPlan = "Intelligent Operations Management RP"
  3. Perform the replication configuration by running the command in the PowerShell console.

    Add-vSphereReplication -sddcManagerAFqdn $sddcManagerAFqdn  -sddcManagerAUser $sddcManagerAUser -sddcManagerAPass $sddcManagerAPass -sddcManagerBFqdn $sddcManagerBFqdn -sddcManagerBUser $sddcManagerBUser -sddcManagerBPass $sddcManagerBPass -vmName $vmList -recoveryPointObjective $recoveryPointObjective
  4. Perform the protection group configuration by running the command in the PowerShell console.

    Add-ProtectionGroup -sddcManagerAFqdn $sddcManagerAFqdn -sddcManagerAUser $sddcManagerAUser -sddcManagerAPass $sddcManagerAPass -sddcManagerBFqdn $sddcManagerBFqdn -sddcManagerBUser $sddcManagerBUser -sddcManagerBPass $sddcManagerBPass -pgName $protectionGroup -vmName $vmList
  5. Perform the recovery plan configuration by running the command in the PowerShell console.

    Add-RecoveryPlan -sddcManagerAFqdn $sddcManagerAFqdn -sddcManagerAUser $sddcManagerAUser -sddcManagerAPass $sddcManagerAPass -sddcManagerBFqdn $sddcManagerBFqdn -sddcManagerBUser $sddcManagerBUser -sddcManagerBPass  $sddcManagerBPass -rpName $recoveryPlan -pgName $protectionGroup