• Scripting and APIs
    • Recovery Data Size/Recovery Storage:

      Hi There, Just wondering, is there a way to pull the “Recovery Data Size” back using API or Powershell at all? I’m aware of the method to grab from https://zvm_ip:port/v1/vpgs etc, but this pulls back UsedStorageInMB – What I want is to pull back the Recovery Data Size that is also shown when you look at the […]

    • People: 1
      Replies: 12
    • March 23, 2021
    • Problems with getting started with powershell

      Hi, I’m new to Zerto and could do with some pointers, please? I’ve installed the Zerto cmdlet on to ZVM server but when I try and run any commands I get an error like below: Get-CheckPoints : Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot […]

    • People: 1
      Replies: 0
    • February 28, 2021
    • v1 REST API via Postman

      I am trying to authenticate with the v1 API using Postman. Eventually I would like to use the API to export a list of protected VM’s. All of the example documentation on the v1 API is for powershell which I do not plan to use. Can anyone provide links or examples of an authentication request […]

    • People: 1
      Replies: 0
    • February 25, 2021
    • API Not Returning Expected Values for VMs

      I’m attempting to work with the Zerto Analytics API: https://docs.api.zerto.com/#/ When I get the list of all protected VM’s the Zorg information is not returned. I’ve verified the VM’s are in the correct zorgs and can find them under the expected Zorg in our analytics portal. Based on the swagger documentation I would expect a […]

    • People: 1
      Replies: 0
    • January 4, 2021
    • Journal Datastore set to Auto

      Is there a way to set the journal datastore to Auto? All of our GUI built VPGs are set to auto. However the API fails when the DatastoreIdentifier is set to anything other than a valid identifier. https://zvm_ip:port/v1/vpgsettings “Journal”: { “DatastoreClusterIdentifier”: “########-####-####-####-############.group-p######”, “DatastoreIdentifier”: null, “Limitation”: { “HardLimitInMB”: 153600, “HardLimitInPercent”: null, “WarningThresholdInMB”: 115200, “WarningThresholdInPercent”: null } […]

    • People: 1
      Replies: 0
    • December 18, 2020
    • Error starting session

      I’m getting the following error: “Message”:”Exception occurred in API: The property ‘username’ is not supported for this request. Please review the documentation for valid properties.” The script snippet that is causing this error is: #import and set credential variable $xmlPath = “$env:USERPROFILE\” + $userName + “.clixml” $zvmCredential = Import-Clixml -Path $xmlPath #create start session URL […]

    • People: 1
      Replies: 0
    • November 4, 2020
    • Trying to list protected VMs

      Hi, I’m trying complete a major procedure in which I’d like to list the ZERTO protected VMs on my VMWARE environment I type the following command: Get-VmsReplicatingToHost -ZVMIP ZVMIP -ZVMPort 9080 -username myuser@domain -password mypwd -hostip HOSTIP but I get the following answer Error: Unknown Username or Incorrect Password , of course, I’m sure of my […]

    • People: 3
      Replies: 3
    • October 29, 2020
    • API: How to modify journal size for VPG and VM

      I have managed to figure out how to modify the VPG settings for “journal size hard limit” and “journal size warning threshold” invoking this URL: https://zvm_ip:port/v1/vpgSettings/{vpgSettingsIdentifier}/journal   However I also need to modify the VM settings for “journal size hard limit” and “journal size warning threshold”.  This URL doesn’t seem to work: https://zvm_ip:port/v1/vpgSettings/{vpgSettingsIdentifier}/vms/{vmIdentifier}/journal   Any […]

    • People: 1
      Replies: 0
    • October 8, 2020
    • Change wallpaper script

      Does anyone have a PS script to change the wallpaper for the test failover vm guests vpg’s?  I’m looking to change up the look so the admins know they are working on a different environment as to not be confused with production when working with and testing the failover site and RDP’d into it.

    • People: 2
      Replies: 2
    • October 6, 2020
    • DNS Pre / Post – Recovery Script:

      <b>References:</b> https://www.zerto.com/myzerto/forums/topic/update-vm-dns-after-failover/page/2/#post-7281 https://www.zerto.com/myzerto/knowledge-base/running-scripts-before-or-after-recovering-a-vpg/ https://www.zerto.com/myzerto/knowledge-base/00000034/ https://assurestor.freshdesk.com/support/solutions/articles/16000045863-example-pre-recovery-post-recovery-scripts <u><b>Disclaimer </b></u><u><b>Warnings:</b></u> Pre or Post Recovery Script work on Test or Live Failovers (so consider pulling Script Configs in VPG for Tests) Be 100% sure that all DNS references in CSV files are 100% correct at Protection or Recovery Site because the script will delete and create according to what is in the […]

    • People: 1
      Replies: 6
    • October 1, 2020
    • Get protected VM details via API (e.g. CPU, etc.)

      Hello all, I need to get detail configurations for protected VMs. Especially vCPU and vRAM information are required. In Zerto these information must exist because it is required for recovery. Unfortunately I was not able to find any information in the documentation.   Best Regards Markus

    • People: 3
      Replies: 5
    • September 3, 2020
    • Python Automation Examples

      Hello Everyone, We’ve recently been working on creating some open source examples of how to leverage Zerto with Python. For those who might be interested you can now find these open source examples here on GitHub: https://github.com/ZertoPublic/Python-Automation-Examples. We will be continuing to add more examples and welcome feedback you have on these.

    • People: 1
      Replies: 0
    • August 5, 2020
    • Ansible Playbooks

      Hello Everyone, We’ve recently been working on creating some open source examples of how to leverage Zerto with Ansible. For those who might be interested you can now find these open source examples here on GitHub: https://github.com/ZertoPublic/Ansible. We will be continuing to add more playbooks and welcome feedback you have on these.

    • People: 1
      Replies: 0
    • August 5, 2020

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