> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/miria-4.6/admin-guide/deployment/preparing-to-install.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Preparing to install

This topic introduces the Miria components that you must install, and indicates where to install each one. It also describes the installation prerequisites and the Installation Center available on the Miria distribution.

## Components

Miria is a client/server application that transfers data between a client or an agent and an archiving server. A specific module then handles access to one or several storage managers, where data is physically copied for its final archiving.

### Mandatory Components

This diagram (<mark style="color:blue;">Figure 1</mark>) shows an environment including a server and several agents:

<figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2Flpy3nhQgyl8w4mQBbLcs%2Fimage.png?alt=media&amp;token=7fa2bffa-4b68-4148-ae9f-386783273aec" alt=""><figcaption><p><strong>Figure 1</strong>: Schematic components overview</p></figcaption></figure>

You must install these components:

#### Miria Server

The server manages data transfer onto long-term storage media.

**The server:**

* Stores information on both the configuration and administration and the archived and retrieved data. Such information is stored in a relational database included in the server installation.
* Manages the scheduling of all automatic tasks, such as automatic archiving or\
  maintenance tasks.
* Manages the network requests from the graphical interfaces.
* Has the agent role (i.e., performs the data movement to and from the secondary storage).

In intensive environments such as medium to large Media & Entertainment configurations or big data configurations, it is recommended that you have dedicated agents performing the data movement.

This table describes the server components:

<table><thead><tr><th width="183.66668701171875">Component</th><th>Description</th></tr></thead><tbody><tr><td><strong>Miria Engine</strong></td><td>The Miria engine.</td></tr><tr><td><strong>Relational Database</strong></td><td>The relational database is used as a catalog to store configuration, archiving, and retrieval information.</td></tr><tr><td><strong>Apache Server</strong></td><td>The Apache server manages network requests using HTTP, HTTPS, and SOAP protocols. It is used by the Web User Interface, Rest API, and C API.</td></tr></tbody></table>

#### Miria Data Mover

The data mover manages data transfers to and from the secondary storage by performing these functions:

* Runs a service to handle requests from the server.
* Handles the writing and reading of data hosted on the platform to which it is related.
* The agent is the data mover component.

**Installing an Agent Near the Data Source**

You must install agents near the primary storage where the source data to archive is located.

<table><thead><tr><th width="281.66668701171875">If the source data is on a…</th><th>Agent (installation / rôle)</th></tr></thead><tbody><tr><td><strong>Windows or Linux file server</strong></td><td>Install an agent on this file server. It handles data reading and transfer to the secondary storage.</td></tr><tr><td><strong>Network Attached Storage (NAS)</strong></td><td>Install an agent on a platform as close as possible to the NAS. It will act as a Data Mover, handling all data transfers (read, write) to and from the secondary storage.</td></tr><tr><td><strong>Shared file system</strong></td><td>Install an agent on any platform having access to the shared file system and that you want to perform the data movement. It is recommended to install several agents if you need fast data movement.</td></tr></tbody></table>

If you are using the Client Archiving feature, the agent component is not needed on the users’ workstations. Only a Miria User Interface is required on the computers hosting the files to archive.

**Installing an Agent Near the Data Destination**

You must install agents near the secondary storage where the data will be archived.

<table><thead><tr><th width="245.66668701171875">If the archived data is on a</th><th>Agent</th></tr></thead><tbody><tr><td><strong>Standard file server</strong></td><td>Install an agent on this file server. The agent handles data writing and reading to and from the secondary storage.</td></tr><tr><td><strong>Network Attached Storage (NAS)</strong></td><td>Install an agent on the platform acting as a gateway for the NAS. It handles data writing and reading and transfer to and from the secondary storage.</td></tr><tr><td><strong>Shared file system</strong></td><td>Install an agent on any platform having access to the shared file system and that you want to do the data movement. It is recommended that you install several agents if you need fast data movement.</td></tr><tr><td><strong>Media from a tape library administrated by Media Manager.</strong></td><td>Install an agent together with a Media Manager agent on every machine physically connected to a library or drive. It handles data writing and reading to and from the Media Manager storage manager.</td></tr><tr><td><strong>Cloud/Object Storage/CAS.</strong></td><td>Install an agent on the primary storage where the source data is located.</td></tr></tbody></table>

See [<mark style="color:blue;">Installing Miria Agents</mark>](https://documentation.atempo.com/miria-4.6/admin-guide/deployment/installing-miria-data-mover.md) for details.

**Miria User Interface**

The User Interface enables end users to archive, search, and retrieve their own files.

#### Optional Component: Media Manager

Media Manager is a storage manager used by Miria to archive data directly to tape and manage the media. Install this optional component if you want to archive your data for long-term protection on a tape library.

Media Manager is composed of:

* A Media Manager server, which manages requests coming from the Media Manager agents and assigns media to Miria.
* Media Manager agents, which manage libraries and drives.

#### Where to Install Media Manager

You must install each component in the appropriate location:

* The Media Manager server on the Miria server.
* A Media Manager agent on every machine physically connected to a library or drive, together with a server or agent. This component is lightweight; it requires a negligible amount of CPU and RAM.

See [<mark style="color:blue;">Installing Media Manager</mark> ](https://documentation.atempo.com/miria-4.6/admin-guide/deployment/installing-miria-data-mover.md)for details.

## Prerequisites to Install

Before installing Miria, take into account these prerequisites:

### Product Download

Ensure that you have downloaded the binaries from [<mark style="color:blue;">Atempo Client Portal.</mark>](https://support.atempo.com/login)

### Supported Systems

The list of supported operating systems for each component is subject to frequent evolutions. For the most up-to-date information, see the [<mark style="color:blue;">Miria Compatibility Guide</mark> ](https://documentation.atempo.com/miria-4.6/reference-documentation/compatibility-guide.md)at the Atempo Website.

### Windows Updates

**Important**: The Windows Updates automatic reboots may put your archiving production at risk, especially if they occur when a scheduled task is due or while jobs are in progress.\
Ensure that the Windows Update process does not automatically restart the platforms hosting Miria components.

### Date and Time

The scheduling system requires that each platform used is on time and configured according to its local time zone.

### Specific Recommendations for Tapes

#### FC Card Port:

In a Windows or Linux environment, do not use only one port for both the Disk and the Tape/Library. Ensure you have at least one dedicated port for the disk and one dedicated port for the tape or library.

#### Drivers:

Follow these recommendations:

* For LTO, use only the **generic driver**.
* For T10K on Windows, use **Oracle T10K driver**.
* For T10K on Linux, use the **st Linux generic driver**.

#### LTO-7 and Windows 2012 R2

If you plan to use IBM LTO-7 and Windows 2012 R2, you must apply the appropriate Microsoft hotfix.

#### Atempo Recommendations

To achieve the best performances, follow these\
recommendations:

* Assign at least 2 GB for the datamovers.
* Do not use the multi-path feature for the tape or the library.
* Use a dedicated FC card according to the expected throughput for Disk or Tape/Library.
* Use a dedicated Miria/Media Manager server with no connection to Primary Storage and no connection to Library/Drive.
* Ensure datamovers have a connection to Disk and Library/Drive.

#### FC Card Port

In a Windows or Linux environment, do not use only one port for both the Disk and the Tape/Library. Ensure you have at least one dedicated port for the disk and one dedicated port for the tape or library.

#### Drivers

Follow these recommendations:

* For LTO, use only the **generic driver**.
* For T10K on Windows, use **Oracle T10K driver**.
* For T10K on Linux, use the **st Linux generic driver**.

#### LTO-7 and Windows 2012 R2

If you plan to use IBM LTO-7 and Windows 2012 R2, you must apply the appropriate Microsoft hotfix.

#### Atempo Recommendations

To achieve the best performances, follow these recommendations:

* Assign at least 2 GB for the datamovers.
* Do not use the multi-path feature for the tape or the library.
* Use a dedicated FC card according to the expected throughput for Disk or Tape/Library.
* Use a dedicated Miria/Media Manager server with no connection to Primary Storage and no connection to Library/Drive.
* Ensure datamovers have a connection to Disk and Library/Drive.

### Immutable Disk Repository

Immutable disk repository is based on a Linux machine, featuring immutable flag compatible file system (xfs or ext3/ext4).\
You need to upfront provision such partition if you want to use this feature.

> **Important**: It is mandatory to correctly secure the root account of this machine.

#### Environment Resizing

If you need to resize your existing archiving environment, ensure to meet these prerequisites on all Miria servers and agents performing data movement:

* **Memory**: If you plan to significantly increase the number of files archived, you must upgrade the memory in proportion. For instance, if you expect to double the number of files archived, you must double the memory too (e.g., upgrade the memory from 64 GB to 128 GB).
* **CPU**: Upgrade the CPU in these situations:
  * If you plan to ingest a large quantity of metadata through a third-party application (e.g., Avid Interplay), XML Ingest, etc.
  * If you need servers and/or agents to perform partial retrieval.

If you need additional help or guidelines to resize your hardware configuration, contact AtempoMiria Professional Services.

## Downloading Components

1. Log in to the [Atempo Client Portal ](https://support.atempo.com/login).
2. Enter your credentials.
3. Click the **Download tab**. The list of available productversions is displayed.
4. Select the version that you want to download. It is composed of several .zip files:
   1. Server Contains a single installer for Server (including web user Interface), Agent, and Media Manager (Server and Agent).
   2. Admin Graphical administration console for Windows only.
5. Click the Download link corresponding to your Operating System and processor architecture.
6. Copy on your platform the .zip file containing the executable binaries.
7. Unzip the .zip file to obtain the executable binaries.

You can now install the component:

* **Miria Server installation details** : see[ <mark style="color:blue;">Installing Miria Server</mark>](https://documentation.atempo.com/miria-4.6/admin-guide/deployment/installing-miria-server.md)
* **Miria Agent installation details** : see[ <mark style="color:blue;">Installing Miria Data Mover.</mark>](https://documentation.atempo.com/miria-4.6/admin-guide/deployment/installing-miria-data-mover.md)
* **Miria Media Manager** : see [<mark style="color:blue;">Installing Media Manager.</mark>](https://documentation.atempo.com/miria-4.6/admin-guide/deployment/installing-media-manager.md)

## Installation Types

There are two types of installations available: **Typical** and **Custom**. The following components are always installed:

* Miria engine.
* Database. New installations are PostgreSQL only for all Operating Systems. If you\
  upgrade an existing installation with MaxDB, you will be using MaxDB in the upgraded version.
* Apache Web Server.

The typical installation includes a pre-selection of the most commonly used parameters with the following default settings:

* **Home Path:**
  * **Windows Server:** `C:\<DEFAULT_PATH>`
  * **Windows Agent:** `C:\Program Files\<DEFAULT_PATH>`
  * **macOS:** `/Applications/Miria`
  * **Linux:** `/Miria` or `dt/prod/Miria`
* **Ports:**
  * **TCP/IP:** `2524`
  * **HTTP Apache:** `80`
  * **HTTPS Apache:** `443`

A custom installation enables you to install Media Manager as an optional component. Check the following table to verify the availability of Miria components for each operating system.

| Operating System | Miria Server | Miria Agent | Media Manager Server | Media Manager Agent |
| ---------------- | ------------ | ----------- | -------------------- | ------------------- |
| **Windows**      | Yes          | Yes         | Yes                  | Yes                 |
| **Linux**        | Yes          | Yes         | Yes                  | Yes                 |
| **macOS**        | No           | Yes         | No                   | No                  |

## Installation Modes

Miria server, agents and Media Manager can be installed using one of the following installation modes.

* **Graphical mode** Use the step-by-step graphical wizard installation. Refer to the\
  installation chapter of each Miria component.
* **Console mode** Use the step-by-step wizard installation in interactive command-line interface. You can use this mode when there is no GUI environment on the server. See also[ <mark style="color:blue;">Installing the Server in Console Mode.</mark>](https://documentation.atempo.com/miria-4.6/admin-guide/deployment/installing-miria-server.md#installing-the-server-in-console-mode)
* **Silent mode** Automate the installation process without user interaction. See also\
  [<mark style="color:blue;">Installing the Server in Silent Mode.</mark>](https://documentation.atempo.com/miria-4.6/admin-guide/deployment/installing-miria-server.md#installing-the-server-in-silent-mode)<br>

Before you perform the installation, check the table below to verify the installation modes available for your operating system.

| Operating System | Graphical mode | Console Mode | Silent Mode |
| ---------------- | -------------- | ------------ | ----------- |
| **Windows**      | Yes            | Yes          | Yes         |
| **Linux**        | Yes            | Yes          | Yes         |
| **macOS**        | Yes            | No           | No          |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/miria-4.6/admin-guide/deployment/preparing-to-install.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
