> 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/lina-7.4/lina-7.4-en/administration-guide/deployment/configuring-the-server-environment.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Configuring the server environment

This section describes server configuration once the Lina server is installed.

## Configurator in wizard mode

Wizard mode launches automatically after a server installation to let you complete the server infrastructure configuration. This configuration can be changed later in the administration interface.

This section describes the steps of the initial Lina server configuration process.

### Step 1: Volume analysis

The characteristics of the volumes available on your machine are collected to give you an overview of each volume's performance (speed, for example). These characteristics are displayed next to the volume name when you need to select a storage space to store data (for example, an index database).

\> Once the volume analysis is complete, click **Next**.

### Step 2: Select a product to activate

1. Activate one or more of the following products:

   * HyperStream
   * Lina
   * HVDS

   The configured options will only apply to the activated product.
2. Click **Next**.

### Step 3: Define the port numbers

1. Set a port number for:
   * Deduplication engine: <kbd>23232</kbd> is the default port.
   * Web administration port: <kbd>8181</kbd> is the default port.

To change these ports in the Lina Administration Console, go to **Settings > Advanced > Configurator > Advanced > Ports.**

2\. (Optional) If this option is 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 Console and the port used for data transfer.

Starting with version 5.0, Lina uses the same communication port `httpd.port=8181` by default for the Lina Administration Console and data transfer. This port is used whether you install a new server or upgrade an existing version.

When you configure separate ports for administration and data, the data port is used for Lina backup and restore (including Web Restore).

To enable dual ports in the Lina Administration Console, 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 deduplicated backed-up blocks:

   * a. Select a volume.
   * b. Select or enter a folder path.

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

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

### Step 5: Select storage for deduplicated data blocks

This step lets you configure storage for deduplicated data blocks. There are two types of storage for deduplicated blocks: disk storage or S3 storage.

#### Disk storage configuration

**To set up disk storage**

1. Storage directories correspond to the paths where block files are stored.
2. Click the **Disk use** tab.
3. Select a location to store deduplicated data blocks:
   * Select a volume.
   * Select or enter a folder path.
4. Click **Next**.

#### S3 storage configuration (wizard)

**To configure S3 storage:**

You can create a dedicated S3 bucket in the Lina Administration Console tab or use an existing bucket. If you want to use an existing S3 bucket as a storage destination, make sure you have access to that bucket.

The following limitations apply:

* 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 this redirects to another access route.

> Important: After installing Lina, you cannot switch from S3 storage to disk storage.

To configure S3 storage:

1. Click the **Use S3 storage** tab.
2. Configure your S3 storage by entering information for your existing or new bucket:
   * a. Enter an access route.
   * b. Enter an access key ID and a secret access key.
   * c. Enter or select a bucket name.

By default, a lock icon appears next to the bucket name. This lock's status is updated when you select a bucket or test the connection to a bucket. For more details on the object lock feature, see [<mark style="color:blue;">S3 object lock.</mark>](#s3-object-lock)

* d. Select a region configured for your storage. Use the **Test** button to make sure your bucket settings are correct and that the Lina server has access to your S3 storage.

3\. (Optional) Enable the disk cache:

* Enable the cache option.
* Select a volume.
* Select or enter a folder path.
* Enter a maximum size for the disk cache.

An intermediate disk storage is used to write backup data quickly while pushing it to S3 storage in parallel. Using the disk cache will reduce the backup window, especially if S3 storage is slow. When the cache is full, backups stop until space is freed up by writing to S3 storage.

Even though data blocks remain in the cache after a restart, they are removed from the cache once they are written to S3 storage. Blocks that have not yet been transferred to S3 storage can be restored directly from the cache.

The disk cache can be enabled or disabled at any time, and its size can also be increased.

4\. Click **Next**.

> **Note**: In a multi-server configuration, each node can use a specific storage type. For example, one node can use disk storage while another node uses S3 storage. Access keys are also supported.

### Step 6: Select a volume for HSS streams and Lina metadata

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

   * a. Select a volume.
   * b. Select or enter a folder path.

   A metabase is created for each backed-up agent. For performance reasons, it is recommended to install the Lina metabase and the block storage space on separate disks. A new storage location for metabases can be added or changed later in the Lina Administration Console. See Configurator in the Lina Administration Console for more information.
3. Click **Next**.

### Step 7: Finalize the initial configuration

1. In the configuration summary, check the list of selected storage spaces and ports, as well as the storage type used for deduplicated blocks. You cannot change the storage type once your server is configured, unless you reinstall your server.
2. (Optional) Confirm that you want to receive update notifications. To change this option later in the administration interface, go to **Settings > Configurator > Advanced**, then agree to receive notifications about updates and security patches.
3. Click **Finish**.

## Logging in to the Lina Administration Console

The Lina Administration Console lets you view a range of information about your server environment and perform certain administrative tasks.

To configure protection for Lina agents on the server, you must log in to the Lina Administration Console.

### Administration Console overview

This section describes how to access the Lina Administration Console and understand its interface and main features.

The Lina Administration Console is shared by these products:

* HyperStream Server (HSS)
* Lina
* HyperVision Deduplication Storage (HVDS)
* HyperVision Agents (HVA). For more information, see the HyperVision agent documentation for VMware Tina.

**To open the Lina Administration Console in a standalone or multi-server configuration**

1. Launch a browser and enter this URL:\
   `https://<your_server_name>:8181/`\
   `<your_server_name>` is the network name of your server, and 8181 is the default port used for a standalone server. Depending on the group of the user you log in with, some information may or may not be displayed.
   1. **Standalone configuration**:\
      `https://<your_server_name>:8181/`\
      `<your_server_name>` is the network name of your server, and 8181 is the default port used for a standalone server. Depending on the group of the user you log in with, some information may or may not be displayed.
   2. **Multi-server configuration**:\
      `https://<your_server_name>:\<port_number_to_use>/AAdmin/`\
      You can switch between a standalone server (`port 8184`) and a master server (`port 8182`), but you cannot access both servers at the same time in the Lina Administration Console.
2. (Optional) Select a language (English or French).
3. (Optional) In the **Authentication** window, enter the **Tenant** of your choice. This field is only useful when multiple tenants exist. Superadmins can also select a tenant from a dropdown list using the `ui.show_tenants` tunable. To enable the tunable:

   a. Go to **Settings > Tunables**, then look for the `ui.show_tenants` tunable.\
   b. Enable the **Show tenant list on the login page** option.
4. Enter your username, then your password. By default, use <kbd>superadmin</kbd> for administrators.
5. Click **Login**. The Lina Administration Console interface is displayed <mark style="color:blue;">(see Image 7).</mark> If you are on a multi-server instance, an icon is displayed near the tenant list in the top-left part of the dashboard: <img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-b67e6bbc78c7f529bfa3453ec5323ba0abc34920%2Fimage%20(72).png?alt=media" alt="" data-size="line"> (master server) and <img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-93225c9476dbfeab2bf62a5098fc837875584663%2Fimage%20(71).png?alt=media" alt="" data-size="line"> (node).

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-3c0c74e905496adc854bd98fb74386a1493266b4%2Fimage-8.png?alt=media" alt=""><figcaption><p><strong>Image 7</strong>: Lina Administration Console view.</p></figcaption></figure>

The icons positioned in each tile provide additional information: for example, <img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-80873003d86251170c49626af7f5cb6a718dfe01%2Fimage%20(70).png?alt=media" alt="" data-size="line"> indicate the alert level.

### Navigating the Administration Console

This section explains how to navigate and use the various sections of the Lina Administration Console.

#### Understanding the Lina Administration Console menu

You can use the tabs in the left panel to navigate the Lina Administration Console. For more information on customizing the main screen, see displaying dashboard items in [<mark style="color:blue;">General preferences</mark> ](#general-preferences)(**Settings > Preferences**).

#### Left panel

* **Dashboard**: Consists of customizable tiles providing real-time information about the server environment.
* **Notifications**: Contains a list of notifications sent by the servers.
* **Agents**: Contains a list of agents used across one or all tenants.
* **Backup**: Includes information on strategies, protections, rules, and protection zones, as well as file categories on the servers.
* **Restore**: Used to manage restore tokens and restore files, folders, or agent groups.
* **Server**: Contains information about users, tenants, nodes, replication, and system information (system services, backup reports, events, startup information).

#### Tiles in the Lina Administration Console dashboard

Dashboard tiles let you view, access, or modify specific information. Fully customizable, all tiles can be moved or hidden using the button. The Lina Administration Console offers the following tiles:

* **Notifications**: Contains all notifications, sorted by severity.
* **Agents**: Provides information about agents, such as the number of protected agents or those requiring updates.
* **Storage**: Presents details such as the deduplication rate or disk usage.
* **Performance**: Displays CPU and RAM usage.
* **Activity**: Provides information about server activity, including backup or restore.
* **Replication**: Shows replication status, such as lag or speed. Also lets you define a time window for replication activity.
* **Nodes (multi-server only)**: Includes data about nodes managed by the master server (total nodes, unattached nodes, offline nodes). Note that an offline node prevents an agent from being backed up.
* **License**: This tile contains information such as license server status and the number of available tokens.

#### Searching in the Lina Administration Console

The Lina Administration Console is equipped with a built-in search engine. To use the search engine:

\> Click the magnifying glass in the top-right corner of the window and type a keyword in the search bar.

Depending on the keyword entered, the search engine can find items created by a user (administration objects) or user interface elements included in the Lina Administration Console user interface (application topics). Regular users or administrators can only find the items they created.

### Authentication and security

This section describes the various authentication and login modes available in the Lina Administration Console.

#### Login procedures used in the Lina Administration Console

Here are the different login procedures:

* **Local login**

The login procedure checks that the provided username matches an entry in the local user database.

If it matches, a local user login procedure takes place and access is granted with the privileges corresponding to the authentication provided, either as a default user or administrator.

If the user is not active, or if the username or password is incorrect, authentication fails and access is denied.

* **LDAP authentication**

If no match is found in the local database, the procedure checks whether the username string contains a domain (DOMAIN\USER or USER\@DOMAIN). If no domain is present, the default domain is added. An authentication request is then initiated via LDAP for <kbd>\<user\@domain> \<passwd></kbd>.

If authentication fails, access is denied.

If the authentication procedure succeeds:

* If <kbd>\<user\@domain></kbd> matches an entry in the user table, access is granted with the corresponding privileges (Default user or Administrator). If the user is inactive, access is denied.
* If no entry is found in the user table, for all groups the user belongs to, the procedure checks whether the group matches an active entry and retrieves the corresponding privileges (default user or administrator):
  * If at least one active group has administrator privileges, access is granted as administrator.
  * If at least one active group is found, access is granted as a default user.
  * If no active group is found, access is denied.
* If more than one tenant exists and a tenant was entered at login, that tenant takes precedence when the application opens. If nothing was specified, auto-login is taken into account. If auto-login has not been set, the default domain is taken into account. See [<mark style="color:blue;">Creating a tenant</mark>](#creating-a-tenant) for more details on auto-login.

## Rebranding

This section describes how to customize the appearance of the Lina administration interface and/or the agent interface through rebranding.

**To apply rebranding**

1. Select a tenant at the top of the page:
   * **All tenants** if you want to apply a single brand to all tenants.
   * **A specific tenant** if you want to define a brand for this tenant only.
2. Go to **`Settings > Preferences > Rebranding`.**
3. Customize the settings of your choice. If needed, revert to default values by clicking the ![](https://docs.atempo.com/lina/7.3/fr/lina-administration/Content/Resources/Images/Images_Topics_Lina/revert_icon.png) icon.\
   \
   **To customize the administration interface**

* Provide a name and logo for your company, product, or both.
* Select colors for your data.\
  By default, three colors are used: the first serves as the primary color, and the others serve as the hover color and light color.

  The primary color applies to elements such as the sidebar menu or menu tile titles. The light and hover colors can be selected manually like the primary color, or automatically suggested when you click the lock icon next to the primary color.\
  \
  **To customize the agent interface**

  * Upload the icons you want to use (if you want to change the icon displayed in the taskbar, for example).\
    • Change the name displayed in the context menu when you right-click an item.\
    • Add a message in the Information field to share the contact details of an administrator who can help users experiencing technical difficulties.

    You can click the button below the Information field to view examples with previews. You can write a message with or without basic HTML tags.

    On the Lina Agent, the support information will be displayed in the Help and resources section.

4. Click **Apply rebranding**.

## General preferences

The Preferences window lets you configure global settings. Settings configured in:

* The **Display**, **LDAP**, and **SMTP** tabs apply to a specific tenant.
* The **License**, **Encryption**, and **Syslog** tabs apply to all tenants.

### Preferences overview

This section describes how to configure general preferences for the Lina Administration Console.

#### Viewing general preferences

To view general preferences, go to **Settings > Preferences.**

By default, user preferences are stored in your browser, but you can now store them on the Lina server. To do this, click **Store on server** in the top-right corner of the window.

#### General preferences settings

Customizing the Lina Administration Console interface lets you display contextual help, enable button labels, or manage dashboard items. You can change the following settings <mark style="color:blue;">(Table 6)</mark>:

**Table 6: General preferences settings**

<table data-header-hidden><thead><tr><th width="205"></th><th></th></tr></thead><tbody><tr><td><strong>Setting</strong></td><td><strong>Description</strong></td></tr><tr><td><strong>News</strong></td><td>Displays an overview of new Lina features when you log in to the Administration Console.</td></tr><tr><td><strong>Toolbar labels</strong></td><td>Displays the name of the buttons located in the toolbar.</td></tr><tr><td><strong>Predefined objects</strong></td><td>Displays unused predefined administration objects, such as strategies, rules, and file categories. The interface is simplified and you can delegate rights to operators who will not be able to modify administration objects.</td></tr><tr><td><strong>Audio</strong></td><td><p>Displays the volume used for different types of sounds emitted in the Administration interface (for a warning or error, for example).</p><p>By default, sounds emitted when an operation succeeds are muted.</p></td></tr></tbody></table>

### Lina configuration

The Lina Administration Console lets you define configuration settings applicable to Lina. These settings are defined in the Lina Agents list.

**To access the agent list**

1. Go to the agent list.
2. Click the button above the agent list to configure global agent settings. These settings apply to new agents and existing agents.

#### Setting a default strategy for new agents

1. Go to **Default strategy.**
2. Set a default strategy for the OS of your choice.

The standard strategy is **Default strategy** / No restrictions / With encryption.

#### Creating a label for registered agents

A label can be used to:

* Sort agents that share a common characteristic (a location, for example). Labels can be added in the agent details or in the properties applied to all Lina agents.
* Filter agents in the agent list.
* Search for multiple agents without using the filter in the Agents list. No selection history is kept when using the filter, which means the agent you select is retained until the filter is used to search for another agent.

**To create a label**

1. Click in the label field and enter a label name.
2. Select a label color, then click the + button.

The label is automatically added to the list of labels used in the Lina Administration Console.

To change the name of an existing label, click the label, then edit the label name. To delete an existing label, click the trash icon on the label.

**To select an existing label for an agent**

Go to the agent details, then select one or more labels. For more details, see [<mark style="color:blue;">Manually creating Lina agents.</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/getting-started/configuring-agents-on-the-server.md#manually-creating-lina-agents)

## Configurator in the Lina Administration Console

The configurator in the Lina Administration Console lets you:

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

### Configurator overview

This section describes how to use the configurator in the Lina Administration Console to manage storage spaces and server components.

For more information on the operations that can be performed on the index database, disk block storage space, S3 block storage, stream storage, or Lina agent database storage space, see <mark style="color:blue;">Table 7.</mark>

**Table 7: Possible operations on Lina/HyperStream Server configuration elements**

<table data-header-hidden><thead><tr><th></th><th width="94"></th><th width="112.6666259765625"></th><th width="105.333251953125"></th><th width="94"></th><th></th></tr></thead><tbody><tr><td><strong>Operation \ Configurator element</strong></td><td><strong>Index database</strong></td><td><strong>Disk block storage space</strong></td><td><strong>S3 block storage</strong></td><td><strong>Stream storage space</strong></td><td><strong>Lina agent database storage space</strong></td></tr><tr><td><strong>Add a new location</strong></td><td>No</td><td>Yes</td><td>No (one bucket only)</td><td>Yes</td><td>Yes</td></tr><tr><td><strong>Move content</strong></td><td>Yes</td><td>Yes</td><td>No</td><td>Yes</td><td>Yes</td></tr><tr><td><strong>Modify a location</strong></td><td>Yes</td><td>Yes</td><td>No</td><td>Yes</td><td>Yes</td></tr><tr><td><strong>Delete a location</strong></td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>Yes</td></tr></tbody></table>

### Managing storage spaces

This section describes how to add, modify, move, and delete storage spaces.

#### Adding a storage space

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

When you add a storage space, you now have multiple locations for storing blocks, streams, or agent databases. The choice of storage space follows a round-robin algorithm: new items are stored alternately in one storage space, then another. Existing items remain in their original location.

To add a destination storage space:

1. In the Lina Administration Console, go to **Settings > Configurator**. The Configurator window is displayed.
2. Select a tab in the side menu to add a storage space:
   * **Deduplicated data blocks**: **Storage** tab. An S3 storage space can only be added when transitioning from disk storage to S3 storage. For more information on adding an S3 storage space, see the [<mark style="color:blue;">S3 storage</mark>.](#s3-storage-configuration) section.
   * **Streams**: **HyperStream** tab.
   * **Lina agent database**: **Lina** tab. Paths can be added to increase storage, but at least 1 TB of free space is required.
3. To add a storage space, click the **Add repository** button.
4. Select a volume, then enter a path.
5. Click **Apply**. Your changes are saved.

### S3 storage configuration

This section describes the configuration and management of S3 storage, including object lock and migration from disk storage.

#### **S3 object lock**

This feature ensures that data blocks backed up by Lina to S3 storage are never modified or deleted while the blocks are in use.

Blocks that are no longer needed will be removed from storage by Lina. This happens when the files they belonged to have either been deleted at the source, removed from protection, or replaced by a newer version.

Backing up to S3 storage can also help you rebuild your server in the event of data loss. For more details, see [<mark style="color:blue;">S3 disaster recovery</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/appendix-advanced-operations/appendix-a-performing-advanced-operations.md#s3-disaster-recovery)<mark style="color:blue;">.</mark>

**To set up S3 object lock**

> **Important**: It is not possible to enable object lock once storage has been declared in the configurator. Once enabled, the object lock feature cannot be removed.

1. Configure S3 object lock in your bucket settings.
2. In the configurator (wizard mode or Lina Administration Console), declare your S3 storage.

By default, a lock icon appears next to the bucket name, indicating that S3 storage object lock is enabled. To disable it, click the lock icon. To declare S3 storage, see [Configurator in wizard mode ](#configurator-in-wizard-mode)(wizard mode) or [<mark style="color:blue;">Switching from disk storage to S3 storage</mark>](#switching-from-disk-storage-to-s3-storage) (Lina Administration Console)

#### Switching from disk storage to S3 storage

You can create a dedicated S3 bucket in the Lina Administration Console tab or use an existing bucket. If you want to use an existing S3 bucket as a storage destination, make sure you have access to that bucket.

The following limitations apply:

* Only one bucket can be used per server.
* Proxies are not supported.
* HTTPS redirection is not supported: <kbd>s3-eu-west-3.amazonaws.com</kbd>

works, but not <kbd>s3.amazonaws.com</kbd>, since this redirects to another access route.

**To configure S3 storage**

1. In the Lina Administration Console, go to **Settings** > **Configurator** > **Storage**.
2. Click the **Use S3 storage** tab.
3. Configure your S3 storage by entering information for your existing or new bucket:
   1. Enter an access route.
   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 bucket name. This lock's status is updated when you select a bucket or test the connection to a bucket. For more details on the object lock feature, see **S3 object lock**.
   4. Select a region configured for your storage.\
      Use the **Test** button to make sure 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 your S3 storage's performance with Lina.
4. (Optional) Enable the disk cache:

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

   An intermediate disk storage is used to write backup data quickly while pushing it to S3 storage in parallel. Using the disk cache will reduce the backup window, especially if S3 storage is slow. When the cache is full, backups stop until space is freed up by writing to S3 storage.

   Even though data blocks remain in the cache after a restart, they are removed from the cache once they are written to S3 storage. Blocks that have not yet been transferred to S3 storage can be restored directly from the cache.

   The disk cache can be enabled or disabled at any time, and its size can also be increased.
5. Click **Apply**.

If you want to move your existing data to your S3 storage, see Moving the content of a disk storage space to an S3 storage space.

> **Note**: In a multi-server configuration, each node can use a specific storage type. For example, one node can use disk storage while another node uses S3 storage. Access keys are also supported.

#### Moving the content of a disk storage space to an S3 storage space

S3 storage must be configured before moving content from a disk storage space to an S3 storage space.

To move the content of a disk storage space to an S3 storage space:

\> In a command-line interface, launch your Lina server (i.e. <kbd>ade\_ server</kbd>), run the command <kbd>storage migrate 1</kbd>, then restart your server. The migration will then run in the background.

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

### Moving data

This section describes how to move data between different storage spaces.

#### Moving the content of a storage space

You may need to move data from one storage space to another (for example, if the storage space is nearly full), or if you have created or deleted a storage space and want to move its existing content to a new location. The move destination can either become a storage space itself (meaning new items will be added to it) or simply hold the existing items. You also have the option of moving all or part of the content. The source storage space remains a storage space until you modify or delete it.

**To move the content of a disk storage space to another disk storage space**

1. In the Lina Administration Console, go to **Settings > Configurator**.
2. Click a tab:
   * **Storage tab** to move deduplicated data blocks.
   * **HyperStream tab** to move stream storage spaces.
   * **Lina tab** to move agent databases.
3. Select a storage space. The **Moving data** section is displayed.
4. *(Optional)* Set the new destination as a storage space (so it also hosts new data).
5. *(Optional)* If you want to limit the amount of data to move, enable the **Stop moving data** option and set a size limit. Data movement stops when the threshold is reached.
6. Create a destination storage space:
   1. Click **Add destination storage space**, then enter a destination path or click the ellipsis button to browse for a path.
   2. Select a folder to serve as the destination. You can create a folder by clicking the + button in the top-right corner of the window.
   3. Click **Select**.
7. Click **Apply**.
8. Restart the server to apply pending operations. You may need to log in to the Lina Administration Console again after the server restarts.
9. Click **Yes** to continue.

#### Moving the index database

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

**To move the index database**

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

#### Modifying a storage space

When you modify a storage space, a new storage space is created and the original storage space becomes 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 storage space.

If you want to transfer data from a read-only directory to a newly created storage space, see [Moving data](#moving-data) for more information.

> **Important**: If you use S3 storage, you cannot create another S3 storage space, but you can update your S3 storage settings. However, make sure you always point to the same bucket to avoid any data loss.

**To modify a storage space**

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

#### Deleting a storage space

When you delete a disk block storage space or a stream storage space, it switches to read-only mode and no new blocks or streams can be added. Existing items remain in the directory.

When you delete a Lina agent database storage space, no new agent databases are 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 Lina Administration Console, go to **Settings > Configurator**.
2. Click the cross to the right of the directory to delete it.

### Managing product components

This section describes how to activate and manage the various product components (HyperStream, HVDS, Lina).

#### Activating a product component

To activate a product:

1. In the Lina Administration Console, 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 storage space. Storage spaces are used to store agent data (Lina) or backup streams (HyperStream Server or HyperVision deduplication storage).
4. Click **Apply**, then close the configurator.

The **Configuration applied successfully** message is displayed.

#### Enabling update notifications

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

1. In the Lina Administration Console, go to **Settings > Configurator**. The Configurator window is displayed.
2. In the **Advanced** tab, enable the option that generates update notifications.

### Configuring network ports

This section describes how to configure the Lina server's communication ports.

#### Changing port numbers

To configure ports in the Lina Administration Console, follow the steps below:

1. In the Lina Administration Console, go to **Settings > Configurator**. The Configurator window appears.
2. Go to the **Advanced** tab and change one or more of the following ports:
   * **HyperStream port**
   * **Web administration port**
   * **Data Port** (use separate ports for Web administration and data if needed)

## Accessing background services

The Background Services view displays all active services on the server and lets users pause, stop, or start a service. It is visible to all users.

### Background services overview

This section describes the different background services available and how to manage them.

To display the Background Services view:

1. Open the Lina Administration Console.
2. Select **Server > Services**. All services are displayed <mark style="color:blue;">(Table 8).</mark>
3. Double-click a service for more information.

The following table summarizes the available services.

**Table 8: Background services settings**

<table data-header-hidden><thead><tr><th width="205"></th><th></th></tr></thead><tbody><tr><td><strong>Setting</strong></td><td><strong>Description</strong></td></tr><tr><td><strong>Checker</strong></td><td>Searches for and (if found) retrieves blocks from the mirror server to replace locally corrupted blocks (following disk corruption or an I/O error, for example)</td></tr><tr><td><strong>Compactor</strong></td><td>Frees up disk space by compacting existing data</td></tr><tr><td><strong>Garbage Collector</strong></td><td>Performs cleanup operations (removal of streams and files)</td></tr><tr><td><strong>Monitor</strong></td><td>Displays statistics and performs maintenance operations</td></tr><tr><td><strong>Replication</strong></td><td>Sends streams and blocks to be replicated to the replication destination server</td></tr></tbody></table>

You can perform the following actions on services:

* Pause the service.
* Stop the service.
* Start/restart the service.
* Enable the service.
* Disable the service.
* Refresh the service list.
* Display the following information for all services:
* The background service status
* Background service name
* The background service description
* Start, run, and end dates of the background service
* A description of the background service and advanced information

## Enabling email notifications

You can receive email notifications when a filesystem is full or when your server's health check returns an alarm severity log. To do this, you must:

* Configure an SMTP messaging service on your Atempo Deduplication Engine. See [<mark style="color:blue;">Configuring the SMTP messaging service.</mark>](#configuring-the-smtp-messaging-service)
* Provide a list of emails to which notifications should be sent.

You can also set a filter on recurring alarms for which you no longer want to receive an email.

Even though the notification is only sent when a log with alarm severity level is returned, the email contains all logs generated by the health check, including Warning or OK severities.

Notifications are sent as needed when the Atempo Deduplication Engine starts, and then every day at midnight.

**To allow existing Lina agents to receive alert notifications**

1. Go to the agent list.
2. Click the button above the agent list to configure global agent settings. These settings apply to new agents and existing agents.
3. Go to Email notifications.
4. Enable the Send email notifications to users option. To allow specific agents to receive notifications, see [<mark style="color:blue;">Assigning an email address to the agent.</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/getting-started/configuring-agents-on-the-server.md#assigning-an-email-address-in-the-agent-details)

### Configuring the SMTP messaging service

Lina lets you receive email notifications, for example when a full filesystem is detected or when your server's health check returns an alarm severity log. To do this, you must configure the SMTP messaging service on the Atempo Deduplication Engine.

1. Open the Lina Administration Console.
2. Select **All tenants** at the top of the page.\
   \&#xNAN;*SMTP cannot be configured at the tenant level.*
3. Select **Settings > Preferences**.
4. Click the **SMTP** tab.
5. Fill in the following settings:
   1. Enter the name of the SMTP server you want to use to send notifications.
   2. If you want to apply a secure connection when sending notifications, select STARTTLS or SSL/TLS.\
      \&#xNAN;*If you do not want to apply a secure connection, select None.*
   3. Enter your SMTP server's port number.
   4. (Optional) Depending on your SMTP server, enter a username and password.
   5. Enter the sender's email address (for example, `noreply@yourorganization.com`).
6. Click **Apply SMTP configuration**.

To verify that the SMTP configuration is working, enter the recipient's email address, then click **Send test message**.\
To view the SMTP configuration, click the **Show configuration** button.\
To remove the SMTP configuration, click the trash icon.

### Configuring email notifications

The SMTP service must be enabled. See [Configuring the SMTP messaging service](#configuring-the-smtp-messaging-service) for more details.

To allow specific recipients to receive notifications:

1. Open the Lina Administration Console.
2. Select **Notifications** in the side menu to open the notifications list. You can also click the **Notifications** tile on the Lina Administration Console dashboard.
3. In the top-left corner, click the gear icon above the notifications list, then click the **Email sending** tab. The recipients configuration window appears.
4. Add recipients. To add a recipient, enter an email address, then click the **+** button.
5. Set the notification settings:
   * Allow email notifications: send notifications that have not yet been acknowledged.
   * Only send an email at error level: enable only alarm notifications.
   * Notification time: set a time for sending the notification.
6. Click **Save** to return to the Notifications interface.

## Managing tunables

Tunables are special settings that change the behavior of the Lina server. They can be used to adapt the application to specific needs. You must be an administrator to view and manage these settings.

### Tunables overview

This section describes how to access and change tunable settings to customize the Lina server's behavior.

#### Accessing tunables

The following rights must be enabled in the user group so that users can:

* **View basic tunables:** View.
* **View advanced tunables:** View advanced.
* **Change tunables:** Edit.

### Accessing the Tunables List

1. Open the Lina Administration Console.
2. Select **Settings > Tunables**.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-4dc225b60e46379a1b60b3f439f07b9eb9af51a1%2Ftunables.png?alt=media" alt=""><figcaption><p><strong>Image 8</strong>: Tunables view</p></figcaption></figure>

Here are the items displayed for each setting:

* **Name**: Setting name
* **Description**: Explanation of the tunable
* **Value**: Value set for the setting

### Editing parameter values

1\. Change the parameter value as needed.

2\. Close the window to confirm the new value.

## Setting an encryption key for data blocks

You can encrypt data blocks in the Lina storage space.

Encryption is:

* Performed by the Lina server when writing blocks to the storage space.
* Based on the AES-256 algorithm.

### Encryption overview

This section describes how to configure data block encryption to secure stored data.

> **Important**: Blocks that were already stored in the storage space before encryption was enabled are not encrypted. To encrypt them, the blocks must be compacted: this rewrites and encrypts the blocks.

**To set an encryption key**

1. Go to **Settings > Preferences > Encryption**.
2. Enter the key of your choice or click **Generate a key**. **Important**: Once you have set an encryption key, it cannot be changed.
3. Click **Enable encryption**.

The key is used for all agents protected by the Lina server. If you no longer want to encrypt data blocks, you can disable it.

### Replicating data

If you replicate data, you must also set an encryption key on the replicated server to encrypt the replicated blocks. The key can be the same or different between the source and destination servers.

### During a restore

When an agent requests a restore, Lina decrypts the blocks before sending them to the requesting agent. Blocks can be sent over HTTPS if needed.

## Changing the agent's port number

1. Manually edit the `CfgServerHost` file located in the HNDB directory. *(The default Windows path is `C:\ProgramData\HNDB`)*
2. To redefine the ports, use this syntax: `<server>:<port>`. Make sure to set the same numbers as for the server above. *(The default `<port>` value is `8181`.)*
3. Save your changes to the file.

## Tenants

A tenant is a part of the Lina server that separates a set of agents with their own properties and identity. It is possible to determine the tenant in which a specific item was created (agent, user, report template, etc.) in the Lina Administration Console. To view an item's tenant, go to the list of items of your choice, then select **All tenants** in the **Tenant used** list. For example, if you want to know the tenant of each agent, go to the agent list, then select **All tenants** in the **Tenant used** list.

### Tenants overview

This section describes how to create, manage, and configure tenants in Lina to organize and isolate agents and their configurations.

You can:

* Create an architecture with multiple tenants. This architecture lets you manage multiple tenants with the same server while maintaining full individuality for each tenant.
* Copy strategies, protection configurations, rules and protection zones, as well as file categories between tenants located on the same server or on different servers.
* Create a configuration and apply it to a tenant (local configuration) or to all tenants (global configuration). You can define both types of configuration for LDAP.

**To open the tenants list**

\> Go to **Server > Tenants.**

In the tenants list, you can:

* Add or delete a tenant.
* Select a tenant as the default tenant.
* Refresh, filter, or export the tenants list in CSV or HTML format.
* Display or hide information specific to all tenants, such as the UUID, users auto-connections, nodes containing each tenant, comments, or the number of agents contained in each tenant.
* (Multi-server only) Display the **Nodes** column. This column indicates the nodes a specific tenant can access. You can change the node list in the tenant details.

### Creating a tenant

**To create a tenant**

1. Log in to the Lina Administration Console with administrator rights (superadmin).
2. Go to **Server > Tenants** to open the tenants list.
3. Above the tenants list, click **+** to create a tenant.
4. Enter the tenant name.
5. *(Optional)* Add a comment below the tenant name.
6. *(Optional)* Set the tenant as the default tenant using the toggle button. No tenant name is required if you want to access the default tenant on the Lina Administration Console login page.
7. *(Optional)* Set an agent quota for this tenant.
8. *(Optional)* Configure an auto-login to the tenant when logging in to the Lina Administration Console. This option automatically links a machine name, IP address, or defined IP address to a tenant, without that tenant being the default one. To specify how the login should be linked:
   1. Enter an IP address, machine name, or subnet.
   2. Click **+**. If no address or name is specified, auto-login is taken into account. If an auto-login is defined, the default domain is taken into account.
9. (Multi-server only) These steps can be performed for new or existing tenants:
   1. Select a distribution policy that redirects agents to nodes. By default, you can add an agent to alternating nodes (round robin), to a node containing the fewest agents, or to the node with the most free space.
   2. (Optional) Indicate whether the tenant can access all or some of the nodes. By default, a tenant can access all nodes, but you can limit the number of accessible nodes. If you have nodes, you can add a tenant to one or more nodes. To select a specific node, click the toggle button next to the tenant name.
10. Click **Create** to confirm the tenant creation.
11. If you want to change the tenant's properties, click the tenant in the tenants list, change the property of your choice, then click **Save**. In the tenants list, you can display or hide information about the UUID, users auto-connections, nodes, comments, agents, or the agent quota per tenant.

### Copying a configuration between tenants

To make Lina administration easier, you can copy configuration items from one tenant to one or more other tenants. This applies to strategies, protection policies, including rules, paths, and file categories.

1. In the Lina Administration Console, if you want to copy:
   * **Strategies**, go to: `Backup > Strategies`.
   * **File categories, rules, or protection zones**, go to: `Backup > Protections`, then select a submenu (for example, File categories).
   * **Tenants**, go to: `Server > Tenants`.
2. Select the item you want to copy.
3. Click the globe-shaped button above the configuration items list.
4. Select the tenant to copy to.
5. Click **Apply**.

### Setting an agent quota for a tenant

You can limit the number of agents per tenant to control the growth of your backup volume.

When a quota threshold is reached, a notification is displayed in the Lina Administration Console. The default thresholds are:

* **Information**: 80% to 90% of the quota is reached.
* **Warning**: 90% to 100% of the quota is reached.
* **Error**: The agent quota set for a tenant is reached.

To add agents to a tenant whose quota has been reached, you must set a new quota for that tenant.

**To change agent quota notifications**

1. **Select a tenant at the top of the page:**
   * **All tenants** if you want to set a threshold for multiple tenants at once.
   * **A specific tenant** if you want to set a threshold for that tenant.
2. In the notifications list, select the button, then set a threshold in the **Agent quotas for tenants** section (Configuration > Severities).

**To set an agent quota for a tenant**

1. Go to **Server > Tenants**.
2. In the tenants list, click a tenant.
3. In the tenant details, set an agent quota for the tenant:
   * Enable the option in the **Agent quota** section.
   * Set a maximum number of agents to create in this tenant.

**To view the maximum number of agents per tenant**

1. Go to **Server** > **Tenants**.
2. Click the button, then select **Agents** > **Max**.

**To view the number of agents for a specific tenant**

\> Go to **Server > Tenants**, then select **Agents**.

## Schedules

Automatic tasks, such as replication, can be scheduled to save bandwidth or resources. In the Lina Administration Console, you can define time intervals during which tasks will take place.

### Schedules overview

This section describes how to create and manage schedules for automatic tasks in Lina.

You can schedule the following tasks:

* **Purge**: Deletion of backed-up data upon expiration of the retention period.
* **Compaction**: Recovery of disk capacity when block files are not in use.
* **Replication**: Data replication.

### Viewing schedules

You can view schedules as a list (default view) or in a calendar. To access schedules:

\> Go to **Server > Schedules.**

A list of schedules is displayed.

In the default view, you can refresh the list, export it to .CSV or .HTML format, or filter using keywords (<mark style="color:blue;">Image 9</mark>).

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-bd3a7bb17cb702c890370b64e9dd397624710f3a%2Fplanifications.png?alt=media" alt=""><figcaption><p><strong>Image 9</strong>: List view</p></figcaption></figure>

To display tasks in calendar mode, click the calendar button in the top-right corner of the window (<mark style="color:blue;">Image 10</mark>). In the calendar view, you can view schedules on a weekly basis or click a cell to display a task's details. You can also hide specific tasks, drag and drop time slots, or view trigger times when hovering over tasks.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-0bf27e624cacef3cf804fe8c8063ca61c594aede%2Fplanifications-2.png?alt=media" alt=""><figcaption><p><strong>Image 10</strong>: Calendar view</p></figcaption></figure>

In both views, you can use the buttons above the schedules to display scheduled tasks or time intervals.

### Scheduling a task

To manually update a schedule:

1. Go to **Server** > **Schedules**.
2. Select the task you want to change:

   * **Default view**: select a task from the list.
   * **Calendar view**: select a task in the calendar or in the calendar legend. If you click the eye icon next to the task in the legend, the task may disappear from the calendar.

   The task's properties are displayed.
3. *(Optional)* Click the **paint palette** to select a different color.

   To create a custom color for the task:

   * Click a color in the **Custom colors** section.
   * Click the paint palette above the color.
   * Click **Save**.

   You can also select background and foreground colors.
4. In the task properties, select an option:

   * **Disabled**: This task will not be launched by the server.
   * **Automatic**: This task will be launched by the server at the server's convenience.
   * **Custom**: This task will be launched by the server at the time of your choice. If you are changing a scheduled task, set a frequency and trigger time for the task. If you are changing a time interval, click a time interval to specify a duration for the task.

   When a task is set at a specific time, it applies to all tenants.
5. Click **Save**.


---

# 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/lina-7.4/lina-7.4-en/administration-guide/deployment/configuring-the-server-environment.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.
