Home | Mirror | Search |
list
[root@development ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1726 2 r----- 5686.6 centos 6 127 1 -b---- 74.3
start
[root@development ~]# virsh start centos Domain centos started
reboot
[root@development ~]# xm reboot centos
shutdown
[root@development ~]# xm shutdown centos
console
[root@development ~]# xm console centos
config
[root@development ~]# cat /etc/xen/centos name = "centos" uuid = "a6a3f200-bcbb-cdbd-c06e-9e71f739310f" maxmem = 128 memory = 128 vcpus = 1 bootloader = "/usr/bin/pygrub" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" disk = [ "tap:aio:/srv/vm/centos.img,xvda,w" ] vif = [ "mac=00:16:36:5d:41:d0,bridge=xenbr0,script=vif-bridge" ]
Automatically starting domains
[root@development ~]# mv /etc/xen/centos /etc/xen/auto