- This forum has 132 topics, 288 replies, and was last updated November 12, 2020 by Yossi A.
-
- Scripting and APIs
-
-
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
-
VPG Settings API Server Error
Hi, Request Information URL/Endpoint: https://hostname:9669/v1/vpgSettings Method: POST Body: {“VpgIdentifier”:”a2f8d9b5-4504-4217-843a-f9556f4c8968″} Headers: {x-zerto-session: “session id”} I am getting the error mentioned below ” Request Error The server encountered an error processing the request. Please see the service help page for constructing valid requests to the service “ I believe this error is being caused by Bad request. I am […]
-
People: 2
Replies: 1 - November 11, 2018
-
VPG Creation, Set volume to thin
I see there is a section within the VPGSettings API to set volumes as thin when creating a VPG via powershell cmdlts. However, it appears that it requires a volume ID, which makes sense so it knows which volumes to make thin. But there’s no API command that will query the volume ID info from […]
-
People: 2
Replies: 1 - November 5, 2018
-
Problem getting VPG information
Hi, i am running a powershell script to get vpg information and get errors. Can i collect vpg information such as backup for it?
-
People: 2
Replies: 1 - November 5, 2018
-
Email Notifications
Hello – i’d like to send out an email notification once the failover is complete and promoted. Initially I had configured a powershell script to run post-script however this does not wait till those conditions are met. Any suggestions are welcome.
-
People: 3
Replies: 2 - October 31, 2018
-
Startup script
Hi I would like to start VM on DR site, but with lower vcpu and lower memory.I have tried dozens of pre\post scripts but none of them worked. For example, one VM has 8cpu and 128gb memory, on DR i would like it to start with 2cpu and 16gb only. Have anyone did something like […]
-
People: 2
Replies: 1 - October 30, 2018
-
API VPG query failover state
I’m querying the Zerto API for VPGs “https://” + $ZertoServer + “:”+$ZertoPort+”/v1/vpgs” When I have a VPG in a TEST failed over state, there is no where that tells me what state it is in ActiveProcessesApi : @{RunningFailOverTestApi=} ActualRPO : 9 BackupEnabled : False ConfiguredRpoSeconds : 300 Entities : @{Protected=4; Recovery=4; Source=4; Target=4} FailSafeHistory : […]
-
People: 2
Replies: 4 - October 10, 2018
-
REST API Changes 5.0 update 3
If any customers have been running our Zerto scripts which we provide as examples (whitepapers) on versions 5.0 update 2 and below then please have a read of the below: As per our release notes in 5.0 update 3 there was a change in the API which gives Zerto better security. I have seen numerous […]
-
People: 1
Replies: 0 - October 8, 2018
-
One to Many vms not showing virtualizationsites/vm
In the API, I’ve always used “virtualizationsites/{SITEIDENTIFIER}/vms” to find all of the VMs available to replicate. Not sure when this occurred, but I noticed on 6.0u2 that this no longer retrieves VMs that would be considered One to Many. If I pull them up in the web UI I can find the VM in the […]
-
People: 2
Replies: 5 - September 13, 2018
-
vCenter Alarm Notification Script Beta
You must be logged in to create new topics. Click here to login