Contents
A virtual machine is comprised of data and operating system files that define the virtual environment. Virtual machines are hosted and controlled by the VM Host Server. This chapter provides generalized instructions for installing virtual machines.
Before creating a virtual machine, consider the following:
If you want to use an automated installation file (AutoYaST, NetWare® Response File, or RedHat Kickstart), you should create and download it to a directory on the host machine server or make it available on the network.
NetWare and OES Linux virtual machines need a static IP address for each virtual machine you create.
If you are installing Open Enterprise Server (OES) 2 Linux, you need a network installation source for OES 2 Linux software. For procedures to create the installation sources, see the Deployment Guide (↑Deployment Guide).
For further prerequisites, consult the manuals of the respective operating system to install.
vm-install provides a graphical assistant that guides you through the guest installtion. I can be invoked by one of the following ways:
Enter vm-install at the command line
From within Virtual Machine Manager, click
In YaST choose
+Start the Create Virtual Machine Wizard as described above and click
.Choose whether to install an operation system or whether to use an already existing image or disk.
Select the operating system you want to install from the list.
The Summary page shows the default configuration for the chosen operating system. Edit the configuration by clicking on a headline. When having chosen to install a system you at least have to either specify an image or a CD/DVD device from which to boot or choose PXE boot. When accepting the configuration with
, the guest system either boots or starts the installation.Change the proposed configuration by clicking on one of the following headlines in the Summary page of the Create Virtual Machine Wizard:
![]() |
Specify a
and a for the guest. The must contain only alphanumeric and _-.:+ characters. It must be unique among all virtual machines on the physical machine. It is used to create and name the virtual machine’s configuration file.Change memory and CPU assignments in this screen. Although possible, it is recommended not to specify values larger than the resources the host system can provide (overcommit), since it may result in fatal errors or performance penalties.
The
let you activate or deactivate ACPI, APIC, and PAE. You can also enable or disable para-virtualized I/O here (virtio). It is recommended not to change the default settings on this screen.Configure the type of virtualized graphics hardware and the Keymap in this dialog. Disabling the graphics card support makes the machine accessible via network services (ssh, VNC) or serial port only.
: Manage virtual hard disks and CD/DVD drives in this dialog. A virtual machine must have at least one virtual disk—either an existing one or a newly created disk. Virtual disks can be:
a single file with a fixed size
a single file with that grows on demand (Sparse Image
File)
a block device, such as an entire disk, partition, or volume. You can
list all available devices with the command fdisk
-l
For best performance, create each virtual disk from an entire disk or a partition. For the next best performance, create an image file but do not create it as a sparse image file. A virtual disk based on a sparse image file delivers the most disk space flexibility but slows installation and disk access speeds.
By default, a single, file-backed virtual disk is created as a sparse
image file in
/var/lib/kvm/images/
where VM_NAME
/VM_NAME
is the name of the virtual
machine.
![]() | Supported Disk format |
---|---|
Currently only the raw disk format is supported by Novell. |
To create a virtual disk proceed as follows:
Click on
.
Enter a /dev/sda
for an entire disk, or
/dev/sda1
for a partition).
Specify the raw
format.
Enter a
in GB. This option is only available for file-backed disks.Choose whether to create a
. This option is only available for file-backed disks. If you want to disable write-access to the disk, choose .If you want to install from DVD or CD-ROM, add the drive to the list of available hard disks. To learn about device nodes of the available optical drives, run:
hwinfo --cdrom | egrep "(Device File:|Model:)"
Instead of the real DVD or CD-ROM drive, you can also add the ISO image of an installation medium. Note, that each CD-Rom drive or ISO image can only be used by one guest at the same time.
To add a CD/DVD-ROM device or an ISO image, proceed as follows:
Click on
.Enter a
. If adding a device, enter it's node. If adding an ISO image, either enter the path directly or click to open a file browser.Specify the
. Choose for an ISO image and for a device.The disks are listed in the order in which they have been created. This order also represents the boot order. Use the
and arrows to change the disk order.By default, a single virtual network card is created for the virtual machine. It has a randomly generated MAC address that you can change to fit your desired configuration. The virtual network card will be attached to a default bridge configured in the host. You can adjust the configuration in this dialog or create additional virtual network cards.
To add a new network adapter or edit an existing one, proceed as follows:
Click
to add a card or to change the configuration of the selected card.Choose a
from the dropdown list.![]() | Supported Virtual Network Adapter Types |
---|---|
Currently only or the paravirtualized (virtio) are supported by Novell. |
Choose a
from the dropdown list.Choose whether to assign a randomly generated MAC address or manually specify an address.
![]() | MAC addresses need to be unique |
---|---|
When choosing a default address will be assigned. This can result in network problems when more than one network adapter receives the same MAC address. It is recommended to always specify a unique MAC address for each adapter. |
This dialog is only available when having chosen to install an operating system. The installation can be booted from a virtual disk, from a CD/DVD device, from an ISO image or via PXE boot over the network— use this dialog to configure the boot device.
![]() | Automated Installation |
---|---|
If you are doing an automated installation (for example via SUSE Linux AutoYaST, or NetWare Response File), make sure the installation profile, response file, or script is accessible from the virtual machine. Refer to your operating system manual for instructions on how to perform an automated installation. |
Also use this dialog to configure the behavior of the virtual machine when the operating system is powered off, rebooted or if it crashes. the following options are available
normal cleanup
a new virtual machine is started in place of the old one
no cleanup, do not delete temporary, configuration and image files
the virtual machine is not cleaned up, but is renamed and a new domain started in its place
a crashed machine's core is dumped before a normal cleanup is performed
a crashed machine's core is dumped before a normal restart is performed