> 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/tina-4.9.5/tina-4.9.5-en/administration-guide/deduplication/installation.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# HyperStream Server Installation

This chapter helps you to install HyperStream Server.

## Tina and HyperStream Server Versions Compatibility

A Tina Agent must be installed on the machine for which you want backups to be deduplicated.

Tina versions are packaged with HyperStream libraries that are necessary for communication with the HyperStream Server.

The HyperStream libraries delivered with the Tina Agent and Server version of the machines to deduplicate must be compatible with the HyperStream Server version. See the Release Notes for the most up-to-date information.

## Sizing Recommendations

Atempo provides sizing recommendations to help you configure the HyperStream Server solution. Our recommendations vary according to these criteria:

* The configuration mode:
  * Scalability & Performance.
  * Network Storage & Optimization.
* The volume of data to protect.

Our sizing recommendations are based on statistical data. As a result, some specific configurations may not fit into this scheme and may require additional and deeper analysis. See the Sizing Guide for details.

## Install HyperStream Server

The HyperStream Server must be installed on one of the supported OS, using the dedicated setup provided. To find out the list of supported Operating Systems, see the Tina Compatibility Guide.

{% hint style="info" %}
For performance reasons, it is strongly recommended that you do not install the HyperStream Server and the Tina Server on the same machine.

If you must manage snapshots of your HyperStream environment, it is strongly recommended that you do not install the HyperStream Server on a disk containing a paging file.
{% endhint %}

### Prerequisite

You should use only direct attached storage or SAN to locate the repository. Mainly for performance issues, it is recommended to avoid NFS/CIFS mount points.

Check the following prerequisites to HyperStream Server installation:

| Prerequisite            | Description                                                                                                                                                                                                                                                                                                                                          |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Hardware and Processor  | <p>The HyperStream Server must be installed:<br>- On a machine with a multi-core 64-bit processor.<br>- On a local and dedicated fast access disk, such as an SSD.</p>                                                                                                                                                                               |
| Memory                  | At least 8 GB of RAM is required.                                                                                                                                                                                                                                                                                                                    |
| Block File Repository   | At least 32 GB of disk space must be permanently available on the volume where the unique Atempo-Deduplication Engine data blocks are stored.                                                                                                                                                                                                        |
| Linux Server            | X windows is required to launch the setup. It is recommended to avoid using a Windows X server.                                                                                                                                                                                                                                                      |
| Linux Server Snapshot   | <p>If you intend to use snapshots to secure your Linux Server, all your ADE components must be stored on:<br>- Version 2.02.95 or higher of LVM2.<br>- Thinly-Provisioned Logical Volumes (thin volumes).<br>See <em>Create a Thin Volume on Linux</em> for details.</p>                                                                             |
| Windows Server Snapshot | <p>- If you intend to use snapshots to secure your Windows Server, all your ADE components must be stored on an NTFS filesystem.<br>- In addition, if you want to use the snapshot revert feature, do not install any ADE components on the system disk.</p>                                                                                         |
| File system             | It is recommended to use an ext4 file system on Linux servers and NTFS on Windows servers.                                                                                                                                                                                                                                                           |
| Communication Ports     | <p>These ports must be open on your firewall:<br>- <code>8181</code>: communication port for the ADE administration interface.<br>- <code>23232</code>: communication port for the Atempo-Deduplication Engine. Open this port in input, or in input/output if there is a replication destination.</p>                                               |
| Graphical Interface     | <p>To use the ADE administration interface, you need one of these browsers, equipped with at least version 10.1 of Adobe Flash Player:<br>- Internet Explorer, version 11<br>Up-to-date versions of:<br>- Firefox<br>- Safari<br>- Chrome<br>- Edge<br>For all interfaces, the minimum resolution supported by HyperStream Server is 1280 x 800.</p> |
| Web browser proxy       | If your web browser uses a proxy, ensure that the network used by the HyperStream Server is included in the exclusion list of the browser proxy. Otherwise you may get this security error when you try to access your server in the ADE administration interface: "Attempt to load data from a server outside the security sandbox".                |
| User                    | The user launching the setup program must have administrator/root rights.                                                                                                                                                                                                                                                                            |
| Product Download        | Ensure that you have downloaded the HyperStream Server binaries from the Atempo Client Portal: `https://support.atempo.com`.                                                                                                                                                                                                                         |

*Table 1: Prerequisites to HyperStream Server installation*

During the installation or upgrade, the setup verifies that prerequisites are met. If your environment does not meet some of the prerequisites, you either get a warning informing you that such requirement is not met and what our recommendations are, or the installation stops until you make the necessary changes to meet the prerequisites.

### Installation

It is recommended to install HyperStream Server on a physical machine rather than a virtual one.

1. Launch the setup program corresponding to your operating system:
   * **Windows**: Double-click `ATSXXX-Server-Windows-X64.exe`.
   * **Linux**: Run `ATSXXX-Server-Linux-X64.bin`. Make sure that the binary is executable. If needed, set the permission with the command: `chmod +x`.
2. Select the installation language, then click **OK**.

   If you are launching the setup on a Linux platform, through a Windows platform using a remote display, you may not be able to change the installation language. This is due to an X server issue.
3. Click **Next**.
4. Accept the license agreement, then click **Next**. The HSS Server is included by default in the setup program.
5. In the **Parameters** pane, select **Installation**, then click **Next**.
6. (Optional) Select:
   * The main destination directory for the Atempo Deduplication Engine. The default destination directory is `C:\Program Files\Atempo`. If needed, select **Choose** and browse the directory tree to select an installation directory other than the default (`C:\Program Files\Atempo`). To return to the default directory, click **Restore Default**. It is recommended to install on a physical machine rather than on a virtual one.
   * The advanced setup option. This option defines a customized service name. By default, the home directory is `C:\Program Files\Atempo\AtempoDedupEngine\default`. The HyperStream home directory is composed of the installation directory selected in the previous window, and of the service name. The structure of the directory path is: `<installation_directory>\AtempoDedupEngine\<service_name>`. To modify the default service name, select this option, enter a service name, then click **Next**.
7. Click **Next**.
8. Click **Install**.

When installation is finished, the Atempo Dedup Engine service starts automatically. To check that it is running:

* **Windows**: Select **Start > Administration Tools > Services**.
* **Linux**: Launch the `/etc/init.d/ADE.default status` command.

{% hint style="info" %}
If you intend to perform ongoing mirroring or replication of your HyperStream Server, which is strongly recommended, you must install a second server on a separate machine with the same installation parameters as your main HyperStream Server.
{% endhint %}

## Activate a Product Component

To activate a product:

1. In the ADE administration interface, go to **Settings > Configurator**.
2. Select a tab in the side menu to activate one of the following products:
   * HyperStream Server and HVDS: **HyperStream** tab.
   * Lina: **Lina** tab.
3. In the selected tab, activate the product of your choice. If you cannot activate a product, select a repository. Repositories are used to store agent data (Lina) or backup streams (HyperStream Server or HyperVision Deduplication Storage).
4. Click **Apply**, then close the Configurator. The message *Configuration successfully applied* is displayed.

## Configurator in Wizard Mode

The Wizard mode automatically launches after a server installation to enable you to complete the server infrastructure configuration. This configuration can be modified later on in the Administration Interface.

### Step 1: Volume Analysis

Characteristics of volumes available on your machine are collected to give you an overview of each volume's performance (e.g., speed). These characteristics display next to the volume name when you have to select a repository to store data (e.g., index database).

When the volume analysis is completed, click **Next**.

### Step 2: Select a Product to Enable

1. Enable one or several of the following products:

   * HyperStream.
   * Lina.
   * HVDS.

   The configured options will be applied to the enabled product only.
2. Click **Next**.

### Step 3: Define Port Numbers

1. Define a port number for the:

   * Deduplication engine: `23232` is the default port.
   * Web administration port: `8181` is the default port.

   To modify these ports in the ADE administration interface, go to **Settings > Advanced > Configurator > Advanced > Ports**.
2. (Optional) If selected in the product selection, you can enable a dual port, then enter the port number to use. The dual port secures communication between the Lina administration interface and the port used for data transfer.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>As of version 5.0, Lina uses by default the same communication port (<code>httpd.port=8181</code>) for the Lina administration interface and data transfer. This port is used whether you install a new version or update an existing version. When you configure separate ports for administration and data, the data port is used for Lina backup and restore (Web restore included).</p></div>

   To enable dual ports in the Lina administration interface, go to **Settings > Advanced > Configurator > Advanced > Ports**.
3. Click **Next**.

### Step 4: Select a Location for the Index Database

1. Select a location for the index database used to keep track of the deduplicated backed up blocks:

   1. Select a volume.
   2. Select or enter a directory path.

   The database must be installed on a dedicated local disk. For performance reasons, it is recommended that:

   * You use about 100 GB for the size of this directory.
   * You install the database and the data repository on separate disks.
   * You install the database on an SSD disk since the database access pattern requires a high IOPS (input/output per second).
2. Click **Next**.

### Step 5: Select a Storage for Deduplicated Data Blocks

There are two types of storage for deduplicated blocks: disk storage or S3 storage.

**To define a disk storage**

Storage directories correspond to the paths where block files are stored.

1. Click the **Use disk storage** tab.
2. Select a location to store deduplicated data blocks:
   1. Select a volume.
   2. Select or enter a directory path.
3. Click **Next**.

**To configure an S3 storage**

You can create a dedicated S3 bucket or use an existing one. If you want to use an existing S3 bucket as storage destination, ensure that you have access to that bucket.

Be aware of the following limitations:

* Only one bucket can be used per server.
* Proxies are not supported.
* HTTPS redirection is not supported: `s3-eu-west-3.amazonaws.com` works, but not `s3.amazonaws.com` since it redirects to another endpoint.

{% hint style="warning" %}
After installing Lina, you cannot switch from an S3 storage to a disk storage.
{% endhint %}

To configure an S3 storage:

1. Click the **Use S3 storage** tab.
2. Set up your S3 storage by entering information regarding your existing or new bucket:

   1. Enter an endpoint.
   2. Enter an access key ID and a secret access key.
   3. Enter or select a bucket name.

   By default, a lock icon appears next to the name of the bucket. The status of that lock is updated if you select a bucket or test the connection to a bucket. For more details on the object lock feature, see [S3 Object Lock](#s3-object-lock).

   4. Select a region configured for your storage.

   Use the **Test** button to ensure that your bucket settings are correct and that the Lina server has access to your S3 storage.
3. (Optional) Activate the disk cache:

   1. Enable the cache option.
   2. Select a volume.
   3. Select or enter a directory path.
   4. Enter a maximum size for the disk cache.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>An intermediate disk storage is used to write backup data fast while pushing it to an S3 storage in parallel. Using disk cache will reduce the backup window, especially if the S3 storage is slow. When the cache is full, backups stop until some space is freed up by writing to the S3 storage.</p><p>Even though data blocks remain in cache when restarting, they are removed from the cache once they are written to the S3 storage. Blocks that are not pushed to the S3 storage yet can be restored directly from the cache.</p><p>Disk cache can be enabled or disabled at any time and can be increased in size as well.</p></div>
4. Click **Next**.

### Step 6: Select a Volume for HSS Streams and Lina Metadata

1. If you activated HSS or HVDS, select the stream directories where new streams will be stored:
   1. Select a volume.
   2. Select or enter a directory path.
2. If you activated Lina, select a location to store metadata for each backed up agent on a fast access disk, such as an SSD:

   1. Select a volume.
   2. Select or enter a directory path.

   One metabase is created for each backed up agent. For performance reasons, it is recommended that you install the Lina metabase and the block repository on separate disks. A new storage location for the metabases can be added or changed in the Lina administration interface at a later date. See [Configurator in the ADE administration interface](#configurator-in-the-ade-administration-interface) for more information.
3. Click **Next**.

### Step 7: Finalize the Initial Configuration

1. In the configuration summary, verify the list of selected repositories and ports, as well as the type of storage used for deduplicated blocks.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>You cannot change the storage type once your server is configured, unless you reinstall your server.</p></div>
2. (Optional) Confirm you want to receive update notifications. To modify this option later on in the administration interface, go to **Settings > Configurator > Advanced**, then accept to receive notifications about updates and security patches.
3. Click **Finish**.

## Configurator in the ADE administration interface

The configurator in the ADE administration interface enables you to:

* Create, modify or delete a repository.
* Move content to an additional repository.
* Enable or disable a product component (HyperStream Server, HVDS or Lina).
* Enable or disable update notifications.
* Change port numbers used for the HyperStream Server, Web administration and data ports.

To learn about operations that can be performed in the index database, disk block repository, S3 block storage, stream repository or Lina agent database repository, see the table below.

| Operation        | Index database | Disk block repository | S3 block storage     | Stream repository | Lina agent database repository |
| ---------------- | -------------- | --------------------- | -------------------- | ----------------- | ------------------------------ |
| Add new location | No             | Yes                   | No (one bucket only) | Yes               | Yes                            |
| Move content     | Yes            | Yes                   | No                   | Yes               | Yes                            |
| Modify location  | Yes            | Yes                   | No                   | Yes               | Yes                            |
| Remove location  | No             | Yes                   | No                   | Yes               | Yes                            |

*Table 2: Operations possible on Lina/HyperStream Server configuration items*

### Add a Repository

You can add a destination repository for deduplicated data blocks, streams or a Lina agent databases.

When you add a repository, you now have more than one location to store blocks, streams or agent databases. The choice of repository follows the round-robin algorithm: new items are stored alternately in one repository and then in another. Existing items remain in their original location.

To add a destination repository:

1. In the ADE administration interface, go to **Settings > Configurator**. The Configurator window opens.
2. Select a tab in the side menu to add a repository for:
   * Deduplicated data blocks: **Storage** tab. Adding an S3 repository is possible only if you are switching from a disk storage to an S3 storage. For more details on how to add an S3 storage repository, see [S3 Storage](#s3-storage).
   * Streams: **HyperStream** tab.
   * Lina agent databases: **Lina** tab. It is possible to add paths in order to increase storage, but a minimum of 1 TB of free space is required.
3. To add a repository, click the **Add repository** button.
4. Select a volume, then enter a path.
5. Click **Apply**. Your changes are saved.

### S3 Storage

#### S3 Object Lock

This feature helps ensure that the data blocks backed up by HyperStream Server on an S3 storage are never modified or deleted, as long as the blocks are in use.

Blocks that are no longer necessary will be removed from the storage by HyperStream Server. This occurs when the files they belonged to have been either deleted from the source, removed from protection, or replaced by a more recent version.

For HyperStream Server and HyperVision Deduplication Storage, backup streams are copied to your S3 storage in addition to the deduplicated blocks, and also benefit from object lock protection.

Backup to S3 storage can also help you rebuild your server in case of data loss. For more details, see S3 Disaster Recovery.

**To set up S3 Object Lock**

{% hint style="warning" %}
It is not possible to activate the Object Lock after the storage has been declared in the Configurator. Once enabled, the Object Lock feature cannot be disabled.
{% endhint %}

1. Configure the S3 Object Lock in your bucket settings.
2. In the Configurator (wizard mode or ADE administration interface), declare your S3 storage. By default, a lock icon appears next to the name of the bucket, which means that the S3 storage Object Lock is activated. To deactivate it, click the lock icon.

To declare an S3 storage, see [Configurator in Wizard Mode](#configurator-in-wizard-mode) (wizard mode) or [Switch from a Disk Storage to an S3 Storage](#switch-from-a-disk-storage-to-an-s3-storage) (ADE administration interface).

#### Switch from a Disk Storage to an S3 Storage

You can create a dedicated S3 bucket or use an existing one. If you want to use an existing S3 bucket as storage destination, ensure that you have access to that bucket.

Be aware of the following limitations:

* Only one bucket can be used per server.
* Proxies are not supported.
* HTTPS redirection is not supported: `s3-eu-west-3.amazonaws.com` works, but not `s3.amazonaws.com` since it redirects to another endpoint.

**To configure an S3 storage**

1. In the Lina administration interface, go to **Settings > Configurator > Storage**.
2. Click the **Use S3 storage** tab.
3. Set up your S3 storage by entering information regarding your existing or new bucket:

   1. Enter an endpoint.
   2. Enter an access key ID and a secret access key.
   3. Enter or select a bucket name. By default, a lock icon appears next to the name of the bucket. The status of that lock is updated if you select a bucket or test the connection to a bucket. For more details on the object lock feature, see [S3 Object Lock](#s3-object-lock).
   4. Select a region configured for your storage.

   Use the **Test** button to ensure that your bucket settings are correct and that the Lina server has access to your S3 storage. If your S3 storage is configured, you can click the **Benchmark** button to test the performance of your S3 storage with Lina.
4. (Optional) Activate the disk cache:

   1. Enable the cache option.
   2. Select a volume.
   3. Select or enter a directory path.
   4. Enter a maximum size for the disk cache.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>An intermediate disk storage is used to write backup data fast while pushing it to an S3 storage in parallel. Using disk cache will reduce the backup window, especially if the S3 storage is slow. When the cache is full, backups stop until some space is freed up by writing to the S3 storage.</p><p>Even though data blocks remain in cache when restarting, they are removed from the cache once they are written to the S3 storage. Blocks that are not pushed to the S3 storage yet can be restored directly from the cache.</p><p>Disk cache can be enabled or disabled at any time and can be increased in size as well.</p></div>
5. Click **Apply**.

If you want to move your existing data to your S3 storage, see [Move Content from a Disk Repository to an S3 Repository](#move-content-from-a-disk-repository-to-an-s3-repository).

#### Move Content from a Disk Repository to an S3 Repository

An S3 storage must be configured before moving existing content from a disk repository to an S3 repository.

To move content from a disk repository to an S3 repository, in a command line interface, launch your Lina server (i.e. `ade_server`), run the command `storage migrate 1`, then restart your server. The migration then takes place as a background task.

If your S3 storage is configured, you can click the **Benchmark** button to test the performance of your S3 storage with Lina.

### Move Data

#### Move Repository Content

You may need to move data from one repository to another (e.g. if the repository is almost full), or if you have created or removed a repository and want to move its existing content to a new location. The destination of the move can either become a repository (i.e., new items will be added to it) or just hold the existing items. You also have the possibility to move the entire content or only part of it. The source repository remains a repository until you modify or remove it.

#### Move Content from a Disk Repository to another Disk Repository

1. In the ADE administration interface, go to **Settings > Configurator**.
2. Click a tab:
   * **Storage** tab to move deduplicated data blocks.
   * **HyperStream** tab to move stream repositories.
3. Select a repository. The Data movement section displays.
4. (Optional) Set the new destination as a repository (to also host new data).
5. (Optional) If you want to limit the amount of data to be moved, activate the option **Stop moving data** and set a size limit. Data movement stops when the limit is reached.
6. Create a destination repository:
   1. Click **Add a destination repository**, then enter a destination path or click the ellipsis button to browse a path.
   2. Select a folder that will serve as destination. You can create a folder by clicking the **+** button in the upper right corner of the window.
   3. Click **Select**.
7. Click **Apply**.
8. Restart the server to apply pending operations. You may have to log into the ADE administration interface again after the server restarts.
9. Click **Yes** to continue.

#### Move the Index Database

To move the index database, you have to overwrite the existing path. Moving the database requires a restart of the Lina server.

To move the index database:

1. In the ADE administration interface, go to **Settings > Configurator**.
2. Select the **Database** tab.
3. Modify the volume and path as needed.
4. Click **Apply**.
5. Click **Restart the server** to apply pending operations and complete the database move, or **Cancel pending operations** if you do not want to proceed.

### Modify a Repository

When you modify a repository, a new repository is created and the original repository turns into a read-only directory.

Existing blocks, streams or Lina agent databases remain in the read-only directory, but new items are stored in the modified repository.

If you want to transfer data from a read-only directory to a newly created repository, see [Move Data](#move-data) for more details.

{% hint style="warning" %}
If you are using an S3 storage, you cannot create another S3 repository, but you can update the parameters of your S3 storage. However, always ensure that you are pointing to the same bucket to prevent any data loss.
{% endhint %}

To modify a repository:

1. In the ADE administration interface, go to **Settings > Configurator**.
2. Select a tab in the side menu to modify a repository:
   * **Storage** tab to move deduplicated data blocks. If you want to update the settings for your current S3 storage, click the **Use S3 storage** tab, update your settings, then click **Apply**.
   * **HyperStream** tab to move stream repositories.
   * **Lina** tab to move the agent databases.
3. Select the repository to modify. You can use the ellipsis button to modify the path, then click **Select**.
4. Click **Apply**. Your changes are saved.

### Remove a Repository

When you remove a disk block repository or stream repository, it becomes read-only and no new block or stream can be added. Existing items remain in the directory.

When you remove a Lina agent database repository, no new agent database is added to it. However, existing databases remain in place and continue to receive new information, as long as backups are performed on the corresponding agent.

1. In the ADE administration interface, go to **Settings > Configurator**.
2. Click the cross on the right hand side of the repository to remove.

### Activate a Product Component

To activate a product:

1. In the ADE administration interface, go to **Settings > Configurator**.
2. Select a tab in the side menu to activate one of the following products:
   * HyperStream Server and HVDS: **HyperStream** tab.
   * Lina: **Lina** tab.
3. In the selected tab, activate the product of your choice. If you cannot activate a product, select a repository. Repositories are used to store agent data (Lina) or backup streams (HyperStream Server or HyperVision Deduplication Storage).
4. Click **Apply**, then close the Configurator. The message *Configuration successfully applied* is displayed.

### Enable Update Notifications

If you want to be informed when an update is available, you can enable automatic notifications:

1. In the ADE administration interface, go to **Settings > Configurator**. The Configurator window opens.
2. In the **Advanced** tab, enable the option that generates notifications about updates.

### Change Port Numbers

1. In the ADE administration interface, go to **Settings > Configurator**. The Configurator window opens.
2. In the **Advanced** tab, change one or several of the following ports:
   * HyperStream Server port.
   * Web administration port.

## Atempo-License Manager

When you install HyperStream Server, a 30-day evaluation license is generated. You must request an add-on to your Tina License from Atempo and add it to your existing Tina license. See the Installation section of the Tina Administration Documentation for details.

Once your license file has been updated, you must declare the Atempo-License Manager used by Tina in your Atempo-Deduplication Engine.

**To declare the Atempo-License Manager in the Atempo-Deduplication Engine**

{% hint style="warning" %}
Do not perform this operation if the Tina License file has not been updated with your HyperStream Server component.
{% endhint %}

1. Launch a web browser and enter this URL: `http://<your_server>:8181/`.
2. Connect to the ADE administration interface with administrator rights (`superadmin`).
3. Select **Settings > Preferences > License**.
4. In the **License server** field, enter the name of your Atempo License Manager.
5. Provide a port number only if you do not want to use a port within the default range of `27000` to `27001`.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>If you do not specify a port number, HyperStream Server automatically assigns a free port number within the default range to communicate with the license server. For instance, if port <code>27000</code> is not available, port <code>27001</code> is chosen instead.</p><p>If you do specify a port number, HyperStream Server does not attempt to find the next free port available when the one specified is already used.</p></div>
6. Click **Apply license configuration**.

Interface parameters enable you to configure and modify the license and components.

| Feature          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Name             | Product name, either HyperStream Server (HSS), HyperVision Deduplication Storage (HVDS), or Lina (ALN).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Status           | Product status (e.g., Running, Disabled).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Use              | License status (e.g., number of agents available or token acquired).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Expiration       | Number of days remaining before the license expires.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Missing licenses | Number of agents that require a license.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| License type     | <p>Possible values are evaluation, standard or MSP license:<br>- An evaluation license lasts only for 30 days and is installed by default when you install a Lina server.<br>- A standard license requires an Atempo License Manager installed on your network. The standard license is associated with a predefined number of agents, as specified when you purchased the license. This type of license requires a license server and a license file corresponding to HyperStream Server.<br>- An MSP license can be used for an unlimited number of agents. This type of license requires a license server and a license file corresponding to HyperStream Server.</p> |
| License Server   | For standard licenses only, this parameter displays the License Server name used. To apply a license configuration, provide a server name and a port, then click **Apply license configuration**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Port             | License server port number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |

*Table 3: Interface parameters*

## Replace the License Manager

You can replace your License Manager with a new one in the ADE administration interface:

1. Ensure that your new License Manager has been configured with a permanent license file, as described in "To configure Atempo-License Manager with your permanent license."
2. In the ADE administration interface, go to **Settings > Preferences > License**.
3. In the **License** tab, enter the new server name and port number (if you want to use a port other than the default one).
4. Click **Apply license configuration**.

## Upgrade the HyperStream Server

To perform an upgrade of your installation, launch the HyperStream Server Installation program. The setup automatically detects the previous installation and upgrades it to the new version using the same parameters.

{% hint style="warning" %}
Prior to upgrading, make sure you read the compatibility issues in the Release Notes.
{% endhint %}

**To upgrade HyperStream Server**

1. Close the `ade_admin` command line interface.
2. Launch the setup program corresponding to your operating system:
   * **Windows**: Double-click the executable `ATSXXX-Server-Windows-X64.exe`.
   * **Linux**: Run `ATSXXX-Server-Linux-X64.bin`. You need to ensure that the binary can be executed. If necessary, you can define the rights with the command: `chmod +x`.
3. Select an installation language.
4. Click **Next**.
5. Accept the License Agreement.
6. Select **Upgrade**, then click **Next**.
7. In the drop-down list, select the version to upgrade, then click **Next**. A summary indicates the installation parameters.
8. Click **Install**, then click **Done**.

{% hint style="info" %}
If the upgrade fails and returns a message indicating the directory is locked, do the following:

1. Quit the upgrade.
2. Restart the `ade.default` service.
3. Relaunch the upgrade following this procedure.
   {% endhint %}

## Uninstall the HyperStream Server

If you installed HyperStream Server in silent mode, the uninstallation also takes place in silent mode. Uninstalling does not remove data (database, repositories, streams); you must remove them manually. After uninstalling HyperStream Server, old data cannot be used again, as a new installation will create an empty database.

**To uninstall HyperStream Server on Windows**

1. Select **Start > All Programs > Atempo Deduplication Engine > Uninstall** to launch the uninstall.
2. Click **Uninstall**.
3. Confirm you want to uninstall Atempo Deduplication Engine.
4. (Optional) Reboot the system.
5. Click **Finish**. HyperStream Server is uninstalled.

**To uninstall HyperStream Server on Linux**

Launch the uninstall script in the `AtempoDedupEngine\<Instance_Name>\Uninstall` directory.

## Install the HyperStream Server in Silent Mode

If you cannot install in graphical mode, you have the option to install/upgrade HyperStream Server in silent mode.

To do so, you must create a batch file. Then you can use this file to install HyperStream Server on machines without graphical or X terminals.

### To Install HyperStream Server in Silent Mode

{% hint style="info" %}
To edit the file, use a text editor, such as Notepad, not a word processor such as MS-Word. Use double backslashes in Windows.
{% endhint %}

1. Open the `batch_install_sample.txt` sample file located in the `Setup` directory of the product ISO.
2. Set the value of the required parameters according to your environment and save the batch file as a text file. This sample file gives you the opportunity to install and upgrade different products in silent mode, including the License Manager. This sample is set to install HyperStream Server. If you plan to install a Lina server, you also must uncomment and set these variables:
   * `USER_INSTALL_DIR_HSX`
   * `ALN_HTTP_PORT`
   * `ALN_HTTPS_PORT`
3. Launch the installer using this command:

```
<installer_path> -f <batch_file_absolute_path>
```

Examples:

Windows:

```bash
C:\temp\ATS700-Server-Windows-X64.exe -f C:\temp\my_batch_file.txt
```

Linux:

```bash
/tmp/ATS700-Server-Linux-X64.bin -f /tmp/my_batch_file.txt
```

HyperStream Server installation starts automatically with the parameters specified in your batch file.

### To Upgrade HyperStream Server in Silent Mode

The procedure to upgrade is the same as to install. However, some parameters must be modified to perform a silent upgrade:

1. Set `INSTALL_MODE_IS_UPGRADE=1`.
2. Set `HSS_ENV_NAME` to the name of the environment you plan to upgrade.
3. Comment out these lines:

```
HYPERSTREAM_NAME=default
HYPERSTREAM_PORT=23232
ADE_WEB_CONSOLE_PORT=8181 (default value)
USER_INSTALL_DIR_BASE=/usr/Atempo/HyperStream/default
USER_INSTALL_DIR_BLOCKS=/usr/Atempo/HyperStream/default
USER_INSTALL_DIR_STREAMS=/usr/Atempo/HyperStream/default
```

### To Uninstall HyperStream Server in Silent Mode

If you installed the HyperStream Server in silent mode, the uninstallation automatically runs in silent mode too. See [Uninstall the HyperStream Server](#uninstall-the-hyperstream-server).


---

# 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/tina-4.9.5/tina-4.9.5-en/administration-guide/deduplication/installation.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.
