- This forum has 177 topics, 358 replies, and was last updated October 22, 2024 by Paul B.
-
- Scripting and APIs
-
-
Zerto Failover CLI Utility
We have published a new public utility that Zerto users may find useful. The Zerto Failover Utility enables you to streamline your fail-over tests (and if needed live site fail-over’s). The utility makes use of a CSV file where you can list all of your VPGs in order, with built in pauses if needed to […]
-
People: 1
Replies: 0 - October 25, 2019
-
PowerCLI Properties
Is there a workable equivalent of this that will allow me to dig deeper in powercli ? foreach ($site in Get-Sites 10.10.10.10 9080 administrator password) { Write-Host $site | Select-Object -Property * }
-
People: 2
Replies: 1 - October 21, 2019
-
RestAPI blank result from /vpgsettings 7u2
This is giving me just a blank square bracket response as a result. Other commands are fine and return data /vpgs etc… On-premise VMware, DR to Azure. Both sites updated to 7u2.
-
People: 2
Replies: 2 - August 28, 2019
-
VPG locked
Hello I’ve created severals vpg with powershell script, everything worked fine and vpg has been created, but now i would like add a vm to these vpg but i cannot, when i click on the add button the vm is not added , i can remove vm from vpg but cannot add new one. I’m […]
-
People: 2
Replies: 2 - August 8, 2019
-
Exception occurred in API: Invalid session
Using a Python script to communicate with 3 different Zerto servers 1 of the servers works perfectly fine, as expected the other 2 give me a valid session token but when I try to pull alerts via “/v1/alerts” I get the invalid session message I can log into all 3 servers via Web and PowerShell […]
-
People: 1
Replies: 1 - July 18, 2019
-
Verify Test Network
Is anyone familiar with a PowerShell method to return the “Test Network” For each VM in a VPG, or all the VM’s for all VPG’s? Would be nice not having to verify this without opening up each VPG.
-
People: 1
Replies: 0 - July 10, 2019
-
Issue with Zerto API to get Datastore details
I get 404 error when issuing the below APIs. Are they no longer supported ? https://zvm_ip:port/v1/datastores https://zvm_ip:port/v1/datastores/{datastoreIdentifier}
-
People: 2
Replies: 10 - July 9, 2019
-
API to get VPG configuration
Hi, Comparison between the below 2 gives different results: The response received when we create a vpgsettings object for a vpg and retrieve the vpgsettings When we manually do a export settings from the Zerto Web Client for a VPG Specifically i am indicating the vmdk file locations on the Target Datastore are not available […]
-
People: 1
Replies: 0 - July 4, 2019
-
Issue with Zerto API to get volumes' details
On below version , i get 404 HTTP error for the https://zvm_ip:port/v1/volumes API Zerto Virtual Replication Version 6.5 Build 065004930
-
People: 1
Replies: 0 - July 2, 2019
-
Zerto API to get IP Address of VM
Hi , I dont find API to get the IPAdress of a VM. Is there any way to get a VM’s IPAdress given the VM Identifier and VM Name? Thanks in advance, Lydia.
-
People: 2
Replies: 3 - June 28, 2019
-
Error posting to this forum
I keep trying to post to this forum and I get this error: 403 Forbidden A potentially unsafe operation has been detected in your request to this site. Nothing in the content of my post seems like it would be problematic. It’s just plain text. Any suggestions on what to avoid?
-
People: 3
Replies: 4 - May 24, 2019
-
Creating VPG using REST API
Hello, I am attempting to create a VPG that uses VMWare for the protection site and AWS for the recovery site. When I am attempting to submit the JSON it is telling me that I need to supply the Failover DefaultNetworkIdentifier and the FailoverTest DefaultNetworkIdentifier. I have searched and read through all of the documentation, […]
-
People: 2
Replies: 1 - May 1, 2019
-
Issue Using Rest API to Return VPG Settings
Hi, I’m having difficulties trying to retrieve VPG Settings using the API for Zerto 5.0 U3 build 050301165 I have a script which is very similar to the one which starts on page 20 of http://s3.amazonaws.com/zertodownload_docs/4.0U6/White%20Paper%20-%20Automating%20Zerto%20Virtual%20Replication%20with%20PowerShell%20and%20REST%20APIs%20v2.0.pdf It works fine for the majority of VPGs, however, when I try to run “$VPGSettingsIdentifier = Invoke-RestMethod -Method Post -Uri […]
-
People: 1
Replies: 0 - April 11, 2019
-
Protected Size?
Hi Guys, In the webpage > Reports, you can get the “Protection over Time by Site” report, in this is listed the “Protected Size(GB)” Is there a way to pull this value using the API? – I’ve trawled the documentation but can’t seem to find it? I’ve also checked & tried combining various outputs from […]
-
People: 2
Replies: 4 - April 10, 2019
-
Create VPG Using Preseed Data
Creating VPGs using preseed data support was added to the API in 6.5; I was wondering if anybody has any experience using this feature. I have a large customer that will I will likely need to rebuild their Zerto deployment due to vCenter upgrades on their side where they cannot preserve the database or the […]
-
People: 3
Replies: 3 - April 4, 2019
-
Zerto Failover CLI Utility
The forum ‘Scripting and APIs’ is closed to new topics and replies.