- This forum has 132 topics, 288 replies, and was last updated November 12, 2020 by Yossi A.
-
- Scripting and APIs
-
-
JournalHistoryInHours does not match web app
Zerto 7.5 When using the REST API to get the vpgSettings for a given VPG, the “JournalHistoryInHours” value is 720. But when viewing the same VPG in the web app, in the Settings tab, the value for “Journal History” is 7 days. Shouldn’t these values equal each other (after the obvious conversion of hours to […]
-
People: 1
Replies: 0 - February 5, 2020
-
Horribly slow API responses
7.0 U2 VMware I’m running scripts on the ZVM itself. Just the authentication part to get the Zerto Session Token can take 30+ seconds. I’ve tried both powershell and PHP and they both experience the same lag. I’ve tried from a different server and the result is the same; the API acts like I’m sending […]
-
People: 1
Replies: 1 - December 9, 2019
-
Error getting VM NIC data
Hi I am trying to run a script to Export of VM/VPG data I found on this forum. Everything but the section to gather NIC data runs here are the commands $GetVMSettingNICsURL = $baseURL+”vpgSettings/”+$VPGSettingsIdentifier+”/vms/”+$VMIdentifier+”/nics” $GetVMSettingNICs = Invoke-RestMethod -Method Get -Uri $GetVMSettingNICsURL -TimeoutSec 100 -Headers $zertoSessionHeader_XML -ContentType $TypeXML there error is: Invoke-RestMethod : Failed parsing ‘xxxxxxxxxx-75fc-4f25-a44d-a54af1dc11ed.vm-xxxxxx’ […]
-
People: 2
Replies: 2 - November 8, 2019
-
Powershell cmdlet for Failover in Live environment
Hi, I am looking for Powershell cmdlet for Failover in Live environment. There is a start-FailoverTest but it does only the test. Is there is any cmdlet for Live environment. I thought it should be start-Failover – But cmdlet doesn’t exist. I am using the version 4.5. Any help will be appreciated…
-
People: 5
Replies: 5 - October 25, 2019
-
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
-
CSV's Columns for Scheduling Offsite Clone
I want to know CSV’s Columns for Scheduling Offsite Clone. I find Example of Scheduling Offsite Clone in Automating ZVR with Powershell and REST APIs Whitepaper. And I know that this script uses a csv list file about VPG. Although I can find the columns by looking at the code, but I want to save […]
-
People: 1
Replies: 0 - September 17, 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
-
JournalHistoryInHours does not match web app
You must be logged in to create new topics. Click here to login