Deploy SUSE Manager 5.0.1 Server
This guide shows you how to install and configure a SUSE Manager 5.0.1 container on SLE Micro 5.5.
1. Hardware Requirements for SUSE Manager
This table shows the software and hardware requirements for deploying SUSE Manager Server on your bare metal machine. For the purposes of this guide your machine should have 16 GB of RAM, and at least 200 GB of disk space. For background information about disk space, see Hardware Requirements.
Software and Hardware | Recommended |
---|---|
Operating System: |
SLE Micro 5.5 |
Architecture |
x86-64, ARM, s390x, ppc64le |
Processor: (CPU) |
Minimum of four (4) 64-bit CPU cores |
RAM: |
16 GB |
Disk Space: |
200 GB |
Channel Requirements |
50 GB per SUSE or openSUSE product 360 GB per Red Hat product |
Swap space: |
3 GB |
Supported operating system for the Server Container Host
The supported operating system for the container host is SLE Micro 5.5.
|
Server deployment mandates the use of a fully qualified domain name (FQDN). In the absence of automatic DNS provision of an FQDN by your router or network, the deployment process will not proceed successfully. An FQDN typically follows the format <host>.<domain>.com. For instance:
For more information, see the section on network requirements in Network Requirements. |
2. Persistent Volumes
SUSE Manager 5.0.1 defines the required persistent storage volumes by default.
These are created during installation by the mgradm
tool if they do not already exist.
These volumes are created in /var/lib/containers/storage/volumes/
, where Podman
stores its volumes by default.
Recommendations
You can leverage the simplicity of storage by mounting an external storage device to this directory. Because it will store the PostgreSQL database, binary packages for repositories, caches, operating system images, autoinstallation distributions, and configuration files, we have three recommendations:
|
- Optional
-
You can provide custom storage for the volumes by mounting disks on the expected volume path inside it such as
/var/lib/containers/storage/volumes/var-spacewalk
. This adds to the complexity of a SUSE Manager deployment, and may affect the resilience the default storage recommendation provides.
For a list of all persistent volumes in the container, see List of persistent storage volumes.
3. SLE Micro 5.5 Installation
-
Locate the SLE Micro 5.5 installation media at https://www.suse.com/download/sle-micro/.
-
Download
SLE-Micro-5.5-DVD-x86_64-GM-Media1.iso
. -
Prepare a DVD or USB flash drive with the downloaded
.iso
image for installation. -
Insert the DVD or USB flash drive (USB disk or key) containing the installation image for SLE Micro 5.5.
-
Boot or reboot your system.
For more information about preparing your machines (virtual or physical), see SLE Micro 5.5 Deployment Guide.
-
Use the arrow keys to select
Installation
. -
Adjust keyboard and language.
-
Click the
checkbox
to accept the license agreement. -
Click
Next
to continue. -
Select the registration method. For this example, we will register the server with SUSE Customer Center.
Registering SUSE Manager as an Extension during InstallationThe SUSE Manager 5.0.1 container is installed as an extension. Therefore, in addition to acquiring SUSE Customer Center registration codes for SLE Micro 5.5, you will also need SUSE Customer Center registration codes for the following extensions:
-
SUSE Manager 5.0.1 Server
-
SUSE Manager 5.0.1 Proxy
-
Retail Branch Server
-
-
Enter your SUSE Customer Center email address.
-
Enter your registration code for SLE Micro 5.5.
-
Click
Next
to continue. -
Select the SUSE Manager 5.0.1 Server extension
Checkbox
. -
Click
Next
to continue. -
Enter your SUSE Manager 5.0.1 Server extension registration code.
-
Click Next to continue.
-
On the
NTP Configuration
page click Next. -
On the
Authentication for the System
page enter a password for the root user. Click Next. -
On the
Installation Settings
page click Install.
This concludes installation of SLE Micro 5.5 and SUSE Manager 5.0.1 as an extension.
3.1. Registration from the Command Line (Optional)
If you added SUSE Manager 5.0.1 as an extension during SLE Micro 5.5 installation then you can skip this step. However, optionally you may skip registration during SLE Micro 5.5 installation by selecting the Skip Registration button. This section provides steps on registering your products after SLE Micro 5.5 installation.
-
Register SLE Micro 5.5 to SUSE Customer Center from the command line run the following commands on the container host:
transactional-update register -r <reg_code> -e <your_email>
-
Use the registration code you obtained from your SUSE Customer Center account for SLE Micro 5.5.
The following steps register a server with the x86-64 architecture and thus require a registration code for the x86-64 architecture. To register ARM or s390x architectures use the correct registration code.
-
Next add the SUSE Manager Server Extension 5.0 x86_64 Extension. List available extensions with the following command:
transactional-update --quiet register --list-extensions
-
Use your SUSE Manager Server Extension 5.0 x86_64 registration code with the following command:
transactional-update register -p SUSE-Manager-Server/5.0/x86_64 -r <reg_code>
-
Reboot.
3.2. Update the System
-
Log in as root.
-
Run transactional-update:
transactional-update
-
Reboot.
3.3. Configure Custom Persistent Storage
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.
4. Deploy with mgradm
-
Log in as root.
-
Execute the following command, replacing
<suma.example.com>
with your fully qualified domain name:mgradm install podman <suma.example.com>
If the above command fails ensure that you have registered SUSE Manager 5.0.1. If you skipped registration during installation and now need to register from the command line, follow the steps below to log in to the registry:
podman login -u <EMAIL> -p <REGISTRATION-CODE> registry.suse.com
Use the SUSE Manager 5.0.1 registration key when prompted.
-
Enter a certificate and administrator account password when prompted.
The administrator account password must be at least 5 characters and less than 48 characters in length.
-
Press Enter.
-
Enter the email address of the administration account. Press Enter.
-
Wait for deployment to complete.
-
Open a browser and proceed to your servers FQDN.
-
Enter your username (default is
admin
) and the password you set during the deployment process.
SLE Micro is designed to update itself automatically by default and will reboot after applying updates. However, this behavior is not desirable for the SUSE Manager environment. To prevent automatic updates on your server, SUSE Manager disables the transactional-update timer during the bootstrap process. If you prefer the SLE Micro default behavior, enable the timer by running the following command:
|
In this guide you deployed SUSE Manager 5.0.1 Server as a container. Proceed to the next section to add your organization credentials for syncing with SUSE Customer Center.
5. Connect SUSE Manager 5.0.1 to SUSE Customer Center
This section covers synchronizing with SCC from the Web UI and adding your first client channel.
-
Open a browser and proceed to your servers FQDN.
-
Enter your username (default is
admin
) and the password you set during the deployment process. -
In the SUSE Manager Web UI, select
. -
From the
Setup Wizard
page select the Organization Credentials tab. -
Click Add a new credential.
-
Point your browser to the SUSE Customer Center.
-
Select your organization from the left navigation.
-
Select the users tab from the top of the page then Organization Credentials.
-
Make a note of your Mirroring credentials.
-
Back in the SUSE Manager Web UI enter your
Username
andPassword
, and confirm with Save.
When the credentials are confirmed with a green check-mark icon, proceed with Procedure: Synchronizing with SUSE Customer Center.
-
In the Web UI, navigate to
. -
From the
Setup Wizard
page select theSUSE Products
tab. If you recently registered with SUSE Customer Center a list of products will begin populating the table. This operation could take up to a few minutes. You can monitor the progress of the operation in section on the rightRefresh the product catalog from SUSE Customer Center
. The table of products lists architecture, channels, and status information. For more information, see Wizard. -
Use the
Filter by product description
andFilter by architecture
to filter the list of displayed products. The channels listed on the Products page provide repositories for clients.-
Add channels to SUSE Manager by selecting the check box to the left of each channel. Click the arrow symbol to the left of the description to unfold a product and list available modules.
-
Click Add Products at the top of the page to start product synchronization.
-
After adding the channel, SUSE Manager will schedule the channel to be synchronized.
This can take a long time as SUSE Manager will copy channel software sources from the SUSE repositories located at SUSE Customer Center to the local /var/lib/containers/storage/volumes/var-spacewalk/
directory of your server.
When the channel is fully synchronized, a bootstrap repository for it will be automatically generated. This step is crucial for successfully bootstrapping clients, ensuring that the channel synchronization and distribution are operational on the client side. This completes the installation and configuration of SUSE Manager, along with preparing the channels necessary for bootstrapping clients.
When the channel synchronization process is complete, you can proceed with registering the SUSE Manager 5.0.1 Proxy or additional clients.
For more instructions, see Client Registration.
6. Entering the container for management
To get to a shell inside the container, run on the container host:
mgrctl term