Installing a Physical Node

Introduction

We are installing Ubuntu + Perifery Single Node Swarm on a fresh host 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

Comment

Component

Count

Type

Comment

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

8

18.2tb 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 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://172.30.8.221 for an example.

    image-20240410-133852.png
  2. Select Remote Control from the left pane.

  3. Click Launch Console.

    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:

  4. Click Continue.

  5. Click Run.

  6. Select Virtual Storage.

  7. Expand the Logical Drive Type and select ISO Image.

  8. Click Open Image to upload the downloaded ISO image.

  9. Select the ISO image downloaded earlier, and click Open.

  10. Click OK.

  11. Press f11 to invoke the boot menu.

  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:

  13. Select the virtual media as a boot device.

Initial Steps for Ubuntu Install

The first screen on booting from the Ubuntu 22.04.4 is:

  1. Select Ubuntu Server with the HWE Kernel.

  2. Select the preferred language. We have used English as an example.

  3. Select the layout and variant as per your preferred language.

  4. Select Done.

  5. Select Ubuntu Server > Done.

  6. Select the network connection > Done. The network connection is configured to talk to the server.

  7. Provide the proxy address > select Done.

  8. Provide the archive mirror address > select Done.

Storage Configuration

  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.

  3. Press return on the highlighted drive.

  4. Select Done.

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

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

  7. Select Save.

  8. When it is changed on mount, change it to /.

  9. Use the remaining volumes for var.

  10. Create a new logical volume group for the containers. This will be on the 3.4tb volume.

  11. Provide a name for the LVM volume group. Here, we have used vg0 as an example.

  12. Select Create.

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

  13. Highlight the free space.

  14. Select Create Logical Volume.

  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.

  16. Select Create.
    It shows a warning where select Continue.

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.

Select Done.

Upgrade to Ubuntu Pro

  1. Select Enable Ubuntu Pro.

  2. Select Continue.

  3. Select Install OpenSSH server and import SSH identity as No.

  4. Select Done.
    Ignore the following screens if displayed on your device.

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

  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:

    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.

Installing periferyssa.deb and api_server

  1. Switch to the root via su.

  2. Installation is done via script. Please contact your Solutions Architect for the SNS code installation.

    The initial output will look like this:

  3. Answer yes to the prompt. Some messages will pop up on the screen, which is normal.

    The last update is displayed like this:

    When we are done rebooting machine, go to http://ip-address:9010/ui.

  4. Click Create Cluster.

  5. Fill in all the required fields.

    1. Cluster Name - The name of your Swarm cluster. This needs to be unique, but will not be seen on the network.

    2. Domain Name - The first domain created for the appliance.

    3. Bucket Name - The name of the bucket created within that domain to test the system.

    4. License - If you have a license file, you can upload it here. If not, a default 2TB license will automatically be deployed with the cluster.

  6. Click Next.
    Now, it asks to confirm the cluster details.

  7. Click Confirm. It starts the deployment.
    This screen shows up when the base tools for the deployment have been installed. At this point, there is no Elasticsearch, Swarm, Gateway, etc.

  8. Click Done.

  9. Click on Show details. This provides the current state of the process.

    This shows the deployment state of each piece of the setup.

    When the deployment is complete, it takes you to the login screen.

  10. The default credentials to log in are:

    1. Username - periferyadmin

    2. Password - password

  11. The system asks to update the default password on the first login.

    Use a unique and strong password, then click Update.

    After a successful password update, log into the system with the updated password. It displays the dashboard:

 

 

 

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.