Contents
I Introduction and Tutorial 1
1 Introduction 3
1.1 Structure of a Xen-Based System . . . . . . . . . . . . . . . . . . . . 4
1.2 Hardware Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Installation 7
2.1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Installing from Binary Tarball . . . . . . . . . . . . . . . . . . . . . 8
2.3 Installing from Source . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3.1 Obtaining the Source . . . . . . . . . . . . . . . . . . . . . . 8
2.3.2 Building from Source . . . . . . . . . . . . . . . . . . . . . . 9
2.3.3 Custom XenLinux Builds . . . . . . . . . . . . . . . . . . . 10
2.3.4 Installing the Binaries . . . . . . . . . . . . . . . . . . . . . 10
2.4 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.4.1 GRUB Configuration . . . . . . . . . . . . . . . . . . . . . . 11
2.4.2 Serial Console (optional) . . . . . . . . . . . . . . . . . . . . 11
2.4.3 TLS Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.5 Booting Xen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Starting Additional Domains 13
3.1 Creating a Domain Configuration File . . . . . . . . . . . . . . . . . 13
3.2 Booting the Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3 Example: ttylinux . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.4 Starting / Stopping Domains Automatically . . . . . . . . . . . . . . 15
4 Domain Management Tools 17
4.1 Command-line Management . . . . . . . . . . . . . . . . . . . . . . 17
4.1.1 Basic Management Commands . . . . . . . . . . . . . . . . . 17
4.1.2 xm list . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.2 Domain Save and Restore . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3 Live Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
i
Commenti su questo manuale