Belkin XM Commander Bedienungsanleitung Seite 1

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Systemverwaltungssoftware Belkin XM Commander herunter. Virtualization with Xen Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 98
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
SUSE Linux Enterprise
Server
www.novell.com10 SP4
April15,2011 Virtualization with Xen
Seitenansicht 0
1 2 3 4 5 6 ... 97 98

Inhaltsverzeichnis

Seite 1 - SUSE Linux Enterprise

SUSE Linux EnterpriseServerwww.novell.com10 SP4April15,2011 Virtualization with Xen

Seite 2 - Virtualization with Xen

Figure 1.1Virtualization ArchitectureOn the left, the virtual machine host’s Domain0 is shown running the SUSE Linux op-erating system. The two virtua

Seite 3 - Contents

Figure 1.2Desktop Showing Virtual Machine Manager and Virtual Machines1.5 Supported Virtualization LimitsThe following virtualization limits are suppo

Seite 4 - 7 Virtual Machine Drivers 71

• Max. memory per VM: 16GB for 32bit, 64GB for 64bit guests• Max. virtual block devices per VM: 16 paravirtualized, 16 fully virtualized withparavirtu

Seite 5 - 2 Additional Documentation

2Setting Up a Virtual MachineHostThis section documents how to set up and use SUSE Linux Enterprise Server 10 SP4as a virtual machine host.In most cas

Seite 6 - 3 Documentation Conventions

Minimum RequirementsSystem Compo-nent7 GB of available disk space for the host.Free Disk SpaceDVD-ROM DriveOptical Drive20 GBHard DriveEthernet 100 Mb

Seite 7 - Virtualization

Permanently add this parameter to your boot loader conguration by addingthe parameter dom0_mem=VALUE to your Xen kernel boot conguration. Eitheruse

Seite 8

2.2 Setting Up a 32-Bit Domain 0 ona 64-Bit HypervisorA virtual machine host running on a 64-bit platform can access much more memorythan hosts runnin

Seite 9

10Edit the GRUB boot loader settings by running YaST > System > Boot Loader orediting the le at /boot/grub/menu.lst.11Change Hypervisor to /boo

Seite 10 - 1.4 The Virtual Machine Host

2.3.1 Setting a Maximum Amount ofMemory1Determine the amount of memory to set for domain 0.2At Domain0, type xm list to view the currently allocated m

Seite 11

emulatedTo use a “emulated” network interface like an emulated Realtek card, specifytype=ioemu on the vif line. In /etc/xen/vm/<configuration> t

Seite 12

Virtualization with XenAll content is copyright © Novell, Inc.Legal NoticeThis manual is protected under Novell intellectual property rights. By repro

Seite 13 - Setting Up a Virtual Machine

.novell.com/rc/docrepository/public/37/basedocument.2007-09-13.2960758124/4622069_f_en.pdf.If the Xen option is not on the GRUB menu, review the steps

Seite 14 - (XEN) Panic on CPU 0:

3Setting Up Virtual MachinesA virtual machine is comprised of data and operating system les that dene the virtualenvironment. Virtual machines are h

Seite 15

•Install a host server as described in Chapter 2, Setting Up a Virtual Machine Host(page 7).• If you want to use an automated installation le (AutoYa

Seite 16

If the wizard does not appear or the vm-install command does not work, reviewthe process of installing and starting the virtualization host server. Th

Seite 17 - 2.3 Managing Domain 0 Memory

Figure 3.2SummaryInformation about the following operating systems is included:• OES NetWare Virtual Machines, see Section 6.1, “NetWare Virtual Machi

Seite 18

2Each virtual machine must have a unique name. The name entered on this page isused to create and name the virtual machine’s conguration le. The con

Seite 19

For best performance, create each virtual disk from an entire disk or a partition. Forthe next best performance, create an image le but do not create

Seite 20

WARNING: Changing CD-RomsOn paravirtual guests, it is currently not possible to go on with the installationof a system after changing the CD-Rom. Inst

Seite 21 - Setting Up Virtual Machines

xvdaMain system disk.xvdbISO image of the installation medium.xvdcISO image of the Add-On product.During the installation, add the Add-On product to t

Seite 22

Figure 3.3Command Line Interface3.5 Deleting Virtual MachinesWhen you use Virtual Machine Manager or the xm command to delete a virtual machine,it no

Seite 23

ContentsPreface v1 Introduction to Xen Virtualization 11.1 Basic Components . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Understanding Virtu

Seite 24

Server 9 VM Guest will not be able to nd its root le system when running on a SUSELinux Enterprise Server 10 VM Host Server.To be able to still boot

Seite 25

kernel: PCI-DMA: Out of SW-IOMMU space for 32768 bytes at device000:01:02.0In this case you need to increase the size of the swiotlb. Add “swiotlb=128

Seite 27 - Installation

4Managing a VirtualizationEnvironmentGraphical utilities, text-based commands, and modied conguration les are methodsyou can choose from to manage

Seite 28 - 3.4 Using the Command Line to

From a command line interface on the virtual machine host, you can use the vm-installprogram and xm commands to create and manage virtual machines. Yo

Seite 29 - 3.5 Deleting Virtual Machines

•Clicking New in Virtual Machine Manager launches the Create Virtual MachineWizard, which walks you through the steps required to set up a virtual mac

Seite 30 - 3.7 Troubleshooting

•To check the status of the xend daemon, enter rcxend status.The parameters in the xend-config.sxp le can be customized to meet your re-quirements fo

Seite 31 - 000:01:02.0

(bootloader_args '- -entry=xvda2:/boot/vmlinuz-xen,/boot/initrd-xen')(name SLES10withOES2) (maxmem 512)(on_reboot restart)(on_poweroff destr

Seite 32

Name ID Mem VCPUs State Time(s)Domain-0 0 457 2 r----- 2712.9OES 7 512 1 -b---- 16.3SLES10 512 1 12.9The syntax of the xm command usually follows the

Seite 33 - Environment

5Virtualization: CongurationOptions and SettingsThe documentation in this section, describes advanced management tasks and congu-ration options that

Seite 34 - 4.1 Virtual Machine Manager

4 Managing a Virtualization Environment 274.1 Virtual Machine Manager . . . . . . . . . . . . . . . . . . . . . 284.2 Controlling the Host by Modifyin

Seite 35

NOTEOnly limited support for virtual machine removable media is available in theoriginal version of SUSE Linux Enterprise Server. Much of the followin

Seite 36 - Modifying its xend Settings

do not have enough CD readers, create image les from the CDs and make thoseavailable. To create an image le, the following command may be used:dd if

Seite 37 - 4.4 The xm Command

5Click Hardware > Disk.6Click CD-ROM.7Specify the path to the physical CD reader, such as /dev/cdrom. If you areadding a virtual CD reader based on

Seite 38 - SLES10 512 1 12.9

5.1.4 Adding Virtual CD Readers (CommandLine Method)1Make sure that the virtual machine is running and the operating system has nishedbooting.2Insert

Seite 39

The CD or ISO image le should appear in the virtual machine’s operating system.5.1.5 Removing Virtual CD Readers1Make sure that the virtual machine i

Seite 40 - Machines

Graphical Desktop with X Window ServerIf a graphical desktop, such as GNOME or KDE, is installed on the virtual machinehost you can use a remote viewe

Seite 41

To use the VNC viewer from a remote computer, remote administration must be enabledon the host. You can use the YaST Remote Administration module.Figu

Seite 42 - /dev/xvdb

Figure 5.2Mozilla Firefox VNC ViewerWhen successfully connected, the VNC viewer shows the display of the running virtualmachine.5.3.1 Assigning VNC Vi

Seite 43

5.3.2 Using SDL instead of a VNC ViewerIf you access a virtual machine’s display from the virtual machine host console (knownas local or on-box access

Seite 44 - 5.2 Remote Access Methods

Figure 5.3Boot Loader SettingsSelect the Xen section, then click Edit to manage the way the boot loader and Xenfunction.Figure 5.4Boot Loader Settings

Seite 45 - 5.3 VNC Viewer

PrefaceThis manual offers an introduction to virtualization technology of your SUSE LinuxEnterprise Server. It features an overview of the various el

Seite 46

• Select a specic hypervisor•Pass additional parameters to the hypervisor (see /usr/share/doc/packages/xen/pdf/user.pdf section “Xen Boot Options” af

Seite 47

rameter is dom0_mem=<amount_of_memory>, which species how much memoryto allocate to Domain0. The amount of memory is specied in KB, or you can

Seite 48 - 5.4 The Boot Loader Program

3Enter sax2 to run the SaX2 graphical conguration module.4Congure the GUI as desired.5Enter telinit 5 to switch to GUI mode.5.6 Paravirtual Mode and

Seite 49

5.7 Virtual Machine Initial StartupFilesDuring the process of creating a new virtual machine, initial startup settings are writtento a le created at

Seite 50

DescriptionEntryThis entry species a virtual disk based on a le ( file:)named hda and located at/var/lib/xen/images/VM1_SLES10/. It presents itselfa

Seite 51 - Text Mode to GUI Mode

DescriptionEntryType of operating system.ostype =Identication number for a virtual drive.uuid =5.8 Sparse Image Files and Disk SpaceIf the host’s phy

Seite 52 - File Systems

To view a virtual machine’s current keymap entry, enter the following command onthe Domain0:xm list -l vm_name | grep keymapYou can specify a keymap e

Seite 53

Keymap SettingLanguageesSpanishFinnishfrFrenchfr-beFrench-Belgiumfr-caFrench-Canadafr-chFrench-SwitzerlandhuHungarianisIcelandicitItalianjaJapanesenl

Seite 54

5.10 Mapping Physical Storage toVirtual DisksTo specify a mapping between physical storage and the virtual disk, you might need toedit the virtual mac

Seite 55 - 5.9 Virtual Keyboards

ExampleDescriptionProtocoliscsi:IQN,LUNiSCSI targets using connections initiatedfrom domain 0iscsi:npiv:NPIV,LUNFibre Channel connections initiated fr

Seite 56

3 Documentation ConventionsThe following typographical conventions are used in this manual:•/etc/passwd: lenames and directory names•placeholder: rep

Seite 57

5.12 Migrating Virtual MachinesA running virtual machine can be migrated from its source virtual machine host to an-other virtual machine host. This f

Seite 58 - Virtual Disks

For example, to pass Ctrl + Alt + F2 to a Linux virtual machine, press Ctrl three times,then press Alt + F2. You can also press Alt three times, then

Seite 59 - 5.11 Virtual Disks

5.15 File-Backed Virtual Disks andLoopback DevicesWhen a virtual machine is running, each of its le-backed virtual disks consumes aloopback device on

Seite 60 - Virtual Machines

IMPORTANTAfter using the save operation, do not boot, start, or run a virtual machine thatyou intend to restore. If the virtual machine is at any time

Seite 61

The restore operation deletes the previously-saved memory-state le and assigns a newID to the virtual machine. The virtual machine name and UUID rema

Seite 62 - 5.16 Saving Virtual Machines

5.18 Virtual Machine StatesA virtual machine’s state can be displayed in Virtual Machine Manager or by viewingthe results of the xm list command, whic

Seite 64

6Xen Guest Systems6.1 NetWare Virtual MachinesIn Novell® Open Enterprise Server (OES) 2, the NetWare® operating system has beenmodied to run in parav

Seite 65 - 5.18 Virtual Machine States

ParavirtualFully virtualOperating SystemYesYesSUSE Linux Enterprise Server 10 SP1YesSUSE Linux Enterprise Server Server 10YesYesOpen Enterprise Server

Seite 66

Hypervisor and Domain 0Operating System and Virtu-alization ModeSLE (32-bit) - Paravirtual • 32-bit hypervisor / 32-bit domain 0SLE (32-bit PAE) - Ful

Seite 67 - Xen Guest Systems

1Introduction to XenVirtualizationVirtualization of operating systems is used in many different computing areas. It ndsits applications in server con

Seite 68 - Architectures

SLE 10 virtual machines created on a SLE 10 SP1 host do not need to follow the sameprocedures to be updated to SP1. In addition, SLE 10 did not suppor

Seite 69 - SLE 10 SP2

• Virtual disk size8Make sure to select or specify the virtual machine’s already-created disk or diskimage, for example, hda, as the virtual disk.For

Seite 70

After the installation program is completed, the virtual machine should run SLE10 SP1 and be registered with xend.16Log in to the SLE 10 SP1 virtual m

Seite 71

6.3.3 Using the Add-On Products ProgramThe Add-On Products program is available during the SLE operating system installationand after installation at

Seite 72

clock setting must be enabled (set to 1). Otherwise, it will continue to synchronize itstime with its host.Procedure 6.1Viewing the Independent Wallcl

Seite 73

echo "1" > /proc/sys/xen/independent_wallclockEnter 1 to enable or 0 to disable the wallclock settting.3Add or change the following entry

Seite 74

4Install the package inst-source-utils. Then, change your working directoryto your network installation source.5Run the command $HOME/bin/create_updat

Seite 75

7Virtual Machine DriversSUSE® Linux Enterprise Virtual Machine Driver Pack contains disk and network devicedrivers for a number of third-party operati

Seite 76 - 6.4 Windows Virtual Machines

possible when consolidating servers, the hardware must be emulated for the operatingsystem. Emulation can be slow, but it is especially troubling for

Seite 77 - Virtual Machine Drivers

7.2 Loading the Driver Pack1Download the SLES-Virtual-Machine-Driver-Pack-10.iso le to your SUSE LinuxEnterprise Server virtual machine host server.2

Seite 78

• The SUSE Linux operating system, which gives the administrator a graphicaland command line environment to manage the virtual machine host components

Seite 79 - Enterprise Linux 4 on Xen

7.3.1 Installing the RHEL 4 Drivers1Open a terminal.2Locate the RPM package you want to install ( opt/novell/vm-driver-pack).If you are installing fro

Seite 80

8Open the virtual machine conguration le located on the virtualization hostserver ( /etc/xen/vm/vm_cfgfile where vm_cfgfile is usually thesame as th

Seite 81

7.3.3 Upgrading the RHEL 4 Drivers1Open a terminal.2Locate the RPM package you want to install ( opt/novell/vm-driver-pack).If you are installing from

Seite 82

7.3.5 Building Your Own RPMsIf you do not have a driver pack that was built for your Linux kernel, you can buildyour own SUSE Drivers for Red Hat Ente

Seite 83 - Enterprise Linux 5 on Xen

3bEnter rpm -U xxx.rpm , where xxx is the RPM lename.3cEdit the /boot/grub/menu.lst le and make the following changes:•Set the default= xxx (where x

Seite 84

9Restart the virtual machine.7.4.2 Uninstalling the RHEL 5 Drivers1Open a terminal.2Enter rpm -e kmod-vmdp-rhel5- xxx , where xxx is the version of th

Seite 85

4Verify that the default kernel is the one with the latest initrd in the /boot/grub/menu.list.7.4.4 Using the Drivers with an UpgradedKernel1Install t

Seite 86

For each drive specied in the virtual machine conguration le (for example, hdaand hdb), append hdx=noprobe to the kernel line for the updated kerne

Seite 87 - 7.4.5 Building Your Own RPMs

If a security alert appears, indicating the Bus driver has not been properly signed,click Yes to install the Bus driver software. It is important that

Seite 88

5Click I accept this agreement, then click Next.A software installation note appears, indicating that the software has not passedWindows logo testing.

Seite 89

• Full virtualization mode lets virtual machines run unmodied operating systems,such as Windows* Server 2003 and Windows XP, but requires the compute

Seite 90

6Click Continue Anyway or click Yes for each occurrence of this window.A Congratulations window indicates that the drivers were installed.NOTEClicking

Seite 91

8Click Yes.The system restarts. The Found New Hardware Wizard appears, indicating thatit has found new hardware.9Click Yes, this time only, then click

Seite 92

10Click Install the Software Automatically, then click Next.A software installation note appears, indicating that the software has not passedWindows l

Seite 93

12Click Finish.13If you are installing the Windows 2000 Server, you must reboot the system again.7.5.1 Uninstalling the Driver Pack1Make sure the inst

Seite 94

6Click Cancel.The driver pack is now uninstalled from your system.7.5.2 Upgrading the Driver PackTo upgrade to a newer version of the driver pack foll

Seite 95 - Enterprise Server on Xen

7.5.4 Avoiding Problems with the DriversTo avoid problems and potential failure of the device drivers in the driver pack, youshould avoid the followin

Seite 96

7.6.1 Setting Up a new Virtual Machine1Create a new fully virtual machine or start an existing fully virtual machine. UseYaST > Virtualization >

Seite 97

hdaX is the disk and partition of your root partition. For example, this will look likeroot=/dev/hda2.3Shutdown your VM Guest. The Xen paravirtualized

Seite 98

You can also restart the virtual machine by using xm start vm_cfgfile, butmake sure to connect to it with a viewer.The rst time the virtual machine b

Kommentare zu diesen Handbüchern

Keine Kommentare