Files
Zerto-Python-SDK-Hands-On-Labs/exercises/05_vpg_operations
2025-06-12 20:09:35 -04:00
..
2025-06-12 20:09:35 -04:00
2025-05-22 10:10:15 -04:00

Exercise 5: VPG Operations

Overview

This exercise covers the core functionality of VPG management. You'll learn how to create VPGs, manage VMs within them, and handle VPG settings.

Objectives

  • Create new VPGs
  • Add VMs to VPGs
  • Remove VMs from VPGs
  • Manage VPG settings
  • Validate VPG configurations

Time

15 minutes

Prerequisites

  • Completed Exercise 4
  • Working resource discovery
  • Access to VMs for protection

Exercise Steps

  1. Create a new VPG
  2. Add VMs to the VPG
  3. Configure VPG settings
  4. Validate the VPG
  5. Remove VMs from VPG

Working Directory

The working directory contains:

  • create_vpg.py - Template for VPG creation
  • manage_vms.py - Template for VM management

Solution

The solution directory contains:

  • create_vpg.py - Complete VPG creation example
  • manage_vms.py - Complete VM management example

Key Concepts

  • VPG creation
  • VM management
  • VPG settings
  • VPG validation
  • Resource allocation

Common Issues

  • Invalid VPG settings
  • VM compatibility issues
  • Resource constraints
  • Validation failures

Next Steps

Proceed to Exercise 6: Failover Testing to learn about VPG testing.