> 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/i/ibm-spectrum-protect-plus.md).

# IBM Spectrum Protect Plus

IBM Spectrum Protect Plus (Storage Protect Plus) is a backup platform. OctoXLabs reads the virtual machines of the registered VMware, Hyper-V and Amazon EC2 hypervisors as devices, and the native users and LDAP groups as users.

## Use cases

* List virtual machines that Spectrum Protect Plus protects.

```
Adapters = ibm-spectrum-protect-plus
```

* Find backup administrators (SUPERUSER role).

```
Adapters = ibm-spectrum-protect-plus AND AdminStatus = true
```

## Before you begin

### Network

| Source              | Destination                  | Port          | Protocol |
| ------------------- | ---------------------------- | ------------- | -------- |
| OctoXLabs connector | Spectrum Protect Plus server | 443 (default) | HTTPS    |

### Required permissions

| Scope or role                                                               | Permission | Needed for |
| --------------------------------------------------------------------------- | ---------- | ---------- |
| Role with **hypervisor.view**                                               | Read       | Devices    |
| Resource group that contains the hypervisors (**All Resources** covers all) | Read       | Devices    |
| Permission to view users                                                    | Read       | Users      |

## Create credentials in IBM Spectrum Protect Plus

{% stepper %}
{% step %}

### Choose the user

Use a Spectrum Protect Plus user, native or LDAP.
{% endstep %}

{% step %}

### Grant a role

The user needs a role with the **hypervisor.view** permission.
{% endstep %}

{% step %}

### Add a resource group

The user needs a resource group that contains the hypervisors. The built-in **All Resources** group covers all of them. A restricted resource group returns fewer virtual machines without an error.
{% endstep %}

{% step %}

### Allow viewing users

Grant permission to view users if you want the users.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                                                        |
| --------- | -------- | ------- | ------- | ------------------------------------------------------------------ |
| IP        | Yes      | Text    | None    | Host name or IP address of the server. Example: `spp.example.com`. |
| Port      | No       | Integer | `443`   | HTTPS port of the web interface and REST API.                      |
| Is Secure | No       | Boolean | `true`  | Use HTTPS. Self-signed certificates are accepted.                  |
| Username  | Yes      | Text    | None    | Spectrum Protect Plus user.                                        |
| Password  | Yes      | Text    | None    | Password of the user.                                              |
| Timeout   | No       | Integer | `30`    | Seconds to wait for API responses.                                 |

## Troubleshooting

| Error message                                                                              | Cause                                            | Fix                                            |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------ | ---------------------------------------------- |
| `IBM Spectrum Protect Plus session response has no sessionid.`                             | The sign in answered without a session ID.       | Check the user name and password.              |
| `IBM Spectrum Protect Plus <type> virtual machines could not be read completely. <reason>` | One hypervisor type failed. Logged as a warning. | Check the role and resource group of the user. |

## Change history

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