• This forum has 148 topics, 313 replies, and was last updated March 14, 2022 by Shannon F.
    • Scripting and APIs
    • Amend failover IP address for existing VPG via API

      Hello I am having trouble with NIC configuration via the API using a powershell script > REST call. I already have automation to create VPGs. I wish to be able to add failover IP address config to a given VM (values currently unset). I have spent a long time trying to get this to work […]

    • People: 1
      Replies: 0
    • July 6, 2021
    • Edit Recovery Site

      Greetings all. I am new to scripting and I was curious if there is a way to create/modify existing VPGs to change the Source and more importantly Recovery sites. I cannot find anything that allows you to modify it. Thank you.

    • People: 1
      Replies: 0
    • April 30, 2021
    • Remove a VM from a VPG without preserving disk

      Trying to remove a VM from a VPG (part of a decommission workflow) with out preserving the target disk. Using the API we are able to remove the VM with no issues it however does not remove the target Volume. How can this be completed?

    • People: 2
      Replies: 3
    • April 9, 2021
    • 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
    • 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

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