Install Uyuni Proxy in a Virtual Machine Environment Using Uyuni Proxy VM Image
1. Virtual Machine Manager Settings
This chapter provides the required Kernel Virtual Machine (KVM) settings for Uyuni Proxy. KVM combined with Virtual Machine Manager (virt-manager) will be used as a sandbox for this installation.
You will find the VM images for Uyuni 2024.1 Proxy in various formats. It includes SUSE Linux Enterprise Server 15 SP5 as the underlying operating system and the Uyuni Proxy software current at the time of build. Download the appropriate Uyuni Proxy image for your environment from https://download.suse.com/.
|
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, review the requirements listed in Hardware Requirements. |
| Virtual machine settings overview | |
|---|---|
Installation Method |
Import Existing Disk Image |
OS: |
SUSE Linux Enterprise 15 SP4 |
Memory: |
8 GB |
CPU’s: |
2 |
Virtual Disks: |
|
VirtIO Disk 1 |
SUSE-Manager-Proxy.x86_64-4.3.13-KVM.qcow2 |
VirtIO Disk 2 |
100 GB for |
VirtIO Disk 3 |
101 GB for |
Name: |
suse-manager-proxy-setup |
Network |
Bridge br0 |
|
For more information on SUSE Linux Enterprise Virtualization, see https://documentation.suse.com/sles/15-SP4/html/SLES-all/book-virtualization.html. |
2. Install Uyuni Proxy Virtual Machine
Create virtual machine with additional virtual disks required for the Uyuni Proxy storage partitions.
virt-manager-
In
virt-manager, open . -
In the
Create a new virtual machinedialog, selectImport existing disk imageand confirm with Forward. -
Enter the filename of the downloaded Uyuni Proxy KVM image and set
SUSE Linux Enterprise 15 SP4as the operating system. Confirm with Forward. -
Configure RAM and number of CPUs (at least 8 GB RAM and 2 CPUs). Confirm with Forward.
-
Set the name of your VM and select the
Customize configuration before installcheck box. -
With the
Network selectiondrop-down menu select the configured bridge device. -
Confirm with Finish.
-
In the overview dashboard, at the bottom of the left navigation bar, click Add Hardware to create additional virtual disks. These disks will be partitioned and mounted later.
Storage size values are the absolute minimum—only suitable for a small test or demo installation. Also consider to create a separate partition for
/srv/tftpboot/where images on Retail Branchservers are stored.VirtIO Storage Disks Name Sizing VirtIO Disk 2
squidcache
101 GB
VirtIO Disk 3
tftpboot
100 GB
-
Above the left navigation bar, click Begin Installation to boot the new VM from the Uyuni Proxy image. Wait until the
JeOS Firstbootstart option is presented.
3. Run JeOS Firstboot Setup
-
Confirm to start the
JeOS Firstbootsetup. -
Select system locale such as
en_US. -
Select keyboard layout such as
us. -
Check end user license agreement.
-
Select time zone such as
UTC. -
Enter and confirm root password. Keep note of the root password.
-
Wait until the login prompt is presented.
4. Preparing virtual machine for Uyuni Proxy
Before starting, obtain a registration code for this image from SUSE Customer Center - https://scc.suse.com.
-
Log in as
root. -
Register Uyuni Proxy with SCC:
SUSEConnect -e <EMAIL_ADDRESS> -r <SUSE_MANAGER_PROXY_CODE>
-
Prepare Uyuni Proxy storage:
suma-storagecommand automatically prepares and configures previously created external storage for use with the proxy. In the following command, the first parameter is the device for Uyuni Proxy Squid cache thatsuma-storagecan handle:suma-storage /dev/vdb
-
The virtual machine is now ready for Uyuni Proxy to be set up.
Continue with registering the installed Uyuni Proxy as a client: SUSE Manager Proxy Registration.