Deploy Uyuni 2024.08 Server as a Virtual Machine

This chapter provides the required Virtual Machine settings for deployment of Uyuni 2024.08 as an Image. KVM will be combined with Virtual Machine Manager (virt-manager) as a sandbox for this installation.

The preferred method for deploying Uyuni 2024.08 Server is to use one of the following available images. All tools are included in these images greatly simplifying deployment.

1. Available Images

Images for Uyuni 2024.08 are available at Uyuni 2024.08 VM images.

Table 1. Available Server Images
Architecture Image Format

aarch64

qcow2, vmdk

x86_64

qcow2, vmdk, raw, Self Installer

ppc64le

raw, Self Installer

s390x *

qcow2, raw

* Two storage options are available for s390x: CDL DASD and FBA.

2. Virtual Machine Manager (virt-manager) Settings

Enter the following settings when creating a new virtual machine using virt-manager.

This table specifies the minimum requirements. These are suitable for a quick test installation, such as a server with one client. If you want to use a production environment and especially need background information about disk space, see Hardware Requirements.

KVM Settings

Installation Method

Import Existing Disk Image

OS:

Linux

Version:

Uyuni-Server.x86_64-5.0.0-Build16.10.qcow2

Memory:

16 GB

CPU’s:

4

Storage Format:

.qcow2 100 GB (Default) Root Partition

Name:

test-setup

Network

Bridge br0

3. Initial KVM Setup

Procedure: Creating Initial Setup
  1. Create a new virtual machine using the downloaded Minimal KVM image and select Import existing disk image.

  2. Configure RAM and number of CPUs (at least 16 GB RAM and 4 CPUs).

  3. Name your KVM machine.

  4. Click Begin Installation to boot from the image.

  5. At the JeOS Firstboot screen select start to continue.

    jeos firstboot
  6. Select keyboard layout.

    select keyboard
  7. Accept the license agreement.

    accept license agreement
  8. Select your time zone.

    enter timezone
  9. Enter a password for root.

    root password
  10. Once installation completes login as root.

  11. Proceed to the next section.

4. Register SL Micro and Uyuni 2024.08 Server

Procedure: Registering SL Micro and Uyuni 2024.08
  1. Boot the virtual machine.

  2. Log in as root.

  3. Register SL Micro with SCC.

    transactional-update register -r <REGCODE> -e <your_email>
  4. Reboot.

  5. Register Uyuni 2024.08 with SUSE Customer Center.

    transactional-update register -p SUSE-Manager-Server/5.0/x86_64 -r <REGCODE>
  6. Reboot

  7. Update the system:

    transactional-update
  8. If updates were applied reboot.

  9. This step is optional. However, if custom persistent storage is required for your infrastructure, use the mgr-storage-server tool.

    • For more information, see mgr-storage-server --help. This tool simplifies creating the container storage and database volumes.

    • Use the command in the following manner:

      mgr-storage-server <storage-disk-device> [<database-disk-device>]

      For example:

      mgr-storage-server /dev/nvme1n1 /dev/nvme2n1

      This command will create the persistent storage volumes at /var/lib/containers/storage/volumes.

      For more information, see List of persistent storage volumes.

  10. Otherwise run the following command to deploy Uyuni:

    mgradm install podman <FQDN>