> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/z/zerto-zvm.md).

# Zerto ZVM

Zerto Virtual Manager (ZVM) manages disaster recovery and replication. OctoXLabs reads the virtual machines that Zerto knows. This adds IP and MAC addresses, guest operating system and sizing to the inventory.

## Use cases

* List the virtual machines known to Zerto.

```
Adapters = zerto-zvm
```

## Before you begin

### Network

| Source              | Destination    | Port                         | Protocol |
| ------------------- | -------------- | ---------------------------- | -------- |
| OctoXLabs connector | Zerto ZVM host | 9669 (default, configurable) | HTTPS    |

### Required permissions

| Scope or role               | Permission | Needed for           |
| --------------------------- | ---------- | -------------------- |
| Keycloak account of the ZVM | Read       | Virtual machine list |

The exact role is Not verified.

## Create credentials in Zerto ZVM

{% stepper %}
{% step %}

### Choose an account

Use a Keycloak user of the Zerto ZVM that can read virtual machines.
{% endstep %}

{% step %}

### Note the client ID

For standard deployments the client ID is `zerto-client`.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter  | Required | Type    | Default      | Description                         |
| ---------- | -------- | ------- | ------------ | ----------------------------------- |
| IP         | Yes      | Text    |              | Host name or IP address of the ZVM. |
| Port       | No       | Integer | 9669         | ZVM port.                           |
| Client ID  | No       | Text    | zerto-client | Keycloak client ID.                 |
| Username   | Yes      | Text    |              | Keycloak user name.                 |
| Password   | Yes      | Text    |              | Keycloak password.                  |
| Is Secure? | No       | Boolean | True         | Use HTTPS.                          |
| Timeout    | No       | Integer | 30           | Seconds to wait for API responses.  |

## Troubleshooting

| Error message            | Cause                              | Fix                                      |
| ------------------------ | ---------------------------------- | ---------------------------------------- |
| Max retries exceeded for | The API kept returning 401 or 429. | Check the credentials, then retry later. |

## Change history

{% hint style="info" %}
Available starting from version 6.4.1.
{% endhint %}
