• This forum has 177 topics, 358 replies, and was last updated October 22, 2024 by Paul B.
    • Scripting and APIs
    • 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
    • vCenter Alarm Notification Script Beta

      Hello Everyone, We are currently looking for 5 – 10 customers who utilize the Zerto com.zerto.events in vCenter to receive SMTP notifications and would be interested in doing a beta of a script for these vCenter alarms. If you are interested please let us know within this thread and we will contact you to discuss […]

    • People: 4
      Replies: 4
    • January 9, 2019
    • Delete VPG URL not allowing Delete Method

      i am trying to delete a vpg via API however the url for deleting vpg:   https://zvm_ip:port/v1/vpgs/{VpgIdentifier} does not allow delete method:   Error message: Service Method not allowed. Please see the service help page for constructing valid requests to the service.   anyone experienced this before?

    • People: 2
      Replies: 1
    • December 29, 2018
    • Zerto scripts using encrypted passwords automation

      For the life of me I can not get these Zerto scripts to run with a password file that I have created using ConvertTo-SecureString commands listed here per Zerto scripting reference doc… https://www.pdq.com/blog/secure-password-with-powershell-encrypting-credentials-part-1/ “SecretPassword” | ConvertTo-SecureString -AsPlainText -Force | ConvertFrom-SecureString | Out-File “C:\support\zerto\scripts\zertpass.txt” I then call this zertpass.txt file using… $ZertoPassword = Get-Content “C:\support\zerto\scripts\zertpass.txt” | […]

    • People: 2
      Replies: 2
    • December 13, 2018
    • Zerto and Ansible

      I’m looking at end-to-end automation for our DR solution (admittedly there will be some manual steps). Is anyone aware of any work whether by Zerto or a friendly individual in the community who has created any ansible modules for Zerto? I thinking of the following modules (if they exist); zerto_vpg zerto_vpg_host zerto_vpg_failover zerto_vra Thanks TOby

    • People: 2
      Replies: 1
    • November 28, 2018
    • How to Set static MAC to VPG with Multiple VMs

      Could anyone can help to Powershell or API to set VPG with Multiple VMs. Customer demand specific MAC to their Every VMs. NAC is controlling MAC so customer want to specify MAC to Every VMs they want to protect. Zerto do have dynamic MAC change allowed but not static MAC change. Thank you in advance.

    • People: 2
      Replies: 1
    • November 28, 2018
    • NEW VPG creation using REST API (VCD to VCD)

      I am looking for solution to create new VPG (VCD to VCD) using REST API or Powershell script. I need to create 300+ VPG and it is time taking using GUI. Source – 5.0 Update 4 Build 050401094 Destination- 5.5 Update 4 Patch 1 Build 055412007

    • People: 2
      Replies: 1
    • November 19, 2018
    • API Perl Script Debugging help

      Just Start Perl API Program Yesterday Could Someone help me? Weird Error shows and couldn’t figure it out. I have tried to directly ask to ZVM server and it worked well. Although this script do not include login procedure(I could not figured it out yet ) Thank you in advance. ———–Error————- perl ZertoRetrieveAllvpgInfo.pl syntax error […]

    • People: 2
      Replies: 2
    • November 13, 2018

The forum ‘Scripting and APIs’ is closed to new topics and replies.