# iDRAC scripts

**Xopero Unified Protection (XUP) leverages iDRAC for remote, automated management of the appliance. Integration with iDRAC enables execution of predefined scripts for power management and operational control, supporting reliable execution of replication jobs.**

***

## General information

The **Xopero AirGap** solution is based on a cluster of two **Xopero Unified Protection** (**XUP**) devices (offline and online) connected directly in a back-to-back setup.

**XUP** online operates in a standard configuration: with (or without) an active **XUP Management Service**, a **Xopero ONE** backup agent, and data storage. **XUP** offline contains only the data storage (S3) and, optionally, the backup agent. The redundant device remains powered off and disconnected from the network most of the time, preventing any communication with it, and is powered on **only for replication purposes**.

To properly execute the replication job, every **XUP** device is equipped with an **iDRAC** to enable communication between two **XUP** devices. The **iDRAC** interface remains active at all times, as it is used to power the redundant (offline) device on and off. Predefined **iDRAC** scripts are responsible for controlling the replication process.

***

## Scripts configuration

Below is the **iDRAC** scripts configuration menu in **Xopero ONE Management Service** (**XMS**), available during replication plan creation and editing in the **Advanced settings** section.

{% hint style="danger" %}
The initial **AirGap** configuration is **always performed by a dedicated deployment engineer**.
{% endhint %}

### <mark style="background-color:blue;">iDRAC Power Up</mark>

The **iDRAC Power Up** script is executed before the replication process starts and is responsible for powering on the redundant **XUP** device (**XUP** offline).

<figure><img src="/files/VfwuOzELP5OymTTlFSpN" alt=""><figcaption></figcaption></figure>

1. **Username:** the **iDRAC** username, which can be configured only during the initial setup by a dedicated **Xopero** support engineer.
2. **IP address:** the **iDRAC** IP address, which should point to the redundant **XUP** device. This value can be edited at any time — for example, if the network configuration changes and the **iDRAC** IP address needs to be updated.
3. **Add new or select password from Password Manager:** the **iDRAC** password, which can be configured only during the initial setup by a dedicated **Xopero** support engineer.
4. **Script arguments** — should remain empty; can be configured only during the initial setup by a dedicated **Xopero** support engineer.
5. Additional script options, which include how the replication task execution should be handled in the event of a script failure. These values can be modified at any time; however, changing them is not recommended.

### <mark style="background-color:blue;">iDRAC Power Down</mark>

The **iDRAC Power Down** script is executed after the replication process completes and is responsible for powering off the redundant **XUP** device (**XUP** offline).

<figure><img src="/files/VyZ17wiAJ9dVA0tbZcRg" alt=""><figcaption></figcaption></figure>

1. **Username:** the **iDRAC** username, which can be configured only during the initial setup by a dedicated **Xopero** support engineer.
2. **IP address:** the **iDRAC** IP address, which should point to the redundant **XUP** device. This value can be edited at any time — for example, if the network configuration changes and the **iDRAC** IP address needs to be updated.
3. **Add new or select password from Password Manager:** the **iDRAC** password, which can be configured only during the initial setup by a dedicated **Xopero** support engineer.
4. **Script arguments** — should remain empty; can be configured only during the initial setup by a dedicated **Xopero** support engineer.
5. Additional script options, which include the ability to configure the script waiting interval before continuing the replication task. These values can be modified at any time; however, changing them is not recommended.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.xopero.com/xopero-one-en/xopero-unified-protection/xopero-airgap/idrac-scripts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
