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

      Hi everyone – I’ve created a wrapper for the REST API that converts most of the calls to pretty standard Powershell commands.  Its pretty simple to use and so far I’ve covered the majority of the API, although some of the VGPSettings are not finished. https://www.powershellgallery.com/packages/ZertoModule Example usage:   <pre class=”EnlighterJSRAW” data-enlighter-language=”csharp”>PS C:\Scripts> Set-Item ENV:ZertoServer […]

    • People: 4
      Replies: 4
    • May 11, 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
    • "Setting Validation Failed" in Invoke-RestMethod

      I am using a script to pull the settings of all VM NIC settings, based off the script found here starting on page 16: https://www.zrto-dev.com/wp-content/uploads/2016/09/Automating-Zerto-Virtual-Replication-with-PowerShell-and-REST-APIs.pdf It mostly works, however I found it was skipping over some VPGs. Digging into it, I found that the problem was occuring here (near the top of page 18): <h6>########################################## […]

    • People: 3
      Replies: 5
    • February 7, 2018
    • Post VPG FailoverTest cleanup via API

      I’m building some tools into my company’s intranet web app that will allow running VPG failovers and tests of failovers by making calls to the API behind the scenes.  It’s clear that I would call the VPG test endpoint to start a test: Test VPG https://zvm_ip:port/v1/vpgs/{protectionGroupIdentifier}/failoverTest But it’s not entirely clear what to call when […]

    • People: 2
      Replies: 2
    • January 29, 2018
    • Update Journal History Time in Hours

      When editing a VPG in the WebGUI, there is an option under the Replication Tab to change hte Journal History Days or Hours. Can connect via REST Api, but I can find documentation where I can update that field.

    • People: 3
      Replies: 2
    • January 16, 2018
    • New VPG with REST API from vCloud Director site

      Official document – Zerto Virtual Replication RESTful APIs Version 5.0 U3, states on page 12 that vpgSettings API does not support vCloud Director, preseeding, setting backup, AWS, etc POST method to “https://zvm_ip:port/v1/vpgs” should “Create a VPG”, but again the VM is random one and not the one in vDC vApp. Can anyone suggest if I […]

    • People: 4
      Replies: 5
    • December 7, 2017

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