- This forum has 177 topics, 358 replies, and was last updated October 22, 2024 by Paul B.
-
- Scripting and APIs
-
-
VPG Search via API
When performing a GET request to /v1/vpgs/ and specifying ?name= as a parameter, is it possible to search for a VPG using wildcards? Or does the name have to be an exact match? For example, I wish to retrieve a list of VPG’s starting with a specific string prefix.
-
People: 1
Replies: 0 - December 20, 2022
-
VGP Failover Test
Hello everyone: I’m trying to create a power shell script to be able to do a failover test of several VPG’s that can be read from a csv file the name of each VPG that I need to test. If anyone can help me or guide me with this, please. Thanks for the help.
-
People: 2
Replies: 1 - December 20, 2022
-
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: 1
Replies: 9 - December 17, 2022
-
Virtualy Sober Blog – Will it ever be finished?
Now that Joshua Stenhouse is a Zerto employee, will he ever be finishing up his blog post about scripting recovery on his site Virtually Sober?
-
People: 1
Replies: 5 - December 15, 2022
-
VGP Failover Test
Hello everyone: I’m trying to create a power shell script to be able to do a failover test of several VPG’s that can be read from a csv file the name of each VPG that I need to test. If anyone can help me or guide me with this, please. Thanks for the help.
-
People: 1
Replies: 0 - December 1, 2022
-
Powershell and v10 appliance
Will powershell be deprecated once v10 as an appliance comes out?
-
People: 2
Replies: 1 - November 4, 2022
-
Collection time for Resource Reports
Hi, Does anyone know how the specific time is determined when the daily samples are collected for the Resource Report that can be obtained through the ‘resources’ API? The frequency is set to daily or hourly in the ‘Site Settings’, but I cannot find anything about how the specific time is selected and if it […]
-
People: 5
Replies: 5 - October 29, 2022
-
Question about Virtualization Site Name?
When I pull the virtualization site info via the API, it displays SiteIdentifier, VirualizationSiteName. I’ve noticed that of the eight sites targeting this ZVM, four of them show the name as the site name I have configured, and four of them have the protected vCenter FQDN as the site name despite the fact that they […]
-
People: 2
Replies: 1 - October 25, 2022
-
Control Email Alerts via Powershell
Can anyone tell me if its possible to pause the sending of email alerts via powershell ? I would like to do this as part of our monthly maint weekends but I can only do it via GUI which is time consuming. Its a site setting and the tick box is “Enable Sending Alerts” under […]
-
People: 1
Replies: 0 - October 25, 2022
-
Powershell REST API for Zerto Analytics
Hello, I’m an MSP that’s new to Zerto. After some inspection, it looks like our monitoring product (Solarwinds) doesn’t have the ability to directly call and parse JSON to track metrics. It can, however, call powershell and take return output to track metrics/trigger alarms. There’s been a few examples of using the powershell cmdlets […]
-
People: 1
Replies: 3 - October 25, 2022
-
Update Journal History Time in Hours
When editing a VPG in the WebGUI, there is an option under the Replication Tab to change hte Journal History Days or Hours. Can connect via REST Api, but I can find documentation where I can update that field.
-
People: 1
Replies: 3 - October 24, 2022
-
Powershell to edit VPG – RPO Alert
Does anyone have a powershell script to edit all the VPG’s settings for the RPO alert option to be 15 minutes?
-
People: 1
Replies: 0 - October 17, 2022
-
Editing a running VPG
I’m trying to to use the reference to changing a VPG’s name in section 7 in “Automating Zerto Virtual Replication with PowerShell & REST APIs Whitepaper” I can call the POST VPGSettings with the appropriate body to convert a VPG to a VPGSettings. However, when I commit, I get a a 400 error Unknown web […]
-
People: 1
Replies: 3 - October 16, 2022
-
Powershell – retrieve VPG status
Hi, have just loaded the zvm powershell cmdlets and running get-zvmvpg cmdlet but it does not return any values for status nor substatus, wondering if am missing something. These statuses are delivered via the get-zertovpg cmdlets from Christopher Lewis. Thanks in anticipation
-
People: 1
Replies: 0 - October 11, 2022
-
Post Recovery Scripts no longer run in 9.5u3
Several of our VPGs have scripts that run after the systems in them have been powered on in the recovery site. These scripts do various things such as connect to Vcenter to automate reboots, connect to the Windows instance to run WMI calls to check services, etc. For auditing and troubleshooting purposes, I have enabled […]
-
People: 1
Replies: 0 - September 13, 2022
-
VPG Search via API
The forum ‘Scripting and APIs’ is closed to new topics and replies.