• This forum has 174 topics, 347 replies, and was last updated July 2, 2024 by Michael M.
    • Scripting and APIs
    • MIB

      Hi to all, the mib package for zerto exist? I have searched but I haven’t find it. Thanks

    • People: 2
      Replies: 2
    • April 4, 2023
    • API/Powershell ZVM authentication

      Powershell version: 5.1 / ZVR Version: 5.5 Update1 I’m trying to do some testing with PowerShell and rest API. When using an example script from the White Paper “Automating Zerto Virtual Replication with PowerShell and REST APIs” (page 9) I’m having some authentication issues. I receive the exception error below. The problem seems to be, at […]

    • People: 1
      Replies: 3
    • March 25, 2023
    • API Token script generated : not enough rights

      I am using Zerto 9.5.   I intend to use the API to reset the RE-IP configuration which is automatically added after a failover. I have written a Python script to do so. I am able to connect to the API (generate a token), list the VPG list … However I am not able to […]

    • People: 1
      Replies: 0
    • March 23, 2023
    • API New VPG Error

      Zerto 7.5 U2 Attempting to create VPGs via API and receiving the following error: Invoke-RestMethod : {“Message”:”Exception occurred in API: The following properties are mandatory when replicating from vSphere to vSphere. Set these accordingly:\nName: DeleteBackup; Location: ProtectionGroupManagementSettings.ProtectionGroupSettings.BackupSettings\r\nName: TargetIdentifier; Location: ProtectionGroupManagementSettings.ProtectionGroupSettings.BackupSettings.Target”} Error seems to be in the backup settings of the JSON which mine look as […]

    • People: 3
      Replies: 2
    • March 20, 2023
    • CSV's Columns for Scheduling Offsite Clone

      I want to know CSV’s Columns for Scheduling Offsite Clone. I find Example of Scheduling Offsite Clone in Automating ZVR with Powershell and REST APIs Whitepaper. And I know that this script uses a csv list file about VPG. Although I can find the columns by looking at the code,  but I want to save […]

    • People: 2
      Replies: 2
    • March 20, 2023
    • API to start failover test fails

      I don’t use Cmdlets because I want to just learn one method across all application I script. Instead, I am using the POST method with Invoke_RestMethod and/or Invoke_WebRequest. Both return the same error. I can run the call from swagger and it works, but when I run the same call from PowerShell, I get the […]

    • People: 2
      Replies: 2
    • March 15, 2023
    • Viewing IPv4 Details of a Protected VM

      Is there a way for the API to return network details for protected VMs? Specifically I want to see information on whether or not the IPv4 address is DHCP or statically assigned for the failover and failover test networks, and if statically assigned, what the address is. I’ve looked on the swagger page and nothing […]

    • People: 2
      Replies: 2
    • February 7, 2023
    • Powershell cmdlet for Failover in Live environment

      Hi, I am looking for Powershell cmdlet for Failover in Live environment. There is a start-FailoverTest but it does only the test. Is there is any cmdlet for Live environment. I thought it should be start-Failover – But cmdlet doesn’t exist. I am using the version 4.5.  Any help will be appreciated…    

    • People: 1
      Replies: 6
    • January 24, 2023
    • VPG Search via API

      When performing a GET request to /v1/vpgs/ and specifying ?name= as a parameter, is it possible to search for a VPG using wildcards? Or does the name have to be an exact match? For example, I wish to retrieve a list of VPG’s starting with a specific string prefix.

    • People: 1
      Replies: 0
    • December 20, 2022
    • VGP Failover Test

      Hello everyone: I’m trying to create a power shell script to be able to do a failover test of several VPG’s that can be read from a csv file the name of each VPG that I need to test. If anyone can help me or guide me with this, please. Thanks for the help.

    • People: 2
      Replies: 1
    • December 20, 2022
    • Change VPG/VM/Volume datastore via API

      <p style=”padding-left: 30px;”>Due to a storage change at our Recovery site, we are migrating all recovery and journal volumes to new datastores (VMware). I have a working script that will change the VPG recovery and journal datastore and the recovery and journal datastore for each VM in the VPG. I’m now stuck trying to update […]

    • People: 1
      Replies: 9
    • December 17, 2022
    • VGP Failover Test

      Hello everyone: I’m trying to create a power shell script to be able to do a failover test of several VPG’s that can be read from a csv file the name of each VPG that I need to test. If anyone can help me or guide me with this, please. Thanks for the help.

    • People: 1
      Replies: 0
    • December 1, 2022

You must be logged in to create new topics. Click here to login