• Forums
  • E-learning
  • Technical Docs & Knowledge
  • Login
  • Create Login
MyZerto
  • Forums
  • E-learning
  • Technical Docs & Knowledge
  • Login
  • Create Login

Christopher's Profile

Home/
  • Profile Summary
  • Topics Started
  • Favorites

Christopher Lewis's Profile

About Christopher

Chris@ChristopherLewis.com

Recent Activity

Reply To: Need help adding VM to an existing VPG
February 15, 2017 03:32:26 PM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

Jason –   I’ve created a PS Module that wraps most of Rest API functionality in simple Powershell commandlets available here https://www.powershellgallery.com/packages/ZertoModule/ . For example, to get the local site’s information you would use: Get-ZertoLocalSite In your case, you’d use something like: $VPGID = Get-ZertoVPGID -VpgName “MyVPG” $VPGSettingID = Convert-ZertoVPGToVPGSetting -ZertoVpgIdentifier $VPGID $NewVM = New-ZertoVPGSettingVM -VmIdentifier […]


Reply To: VPGSettings Backup Repository ID
December 20, 2016 07:38:59 PM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

Actually, found it – $baseURL + “virtualizationsites/” + $ZertoSiteIdentifier + “/repositories” Seems to not be documented in the REST API docs.  


VPGSettings Backup Repository ID
December 20, 2016 07:31:26 PM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

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.  


Reply To: Editing a running VPG
December 19, 2016 05:14:22 PM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

Found the error in the logs – 00000000,00000000,16-12-19 11:07:30.48,W,60,Utils,PreserveExceptionStackTrace,”Exception FormatException (Limit in MB value must be assigned), cannot be serialized to preserve Stack, skipping. System.FormatException: Limit in MB value must be assigned at Zerto.Zvm.Api.VpgSettings.Facade.Convertors.VpgSettingApiConvertionUtils.LogErrorAndThrowException(String errorTxt) in E:\athena_main\dev\system\Zvm\Zerto.Zvm.API\VpgSettings\Facade\Convertors\VpgSettingApiConvertionUtils.cs:line 53 at Zerto.Zvm.Api.VpgSettings.Facade.Convertors.VpgSettingApiConvertionUtils.InformErrors(List`1 listOfErrors) in E:\athena_main\dev\system\Zvm\Zerto.Zvm.API\VpgSettings\Facade\Convertors\VpgSettingApiConvertionUtils.cs:line 38 at Zerto.Zvm.Api.VpgSettings.Facade.Convertors.VpgSettingsCommitConverter.Commit(String vpgSettingsIdentifier) in E:\athena_main\dev\system\Zvm\Zerto.Zvm.API\VpgSettings\Facade\Convertors\VpgSettingsCommitConverter.cs:line 39 at Zerto.Zvm.Api.VpgSettings.Facade.ZvmApiVpgSettingsFacade.VpgSettingsCommit(String vpgSettingsIdentifier) in E:\athena_main\dev\system\Zvm\Zerto.Zvm.API\VpgSettings\Facade\ZvmApiVpgSettingsFacade.cs:line […]


Editing a running VPG
December 16, 2016 07:40:18 PM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

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 […]


Topics Started: 4

Zerto Logo © 2010 - 2025
Need assistance?
  • Follow Us: