Installing SUSE Manager Using RAW Image
SUSE Manager offers various image formats, including a RAW format. This guide demonstrates how to set up SUSE Manager Server using the raw image.
1. Use Case
RAW images are pre-built, ready-to-use representations of a running operating system. Instead of being installed through a traditional installer, they are directly copied to the hard disk of the target host. RAW image format is flexible and compatible with a wide range of virtualization and deployment tools.
This guide provides essential information about these pre-configured images.
2. Outcome
Successful completion of this workflow results in successful installation of SUSE Manager Server.
3. Step-by-step Instructions
This workflow is complex and time-consuming. Make sure that adequate testing is done before deploying the procedure in live environment. |
-
Download the Image: Download the architecture-specific
.raw.xz
image of SUSE Manager Server for your target block size. -
Make Image Accessible: Copy the image to a web server (preferred), or expand the
.raw
file to add directly as a disk in a virtual environment (if supported). -
Target Disk Setup: If applicable, in virtual machine hypervisor, create:
-
A 40GB root disk
-
Additional storage for persistent SUSE Manager data
-
-
Prepare Boot Environment and Network
-
Provide a bootable ISO (SUSE Linux Enterprise Server 15 SPX or SLE Micro 5.5) to access the "Rescue System." Add
netsetup=1
on the kernel command line for networking, or configure IP viaifcfg
. -
Create a new instance, attach the root and persistent storage, then attach the SUSE Linux Enterprise Server or SLE Micro ISO as a virtual CD.
-
Boot the instance to the ISO, selecting the
Rescue System
. -
Add the following on the command line to enable network configuration.
netsetup=1
-
-
Configure Network and Identify Devices
-
Complete network setup as prompted and log in as root.
-
Use a disk storage utility like
blockdev
orlsblk
to verify the block size against your downloaded image.blockdev --getpbsz $device
lsblk -o NAME,PHY-SEC
-
-
Transfer the Image
-
Use
curl
to copy the.raw.xz
image onto the root disk:curl -Sks $url | xz -d > $device -v
-
Replace
$url
with the image URL and$device
with the root partition device.
-
-
Finalize Boot and Configuration
-
Power off the instance, remove the virtual CD from the boot sequence, and start it again to boot from the newly created instance.
-
Follow on-screen installation directions and, if needed, register with SUSE Customer Center, adding the SUSE Manager Server Extension.
-
-
Install VMware Tools (if applicable)
-
Install the
open-vm-tools
transactional-update pkg install open-vm-tools
-
Reboot after installation.
-
-
Provision Persistent Storage
mgr-storage-server $device
Ensure
$device
points to the fast, persistent storage.
For more information, see Persistent Volumes.