Install Uyuni Proxy
To install Uyuni Proxy, you will need to start by installing SUSE Linux Enterprise Server media. This section covers the KVM settings required to perform a SUSE Linux Enterprise Server installation as the base for Uyuni Proxy. In this section, we use a KVM and a virtual machine manager as a sandbox for the installation.
SLES KVM Requirements
Use these settings to create a new virtual machine with virt-manager (replace <version> with the actual version string):
| KVM Settings for SLES | Installation Method: |
|---|---|
Local install media (ISO image or CDROM) |
OS: |
Linux |
Version: |
|
Memory: |
Test Server Minumum 2 GB |
|
Production Server Minimum 8 GB |
CPUs: |
2 |
Storage Format: |
ISO 3 GB |
Disk Space: |
230 GB split between |
|
|
|
(Virtual Disk 1) |
|
(Virtual Disk 2) |
Name: |
example-proxy |
Network |
SLES KVM Settings
This section covers the Uyuni Proxy installation, using the full installation media with KVM and virt-manager.
Before you begin, you will need to have created an account with SUSE Customer Center, and downloaded the SUSE Linux Enterprise Server installation media.
-
In the Virtual Machine Manager tool (
virt-manager), click . -
Click Local install media (ISO image or CDROM).
-
In the
Create a new virtual machinedialog, click Browse and locate the full SLES image you downloaded from your SCC account. -
Configure your machine with at least 2 GB RAM and a minimum of 2 CPUs.
-
Create a storage device with a minimum of 230 GB storage space for the installation. During the partitioning setup of the SLES installation this disk should be partitioned into the following disks:
Disk Space Requirements 100 GB XFS partition (or dedicated virtual disk) for
/srv/100 GB XFS partition (or dedicated virtual disk) for
/var/cache/The remaining storage space will be used by the operating system for the root partition.
-
Click Finish to save the installation settings and begin the installation.
For more information on installing SUSE Linux Enterprise Server, see https://documentation.suse.com/sles/15-SP1/html/SLES-all/art-sle-installquick.html.
Change SLES for SUSE Manager Proxy
-
Log in as
root. -
Uninstall the
sles-releasepackage:rpm -e --nodeps sles-release
-
Register Uyuni Proxy with SCC (for example, replace
<productversion>with4and<architecture>withx86_64):SUSEConnect -e<EMAIL_ADDRESS> -r<SUSE_MANAGER_PROXY_CODE> \ -p SUSE-Manager-Proxy/<productversion>/<architecture>
-
Add Uyuni repositories:
SUSEConnect -p sle-module-basesystem/15.1/x86_64 SUSEConnect -p sle-module-server-applications/15.1/x86_64 SUSEConnect -p sle-module-suse-manager-proxy/4.0/x86_64
-
Check that you have allowed installing recommended packages. Check the settings in
/etc/zypp/zypp.conf:solver.onlyRequires = false
-
Install the Uyuni Proxy pattern:
zypper in -t pattern suma_proxy
-
Reboot.
Continue with registering the installed Uyuni Proxy as a Uyuni client: proxy-registration.adoc.