Belkin XM Commander Manuel d'utilisateur Page 24

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 56
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 23
state Domain state consists of 5 fields:
r running
b blocked
p paused
s shutdown
c crashed
cputime How much CPU time (in seconds) the domain has used so far.
console TCP port accepting connections to the domain’s console.
The xm list command also supports a long output format when the -l switch is
used. This outputs the fulls details of the running domains in xend’s SXP configuration
format.
For example, suppose the system is running the ttylinux domain as described earlier.
The list command should produce output somewhat like the following:
# xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 251 0 r---- 172.2
ttylinux 5 63 0 -b--- 3.0 9605
Here we can see the details for the ttylinux domain, as well as for domain 0 (which,
of course, is always running). Note that the console port for the ttylinux domain is
9605. This can be connected to by TCP using a terminal program (e.g. telnet or,
better, xencons). The simplest way to connect is to use the xm console command,
specifying the domain name or ID. To connect to the console of the ttylinux domain,
we could use any of the following:
# xm console ttylinux
# xm console 5
# xencons localhost 9605
4.2 Domain Save and Restore
The administrator of a Xen system may suspend a virtual machine’s current state into
a disk file in domain 0, allowing it to be resumed at a later time.
The ttylinux domain described earlier can be suspended to disk using the command:
# xm save ttylinux ttylinux.xen
This will stop the domain named ‘ttylinux’ and save its current state into a file called
ttylinux.xen.
To resume execution of this domain, use the xm restore command:
18
Vue de la page 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 55 56

Commentaires sur ces manuels

Pas de commentaire