• This topic has 3 replies, 2 voices, and was last updated December 4, 2023 by Andre E.

Zerto Powershell and individual VMs

  • I have a number of vms spread across several vpgs that I’m trying to script a failover test for.  The problem I’m running into is that I don’t want to target all of the vms in those vpgs, but I’m not seeing a way to run a failover test against vms specifically. Short of moving the targeted vms to one vpg, does anyone have any thoughts or ideas how to do this?

    Did I perhaps place this question in the wrong forum?

    Hi Andre,

     

    I am not sure if this question is still relevant, but you can provide a list of VmIdentifiers in the post call to https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/FailoverTest:

    {
    “CheckpointIdentifier”: “String content”
    “VmIdentifiers”:
    [
    VmIdentifier”: “string content”
    ] }

     

    Hope this helps,

    Ron

    Thanks Ron!

The forum ‘Scripting and APIs’ is closed to new topics and replies.