• This forum has 150 topics, 318 replies, and was last updated June 28, 2022 by Yossi A.
    • Scripting and APIs
    • Email Notifications

      Hello – i’d like to send out an email notification once the failover is complete and promoted. Initially I had configured a powershell script to run post-script however this does not wait till those conditions are met. Any suggestions are welcome.

    • People: 3
      Replies: 2
    • October 31, 2018
    • Startup script

      Hi I would like to start VM on DR site, but with lower vcpu and lower memory.I have tried dozens of pre\post scripts but none of them worked. For example, one VM has 8cpu and 128gb memory, on DR i would like it to start with 2cpu and 16gb only. Have anyone did something like […]

    • People: 2
      Replies: 1
    • October 30, 2018
    • API VPG query failover state

      I’m querying the Zerto API for VPGs “https://” + $ZertoServer + “:”+$ZertoPort+”/v1/vpgs” When I have a VPG in a TEST failed over state, there is no where that tells me what state it is in ActiveProcessesApi : @{RunningFailOverTestApi=} ActualRPO : 9 BackupEnabled : False ConfiguredRpoSeconds : 300 Entities : @{Protected=4; Recovery=4; Source=4; Target=4} FailSafeHistory : […]

    • People: 2
      Replies: 4
    • October 10, 2018
    • REST API Changes 5.0 update 3

      If any customers have been running our Zerto scripts which we provide as examples (whitepapers) on versions 5.0 update 2 and below then please have a read of the below: As per our release notes in 5.0 update 3 there was a change in the API which gives Zerto better security. I have seen numerous […]

    • People: 1
      Replies: 0
    • October 8, 2018
    • One to Many vms not showing virtualizationsites/vm

      In the API, I’ve always used “virtualizationsites/{SITEIDENTIFIER}/vms” to find all of the VMs available to replicate.  Not sure when this occurred, but I noticed on 6.0u2 that this no longer retrieves VMs that would be considered One to Many.  If I pull them up in the web UI I can find the VM in the […]

    • People: 2
      Replies: 5
    • September 13, 2018
    • Export VPG / VM list to csv via script

      Is there a way to export a “vpg list report”, similar to the one you get via the export link on the VPG tab, via script?    When having to rebuild VPGs, the information in this report is invaluable when saving the disks for use as preseed data.   This list is useful when trying to […]

    • People: 3
      Replies: 3
    • August 10, 2018
    • Move VPG via API

      Is there a method using the REST API for moving a VPG to another site or is this considered a failover? Thank you, Dustin Perkins Hunting Energy Services

    • People: 3
      Replies: 2
    • June 6, 2018
    • 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: 2
    • May 30, 2018
    • Bulk Edit VRA – Update Default Gateway

      I’m working on a script that will edit the default gateway of VRAs.  I’m getting the following error while running the script: PS C:\Windows\system32> TerminatingError(Invoke-RestMethod): “Request Error The server encountered an error processing the request. Please see the service help page for constructing valid requests to the service.” Exception : System.Net.WebException: The remote server returned […]

    • People: 1
      Replies: 1
    • May 25, 2018
    • Powershell REST API for Zerto Analytics

      Hello,   I’m an MSP that’s new to Zerto.  After some inspection, it looks like our monitoring product (Solarwinds) doesn’t have the ability to directly call and parse JSON to track metrics.  It can, however, call powershell and take return output to track metrics/trigger alarms. There’s been a few examples of using the powershell cmdlets […]

    • People: 2
      Replies: 2
    • April 19, 2018
    • VRA Status of 0

      Hi,   when i pull back the VRA status i get a status of 0 however i cannot find a list of what this resolves to for example: 0 = good 1=bad   etc   Hopefully its just me being a little stupid

    • People: 2
      Replies: 1
    • April 10, 2018
    • Unable to get VM nic settings (Powershell)

      I’m trying to pull a copy of a vm’s nic settings by using the NICs API but I’m getting nothing back. I’ve verified a hundred times that the VPGSettings ID and the VM ID are valid. I’m able to pull VPG settings and VM settings without issue. My environment is replicated to a VCD. I’m […]

    • People: 1
      Replies: 1
    • March 26, 2018
    • Powershell Cmdlet to Create New VPG

      I don’t see such a cmdlet referenced in the PowerShell Cmdlets Guide. Is it possible to automate the creation of new VPG’s? If not now, are there plans for a future release?

    • People: 4
      Replies: 5
    • March 7, 2018
    • Check if a VM is in a VPG

      Hi all. I’d like to check for the name of a server in Zerto and see if it’s a member of a VPG, using either the PS cmdlets or API. I see ways to list all VPGs and then list all the servers in those VPGs, which I could then check the server name against. […]

    • People: 2
      Replies: 2
    • March 6, 2018

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