Belkin XM Commander Manuale Utente Pagina 20

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 56
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 19
memory Set this to the size of the domain’s memory in megabytes (e.g.
memory = 64)
disk Set the first entry in this list to calculate the offset of the domain’s
root partition, based on the domain ID. Set the second to the lo-
cation of /usr if you are sharing it between domains (e.g. disk =
[’phy:your hard drive%d,sda1,w’ % (base partition number
+ vmid), ’phy:your usr partition,sda6,r’ ]
dhcp Uncomment the dhcp variable, so that the domain will receive its
IP address from a DHCP server (e.g. dhcp=’dhcp’)
You may also want to edit the vif variable in order to choose the MAC address of the
virtual ethernet interface yourself. For example:
vif = [’mac=00:06:AA:F6:BB:B3’]
If you do not set this variable, xend will automatically generate a random MAC address
from an unused range.
3.2 Booting the Domain
The xm tool provides a variety of commands for managing domains. Use the create
command to start new domains. Assuming you’ve created a configuration file myvmconf
based around /etc/xen/xmexample2, to start a domain with virtual machine ID 1
you should type:
# xm create -c myvmconf vmid=1
The -c switch causes xm to turn into the domain’s console after creation. The vmid=1
sets the vmid variable used in the myvmconf file.
You should see the console boot messages from the new domain appearing in the
terminal in which you typed the command, culminating in a login prompt.
3.3 Example: ttylinux
Ttylinux is a very small Linux distribution, designed to require very few resources. We
will use it as a concrete example of how to start a Xen domain. Most users will proba-
bly want to install a full-featured distribution once they have mastered the basics
1
.
1. Download and extract the ttylinux disk image from the Files section of the
project’s SourceForge site (see http://sf.net/projects/xen/).
2. Create a configuration file like the following:
1
ttylinux is maintained by Pascal Schmidt. You can download source packages from the distribution’s
home page: http://www.minimalinux.org/ttylinux/
14
Vedere la pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 55 56

Commenti su questo manuale

Nessun commento