WHAT'S HOT
Prev | Current Page 40 | Next

Prabhakar Chaganti

"Xen Virtualization: A Practical Handbook"


The minimum information that we need to provide for creating a domain is:
kernel: The path to the kernel that will be used for booting the domain.
memory: The amount of memory in MB that will be allocated to this domain.
name: A unique name for the domain. This is the name that will appear in
the list of running Xen domains when we use the xm command to list the
current Xen environment.
disk: A description of the disk that will be used for the domain. The tap:aio
qualifier for a Virtual Block Device (VBD) indicates that a file system image
will be use for exporting to the VBD. This block device can either be a virtual
disk or a virtual partition.
root: The parameters for the device that contains the root filesystem.
vif: This defines the Virtual Ethernet Interface (VIF). By default xend will
select a random MAC address that will change every time you reboot that
domain. If you always want to use a specific MAC address for the domain,
you can provide the mac option to the vif configuration directive. We will
explore the various networking related options available in Chapter 5.
This information is specified in a configuration file and is provided as a parameter to
the xm command to create the domain.
xm create /home/pchaganti/xen-images/ ubuntu_feisty_domU .cfg -c
This starts up a domain running the Ubuntu Feisty system. xm is a command line tool
that provides a wide variety of options and parameters and can be used to control
and manage most aspects of Xen domains.


Pages:
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52