Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 12 Next »

Info

Please validate that you have the latest Ubuntu installed. Click here for the installation steps.

Introduction

We are installing Ubuntu on the physical node on a fresh node as an example. This will take us from a base Ubuntu OS to a fully deployed Containerized Swarm on K3s.

Hardware

The hardware used in this example has the following characteristics:

Component

Count

Type

processor

1

Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz

memory

4

64gb (256gb total)

disk group

1tb

nvme

3.5tb

nvme

disk swarm

18.2

sata

network

10/25gbe

image-20240404-155618.png

This is the required partition layout.

We are using the IPMI interface to deploy the system. The steps are similar to a USB-booted host.

This guide is based on supermicro-based hardware.

Accessing the IPMI Console and Booting From a Local ISO

  1. Navigate to the IPMI IP address. We are using https://<IPMI ADDRESS> for an example.

    image-20250131-100542.png
  2. Select Remote Control from the left pane.

    image-20250131-100414.png
  3. Click Launch Console.

    image-20240410-134207.png

    We are using JAVA plug-in as it can mount an ISO. HTML5 can also do this, but it is a licensed feature for ISO.

    There might be a warning as shown below:

    image-20250131-073414.png
  4. Click Continue.

    image-20250131-073600.png
  5. Click Run.

    image-20250131-073804.png
  6. Select Virtual Storage.

    image-20250131-074042.png
  7. Expand the Logical Drive Type and select ISO Image.

    image-20240410-152421.png
  8. Click Open Image to upload the downloaded ISO image.

    image-20250131-074148.png
  9. Select the ISO image downloaded earlier, and click Open.

    image-20240410-152524.png
  10. Click OK.

    image-20250131-074313.png
  11. Press f11 to invoke the boot menu.

    image-20250131-074446.png
  12. BIOS may not be set to use “virtual media” as a boot option. If so, enable it as an extra boot option in the BIOS.
    Virtual Media is displayed as shown below:

    image-20250131-074653.png
  13. Select the virtual media as a boot device.

    image-20250131-081144.png

Initial Steps for Ubuntu Install

The first screen on booting from the Ubuntu 22.04.4 is:

image-20240410-153829.png

Refer to the following steps to install:

  1. Select Ubuntu Server with the HWE Kernel.

    image-20240410-154024.pngimage-20240410-154055.pngimage-20240410-154134.pngimage-20240410-154215.pngimage-20240410-154257.png
  2. Select the preferred language. We have used English as an example.

    image-20240410-154359.png
  3. Select the layout and variant as per your preferred language.

    image-20240410-154423.png
  4. Select Done.

  5. Select Ubuntu Server > Done.

    image-20240410-154537.png
  6. Select the network connection > Done. The network connection is configured to talk to the server.

    image-20250131-081420.png
  7. Provide the proxy address > select Done.

    image-20240410-154753.png
  8. Provide the archive mirror address > select Done.

    image-20240410-154817.png

Storage Configuration

image-20240410-160832.png
  1. Ubuntus installer by default chooses the largest disk to deploy, which is not required for this installation. Therefore, press return and select an alternate drive for root.

  2. There is a large selection of drives here, so we will go with 893.750G drive and delete the existing partitions on this drive.

    image-20240411-102818.png
  3. Press return on the highlighted drive.

    image-20240411-102910.png
  4. Select Done.

  5. Select the new LVM volume group and edit it.

    image-20240411-103456.png
  6. Select Leave Unmount from the Mount drop-down. This will unmount the partition to change the amount of free space.

  7. Select Save.

    image-20240411-104156.png
  8. When it is changed on the mount, change it to “/”.

  9. Use the remaining volumes for var.

    image-20240411-105450.png
  10. Create a new logical volume group for the containers. This will be on the 3.4tb volume.

    image-20240411-105604.png
  11. Provide a name for the LVM volume group. Here, we have used vg0 as an example.

    image-20240411-105622.png
  12. Select Create.

    image-20240411-105649.png

    When finished, you will have a new device called vg0.

  13. Highlight the free space.

    image-20240411-105738.png
  14. Select Create Logical Volume.

    image-20240411-105831.png
  15. Select /var/lib from the Mount drop-down. This is used to dedicate all the free space to /var/lib where the containers live.

    image-20240411-110057.png
  16. Select Create.
    It shows a warning where select Continue.

    image-20240411-110138.png

User Creation

Provide the following information to set up a user profile:

  • Name - Name of the user.

  • Server name - Name of your server name to talk to other devices/computers.

  • Username - The username to log into the system.

  • Password - It is recommended to have a strong password.

image-20240411-110253.png

Select Done.

Upgrade to Ubuntu Pro

  1. Select Enable Ubuntu Pro.

  2. Select Continue.

    image-20240411-110309.png
  3. Select Install OpenSSH server and import SSH identity as No.

    image-20240411-110326.png
  4. Select Done.
    Ignore the following screens if displayed on your device.

    image-20240411-110346.pngimage-20240411-121651.png

    After successful installation, the system ejects the cdrom that fails.

    image-20250131-082001.png
  5. Reboot the machine manually to have a fresh OS. While rebooting the host, you will see a lot of text on screen, but if you hit return, it displays as shown below:

    image-20240411-123310.png

    Now, it will show your hostname. Here, my hostname is Godzilla, yours should be different.
    Logging into the system takes you to the command prompt.

    image-20250131-082450.png

  • No labels