- This forum has 132 topics, 288 replies, and was last updated November 12, 2020 by Yossi A.
-
- Scripting and APIs
-
-
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: 3
Replies: 11 - June 19, 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
-
Change VPG/VM/Volume datastore via API
<p style=”padding-left: 30px;”>Due to a storage change at our Recovery site, we are migrating all recovery and journal volumes to new datastores (VMware). I have a working script that will change the VPG recovery and journal datastore and the recovery and journal datastore for each VM in the VPG. I’m now stuck trying to update […]
-
People: 3
Replies: 8 - April 3, 2019
-
Create VPG for VCD to VCD using API
I got a very strange problem to create VPG using APIs, Tried every thing i could but still get same error, i am using zerto v6.0 i tried to create VPGs for VCD – VCD scenario method 1. created skeleton Template and added the data and when i post to https://zvm_ip:port/v1/vpgSettings, i get error :400 […]
-
People: 3
Replies: 3 - April 3, 2019
-
Error updating existing VPGs
Hi guys, did any one from the community faced a issue while commiting the changes to existing VPGs, i am trying to make some changes, to existing VPGs, i am able to PUT data , RESPONSE : 200 but when i commit it , i get this error Response : 400 {“Message”:”VCDVApp Identifier was not […]
-
People: 1
Replies: 0 - April 2, 2019
-
One-To-Many with PowerShell
Hi, I am looking to do a powershell migration of a VM from our current datacenter to a new datacenter. This works with a VM that is not already protected, but I am looking to set up on-to-many replication using powershell for VMs that are already protected in a group. Is there a way to […]
-
People: 3
Replies: 2 - March 21, 2019
-
Automated failover test reports
Hello, i like to perform automated failover tests every six month via the rest api. After successful failover test i like to send the owner of the VPG a report with the failover test summary. When I use the GUI there is a point where i can do this step manualy after every failover test. […]
-
People: 2
Replies: 4 - March 20, 2019
-
JSON example for not changing IP, or using DHCP
We are failing over our VPGs without changing IP addresses, keeping a static IP that has already been configured in the OS. I had ran a scipt to update all of our VPGs with updated vmware networks, and in doing so I set some NIC settings that shouldn’t be set. Now I’m curious if I […]
-
People: 4
Replies: 4 - March 1, 2019
-
Migrating VPGs from one vCenter to another
Zerto support had told us that migrating VPG’s from one vCenter to another was impossible. We could not find any tools to automate this task, which is beyond frustrating when there are hundreds of VM’s and VPG’s to migrate. The current solution offered by Zerto is to delete all the VPG’s while retaining the data at […]
-
People: 4
Replies: 3 - February 25, 2019
-
Looking for unprotected VM volumes
This is for a VMware environment. I am trying to augment the sample script to Create a VPG and add VMs using PowerShell and the REST APIs and I am looking to add VMs with different recovery and journal datastores from the default. I can change the journal datastore but not the recovery datastore. I […]
-
People: 1
Replies: 0 - February 21, 2019
-
issue with Storage Profile API
Hi All, I am struggling with the storage profile API, i can get the https://zvm_ip:port/v1/virtualizationsites/{siteIdentifier}/orgvdcs/{orgvdcidentifier} /networks api call to work and retrieve my network objects however if i try https://zvm_ip:port/v1/virtualizationsites/{siteIdentifier}/orgvdcs/{orgvdcidentifier} /storageprofiles i get error message : Endpoint not found URL is identical up to that point running Zerto […]
-
People: 2
Replies: 3 - February 1, 2019
-
Recovery Data Size/Recovery Storage:
You must be logged in to create new topics. Click here to login