• This forum has 172 topics, 344 replies, and was last updated April 9, 2024 by Yossi A.
    • Scripting and APIs
    • 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
    • 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
    • Create Thin Provisioned VPG ?

      I have been automating VPG creation via REST/Powershell since we first implemented at v5.x, and currently at 7.0.  My target datastores are block storage arrays, and until now, I have had no issues since the recovery volumes have been thick provisioned by default. However, I now have added an Isilon cluster (NAS) at our recovery […]

    • People: 2
      Replies: 6
    • July 14, 2020
    • VPG memory utilization

      Hi, I am trying to create a script (or modify an existing one) that will retrieve the configured memory and CPUs for every VPG in a ZVM.  So far, I seem to be able to retrieve all kind of VPG information but the actual memory that each VPG will consume when active is something that […]

    • People: 2
      Replies: 1
    • July 14, 2020
    • Zerto report

      i am looking to create a report which will have all the vm with source/destination site and provisioned space. i also want to add source and target esx host, how do i achieve this   Get-Zertovm |select vmname, VpgName, SourceSite, TargetSite, ProvisionedStorageInMB | ft

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

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