- This forum has 167 topics, 351 replies, and was last updated September 21, 2023 by
Harriet A.
-
- Scripting and APIs
-
-
vCommander/Zerto Integration Scripts
Script sample to tie Embotics vCommander organizations to VPG’s in Zerto for customer self service provisioning with DR protection. Obviously these can be tweaked for alternate use cases. http://support.embotics.com/solution/articles/8000042740-embotics-vcommander-zerto-integration
-
People: 2
Replies: 1 - June 15, 2017
-
PowerShell – Getting Started
I’ve found several posts/articles/blogs about running your first PowerShell CmdLets, etc. However, I can’t find how you actually install those CmdLets. If I run “add-pssnapin Zerto.PS.Commands”, PowerShell gives an error that “No snap-ins have been registered for Windows PowerShell version 4”. I see the DLL of the same name in the Zerto installation folder, but […]
-
People: 7
Replies: 8 - June 14, 2017
-
5.0 update 3 API Changes
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 - June 12, 2017
-
Specify Resource Pools during VPG creation
Hi all! I’m am trying to figure out how to specify a Resource Pools when creating the VPG using the script from the Automating Zerto whitepaper v2.0. All I am able to do is pick the parent cluster, but not anything underneath it. As an example, the options presented via $VISiteInfoCMD2 from the script (run after […]
-
People: 2
Replies: 2 - May 17, 2017
-
Creating a VPG – Build 050121007
I’m trying to create a VPG using REST API. Using Powershell the script keeps failing to commit when the script attempts to commit. https://192.168.4.20:9669/v1/vpgSettings Exception : System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.PowerShell.Commands.WebRequestPSCmdlet. GetResponse(WebRequest request) at Microsoft.PowerShell.Commands.WebRequestPSCmdlet. ProcessRecord() TargetObject : System.Net.HttpWebRequest CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Comm […]
-
People: 3
Replies: 2 - May 13, 2017
-
List of VMs replicated on target side ESX hosts
I’m searching for a way to poll the API to determine which VMs are on which ESX host in the target site. I’ve looked through the REST API documentation, and the only way I can find to do this is via the vpgSettings/{vpgSettingsIdentifier}/vms API. My question is, is this an acceptable way to get this […]
-
People: 2
Replies: 1 - May 10, 2017
-
Creating VPGs using only 1 hour JournalHistory
I am using Powershell and the API to create lots of VPGs, and am noticing that when I create a VPG and use the setting pasted below, and set $JournalhistoryinHours = 1, it seems we keep an alert set for 24 hours that will never clear. The Web UI states that the VPG does not […]
-
People: 2
Replies: 1 - May 4, 2017
-
Pre/Post Script in CSP environment
We are a CSP and have a customer that wants to run the VPG pre and post scripts to stop services. These scripts run on the ZVM and it has no access to the customers VLAN. We don’t want to start connections to customer VLAN as it could open up conduits for ransomeware or viruses. […]
-
People: 2
Replies: 1 - April 13, 2017
-
Unable to run Zerto powershell cmdlets
Hi, I am trying to run zerto powershell cmdlets. I am getting thesame error while running any of the cmdlets Here are the error details Set-CheckPoint : System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to http://10.0.xxx.xxx:9669/ZvmService/SiteController. This could be due to the service endpoint binding not using the HTTP protocol. This could also […]
-
People: 3
Replies: 2 - April 10, 2017
-
Veeam Quick Backup / Backup Script before Failover
Hello, Wondering if anyone has scripted something to call Veeam to perform a backup/quick backup before executing a failover or test failure.
-
People: 2
Replies: 1 - April 3, 2017
-
Getting IP and Subnet
Hi, I am writing a script to query Zerto for VM Source IP/Segment and also Target in DR after Fail Over same VM IP/Segment (since it might change). We didn’t find any way to do it with Zerto CLI. Can you help? Thanks Erez
-
People: 4
Replies: 5 - March 24, 2017
-
Start FailOverTest Powershell
I unable to start failover test through Rest API here is my code $json=” { "CheckPointIdentifier“: "144321” }” Invoke-RestMethod -Uri $url -Body $json -Headers $zh -ContentType $TypeJSON -Method Post Error I am getting {“Message”:”failed parsing as a valid CheckPoint Identifier”}
-
People: 2
Replies: 3 - March 24, 2017
-
Zerto VPG "Execute PS script"
I am trying to execute a Powershell Script Pre or Post recovery ideally Post, but really im trying to figure out the syntax required to launch a script. In the Pre/Post Script config in the VPG there is command to runn and parramaters, i have tried multiple combinations to try to invoke a powershell script […]
-
People: 2
Replies: 1 - March 18, 2017
-
Need help adding VM to an existing VPG
I am trying to add new VMs to an existing VPG using the PowerShell Rest API. We’re running vmware 6.0 and Zerto 5.0. I’m following the the Zerto Rest API Reference Guide. I can create the VPG Settings, and poll the vpgsettings/VPGSETTINGSID using a GET method and return the results. I create the JSON […]
-
People: 3
Replies: 4 - February 15, 2017
-
VPGSettings Backup Repository ID
I’m trying to work with the VPGSettings calls and am looking at the Backup part of the JSON file. How do you retrieve a Peer Sites Backup Repositories? I’m looking at retrieving the backup repository ID.
-
People: 1
Replies: 1 - December 20, 2016
-
vCommander/Zerto Integration Scripts
You must be logged in to create new topics. Click here to login