# Installing HVM OS on host servers

## Prerequisites

Ensure that before you download the **HVM\_Install\_\*\*\*\*\*\*.iso**, you have the required license.

## About this task

Use the HPE-Provided HVM OS ISO to install your hosts. Download **HVM\_Install\_\*\*\*\*\*\*.iso** from [My HPE Software Center](https://myenterpriselicense.hpe.com/cwp-ui/product-details/HPE_VME_EVAL/-/sw360_hpe_internal).

The following example considers a simple active-backup network bond which does not require any advanced configurations on the network switches. It also assumes that the network ports are trunk ports and require the VLANs to be tagged at the host.

## Procedure

1. Mount the HVM OS Install ISO to the DVD drive device on the host machine. You can also mount the ISO using the server's Out of Band Management console.
2. Boot the server from the DVD drive.

   NOTE

   To install the HVM OS, you must select the uploaded ISO image to boot the system. This will involve updating the boot order to select the device with the ISO mounted before other devices or manually selecting a boot device during the boot sequence. The exact steps to do this will vary depending on the specific manufacturer and system. Refer your system documentation for specific instructions.
3. Select HVM Install 24.04 when the boot menu appears.

   ![Installing HVM OS-1](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-55B1F206-3935-4A1F-B029-D3E86E5A6E4F-high.png)
4. Proceed through the installer.

   NOTE

   Use your keyboard’s **Tab** key to navigate the installer TUI.
5. In the Network configuration screen, create your network bond and add a VLAN.
   1. Select **Create bond**.

      ![Installing HVM OS](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-B82526E2-BF5C-46EA-9635-30F0949E878A-high.png)

      NOTE

      For details on Bonds, see [Example Network Configurations](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/render?page=GUID-BDF3EFBF-EA90-4E6F-88D3-87ABF18C4170.html).
   2. Select the network interfaces to be added to the bond.

      ![Installing HVM OS-2](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-963FD78A-8EEA-442E-BD57-B140ABFB35D7-high.png)
   3. Under Bond mode, select **active-backup**.

      ![Installing HVM OS-3](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-C3322DD0-DB13-44D4-862D-A0ECEE4D28AD-high.png)
   4. Select **[Create]**

      ![Installing HVM OS-4](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-5FF65520-83FB-4E78-8C09-EE501F14D959-high.png)
   5. Your bond will show in the interface selection screen.

      ![Installing HVM OS-5](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-DFFC4B9B-C9B1-4102-8D8C-8EB529229D6B-high.png)

      NOTE

      To simplify future configurations, it is highly recommended to create a bond even if only one interface will be used.
   6. Select your bond to configure it.

      - If your management network needs to be on a tagged VLAN, select **Add a VLAN tag**.

        ![Installing HVM OS-6](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-8A7E8E38-8EDF-4B58-9014-D65932118707-high.png)
      - Add your Management VLAN ID.

        ![Installing HVM OS-7](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-69B22D67-F2C7-40DB-98C6-4367AEA6054B-high.png)
      - A new interface with your VLAN ID will show, select it and select **Edit IPv4**.

        ![Installing HVM OS-8](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-83ABEE67-E468-4E1C-8B43-593903A1DBE8-high.png)

        NOTE

        A static IP is required for successful configuration later on.
      - Select **Manual** for the IPv4 Method.

        ![Installing HVM OS-9](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-CB9620EE-A255-4DD2-950A-CEF53A0F5FB5-high.png)
      - Enter your network configuration.

        ![Installing HVM OS-10](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-A4BD837D-20D9-48EF-83CE-4F1EB5633BAE-high.png)
      - Select **[Done]** at the bottom.

        ![Installing HVM OS-11](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-B90A5368-4A3A-4445-8550-5208E77CDE8A-high.png)
6. Next configure the Storage.
   1. Leave the default selection to **Use an entire disk** and **Set up this disk as an LVM group** selected and select **[Done]**.

      ![Installing HVM OS-12](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-706707BB-20FE-4672-A96C-2DC911D147C3-high.png)

      NOTE

      The installer selects the disk automatically, check it selected the right one and change it if necessary.
   2. In the **Guided storage configuration** screen, under **Used Devices**, select **ubuntu-lv**, open the **Options** menu, and select **Edit**.

      ![Installing HVM OS-13](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-E724E0CB-CD93-4940-9C08-532231408B06-high.png)
   3. Modify the Size to match the maximum disk size, then **Save**.

      ![Installing HVM OS-14](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-D81D43F8-1849-4EB2-B0BA-3462EAF96964-high.png)
   4. When you are back in the Storage Configuration page, select **Done**.
   5. On the Confirm Destructive Action prompt, select **Continue**.

      ![Installing HVM OS-15](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-E8B1058C-CEB3-4D22-938C-FC1E3C7D8B8D-high.png)

      NOTE

      This prompt might not appear at this stage.
7. In the Proxy Configuration screen, configure proxy settings if your environment requires a proxy. Enter the proxy details when prompted during the installation. If a proxy is not required, leave the Proxy address field blank and continue with the installation.
8. Next, in the **Profile configuration** screen, enter the required details and select **Done**.

   ![Installing HVM OS-16](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-731CC106-A302-4E85-BE21-0943809E4F30-high.png)

   1. The system proceeds with the installation process.
   2. When the process finishes, select **[Reboot Now]**.

      ![Installing HVM OS-17](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/GUID-1C6379FA-BE67-42AD-AC01-3A9F75662BA8-high.png)
   3. Make sure your ISO is either unmounted or removed from the server.
9. After the HVM host reboots, login using the user created during installation either via the server's console or using SSH.
10. To make sure you have all the latest system packages, update your system:

    ```
    ```
    sudo apt update && sudo apt upgrade -y
    ```
    ```

    NOTE

    All packages will be pulled from a repository curated and maintained by HPE.
11. Make sure to configure time synchronization (NTP) by following this KB Article: [Configuring NTP for HVM host via /etc/systemd/timesyncd.conf](https://support.hpe.com/hpesc/public/docDisplay?docId=sf000109519en_us&docLocale=en_US). 

    NTP configuration is crucial in any system that needs to coordinate tasks between different services.
12. Configure locale settings and make further networking configurations using the hpe-vm console. See [Configuring the HVM host using the hpe-vm console](https://support.hpe.com/hpesc/public/api/document/sd00007332en_us/render?page=GUID-ADC37453-056E-43C8-8177-8211A44790FD.html).
13. Repeat this process for all your host servers.
