• This forum has 132 topics, 288 replies, and was last updated November 12, 2020 by Yossi A.
    • Scripting and APIs
    • 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
    • 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
    • Rest API and C# – Authentication

      Hello, I’m hoping to utilize an existing c# application to read some alert info from our on-prem Zerto installation.  I see that you can pass authentication info using PowerShell, but I don’t see how to using the Rest API.  Typically for Rest I’d use RestSharp.dll and Newtonsoft.Json.dll. The returns are null which indicates to me […]

    • People: 2
      Replies: 1
    • October 28, 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
    • 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: 2
      Replies: 1
    • October 1, 2020
    • DNS Pre / Post – Recovery Script:

      <b>References:</b> https://www.zrto-dev.com/myzerto/forums/topic/update-vm-dns-after-failover/page/2/#post-7281 https://www.zrto-dev.com/myzerto/knowledge-base/running-scripts-before-or-after-recovering-a-vpg/ https://www.zrto-dev.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
    • Power BI guidance for Zerto Analytics

      Trying to connect to Analytics via Power BI.  Just looking for license usage at this point.  Anyone have any suggestions for how to form the request in Power BI?  I am attempting using below: URL – http://analytics.api.zerto.com/v2/auth/token’ accept – application/json Here’s the error message: Unable to connect We encountered an error trying to connect. Details: […]

    • People: 2
      Replies: 1
    • September 27, 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
    • Automating ZVR vCenter Alarms 1 2

      Hello,   With our recent blog post in regards to automating vCenter alarms we wanted to open this up for feedback and questions you may have. For those interested in a script please let us know and we will send you a link to the download. Thank you,

    • People: 6
      Replies: 17
    • August 19, 2020
    • Analytics Storage

      Analytics recently added a section where you can view storage data for VMs.  I was curious as to when this would be available in the API considering the documentation about the analytics API states: “Zerto Analytics is developed with an API first approach, therefore, everything that is presented in the GUI, is also available with […]

    • People: 1
      Replies: 0
    • July 14, 2020

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