• This forum has 172 topics, 344 replies, and was last updated April 9, 2024 by Yossi A.
    • Scripting and APIs
    • Python Automation Examples

      Hello Everyone, We’ve recently been working on creating some open source examples of how to leverage Zerto with Python. For those who might be interested you can now find these open source examples here on GitHub: https://github.com/ZertoPublic/Python-Automation-Examples. We will be continuing to add more examples and welcome feedback you have on these.

    • People: 1
      Replies: 0
    • August 5, 2020
    • Ansible Playbooks

      Hello Everyone, We’ve recently been working on creating some open source examples of how to leverage Zerto with Ansible. For those who might be interested you can now find these open source examples here on GitHub: https://github.com/ZertoPublic/Ansible. We will be continuing to add more playbooks and welcome feedback you have on these.

    • People: 1
      Replies: 0
    • August 5, 2020
    • Set VPG SLA Test Alerts to ‘NONE’

      I would like to set the VPG Test Alerts to ‘NONE’ within the Replication/SLA section of the VPG config. The current setting is 6 months for an alert to be triggered. This is a simple straight forward change via the GUI. Does anyone have a sample script solution for doing this as a batch rather […]

    • People: 1
      Replies: 0
    • April 9, 2024
    • Retrieving ‘Protected Network’ for a NIC in a VPG

      I have spent some time on this and cannot seem to see anyone in the swagger API where it retrieves the ‘protected network’ property that shows what network settings of the VMs Nics are at present. NOT ITS FAILOVER OR TEST NETWORK. The reason I want to query this is because I want to iterate […]

    • People: 1
      Replies: 1
    • March 27, 2024
    • Connect to Linux ZVM from PowerShell

      Hi, can anyone tell me how to connect to a Linux (10U3) ZVM from PowerShell 7, please? We’ve recently migrated ZVMs to Linux and are having issues. I’ve read the blog about the REST API but that isn’t what I’m trying to do. I want to be able to use the Zerto PowerShell Cmdlets, such […]

    • People: 3
      Replies: 5
    • March 11, 2024
    • Secure Credentials for API

      I am newer to this sort of work. At the moment, we’re manually doing failover tests and gathering info for reports. I’d like to automate this. Following along zerto’s documentation to establish a session from this article, I want to be able to use a securestring generated like: $credentials = get-credential $credentials.Password | ConvertFrom-SecureString | […]

    • People: 2
      Replies: 3
    • February 8, 2024
    • Zerto Powershell and individual VMs

      I have a number of vms spread across several vpgs that I’m trying to script a failover test for.  The problem I’m running into is that I don’t want to target all of the vms in those vpgs, but I’m not seeing a way to run a failover test against vms specifically. Short of moving […]

    • People: 2
      Replies: 3
    • December 4, 2023
    • Downloading RPO pdf reports through Analytics API

      Is it possible to download the vpg rpo and SLA compliance pdf reports that one can get in the Zerto Analytics portal through an API? I see that I can get all the data through the Zerto Analytics API, but I cannot see a way to download the formatted PDF reports through an API.

    • People: 1
      Replies: 0
    • November 14, 2023
    • API Invoke-RestMethod Max number of edited created

      I have this weird error that I cannot seem to shake. I am not actually writing anything, I am simply querying each VPG for its side identifier and then adding the info to a powershell array for offline parsing. However I have this error: Invoke-RestMethod : {“Message”:”Maximum number of edited\/created vpgs 100 is exceed”} At […]

    • People: 2
      Replies: 2
    • October 10, 2023
    • JournalHistoryInHours does not match web app

      Zerto 7.5 When using the REST API to get the vpgSettings for a given VPG, the “JournalHistoryInHours” value is 720. But when viewing the same VPG in the web app, in the Settings tab, the value for “Journal History” is 7 days. Shouldn’t these values equal each other (after the obvious conversion of hours to […]

    • People: 4
      Replies: 3
    • August 11, 2023
    • Example of Python script for a ZVM linux appliance

      Hello, I’m running Zerto 10.0 on the Debian ZVM appliance, I’m looking for an example of a working Python3 script connecting to the API and performing a simple task. Scripts on https://github.com/ZertoPublic/Python-Automation-Examples doesn’t seem up-to-date: they connect to the 9669 port, the session URL for the token is /session/add Have a nice day,

    • People: 2
      Replies: 2
    • August 10, 2023
    • Using Zerto API and Python to power on VRAs

      I was hoping that someone in this community may be able to help me with this issue. After some host patching occasionally VRAs do not power back on without manual intervention. I was attempting to write a Python script to run every day after our patching window to identify the power status of all VRAs […]

    • People: 2
      Replies: 1
    • June 26, 2023
    • Linux Authentication for PS scripts

      We want test our existing powershell scripts on Zerto Linux  v9.7U3 which uses Keycloak.  Do anyone know where I can find the documentation on how to authenticate so the scripts can run?  The documentation I have seen for Zerto Linux is vague and confusing, not helpful at all.

    • People: 2
      Replies: 1
    • June 5, 2023
    • MIB

      Hi to all, the mib package for zerto exist? I have searched but I haven’t find it. Thanks

    • People: 2
      Replies: 2
    • April 4, 2023
    • API/Powershell ZVM authentication

      Powershell version: 5.1 / ZVR Version: 5.5 Update1 I’m trying to do some testing with PowerShell and rest API. When using an example script from the White Paper “Automating Zerto Virtual Replication with PowerShell and REST APIs” (page 9) I’m having some authentication issues. I receive the exception error below. The problem seems to be, at […]

    • People: 1
      Replies: 3
    • March 25, 2023

You must be logged in to create new topics. Click here to login