Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]

2 JeOS Installation

2.1 Virtual Machine Manager (virt-manager) Settings

This chapter provides the required (KVM) settings for installation of SUSE Linux Enterprise Just Enough Operating System (JeOS) 12 as the base for SUSE Manager. A kernel virtual machine (KVM) combined with Virtual Machine Manager (virt-manager) will be used as a sandbox for your first installation.

Tip
Tip: SUSEVirtualization Guide

For more information on virtualization, see: SUSE Linux Enterprise Virtualization Guide

Enter the following settings when creating a new virtual machine using virt-manager. In the following table replace version with the actual product version string.

KVM Settings

Installation Method

Import Existing Disk Image

OS:

Linux

Version:

SLES<VERSION>-JeOS-for-kvm-and-xen.x86_64-GM.qcow2

Memory:

4096 MB

CPU’s:

2

Storage Format:

.qcow2 24 GB (Default) JeOS Root Partition

Virtual Disks:

 

VirtIO Disk 2

101 GB for /var/spacewalk

VirtIO Disk 3

50 GB for /var/lib/pgsql

VirtIO Disk 4

4 GB for swap

Name:

test-setup

Network

Bridge br0

Tip
Tip: SUSE Virtualization Guide

For more information on virtualization, see: SUSE Linux Enterprise Virtualization Guide

2.2 JeOS KVM Settings

Create three additional virtual disks required for the SUSE Manager storage partitions.

Procedure: Creating the Required Partitions with KVM
  1. Create a new virtual machine using the downloaded JeOS KVM image and select Import existing disk image .

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

  3. Name your KVM machine and select the Customize configuration before install check box.

  4. Select the Add Hardware button and create three new virtual disks with the following specifications. These disks will be partitioned and mounted in Procedure: Preparing JeOS for SUSE Manager Installation.

    VirtIO Storage DisksNameSizing

    VirtIO Disk 2

    spacewalk

    101 GB

    VirtIO Disk 3

    pgsql

    50 GB

    VirtIO Disk 4

    swap

    4 GB

  5. Click Begin Installation and your new VM will boot from the JeOS image.

Proceed through the basic JeOS installation prompts until you reach the command line.

Tip
Tip: Root Password

During the basic installation prompts you are asked to enter the root password. Select a strong password and then in the next message box Confirm root Password.

2.3 Preparing JeOS for SUSE Manager

Procedure: Preparing JeOS for SUSE Manager Installation
  1. Register with SCC:

    SUSEConnect -e`EMAIL_ADDRESS`-r`SUSE_MANAGER_CODE`
  2. Add SUSE Manager repositories:

    SUSEConnect -p SUSE-Manager-Server/<productnumber>/x86_64 -r`SUSE_MANAGER_CODE`
  3. Install yast2-storage with all required dependencies (approx. 40 packages, 30 MB when installed). This basic administration package is required for preparing storage partitions:

    zypper in -t package yast2-storage
  4. Partition and mount the virtual disks at the following locations using YaST Partitioner (yast2 disk).

    VirtIO Storage DisksNameStorage SizeFile System Type

    VirtIO Disk 2

    /var/spacewalk

    101 GB

    XFS

    VirtIO Disk 3

    /var/lib/pgsql

    50 GB

    XFS

    VirtIO Disk 4

    swap

    4 GB

    swap

  5. SLES by default uses the BTRFS file system. A mount point is created automatically for /var/lib/pgsql/ (even when not installed). This must be removed or commented out from the /etc/fstab entries. As root, edit /etc/fstab and comment out or remove the line:

    /var/lib/pgsql btrfs subvol=@/var/lib/pgsql 0 0
    Warning
    Warning: Remove pgsql from the fstab Configuration File

    If you do not remove this line from fstab the first time you shut down the server you will lose your database. This occurs because you will have duplicate entries in the fstab file. Updated tools shipped with recent SPs will no longer require human intervention.

  6. Exit the partitioner and install the SUSE Manager pattern:

    zypper in -t pattern suma_server

For proceeding with SUSE Manager setup, see SUSE Manager Setup.

Print this page