4. XEN HYPERVISION

XEN Kernel - KVM Setting and Configure

Note = Kernel-xen And Xend + KVM

      Xen CentOS 5 And KVM CentOS 6 Maintenance

Configuration Setup- 1

1

  Zones Listing

[root@intra ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0      720     2 r-----   8138.1
zonesMX-ajvm                               1     1299     1 -b---- 243637.6
[root@intra ~]#

2

  Zones Start

[root@intra ~]# xm create zonesMX-ajvm

3

  Zones Shutdown

[root@intra ~]# xm shutdown zonesMX-ajvm

4

  Zone Couldnt start - Reason "xenconsole: Could not read tty from store: No such file or directory"

[root@intra ~]# /usr/sbin/xenconsoled

5

  Zone Couldnt because of kernel ELF error

[root@intra ~]# lomount -t ext3 -diskimage  zones-ns1.img  -partition 1 /mnt

mount the zones.img edit grub.conf , better save zones grub before update kernel

6

  Create Zones ; Already in USE

[root@idc01jr ~]# virt-install --prompt
Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified ...
 What is the name of your virtual machine? zone2
ERROR    Guest name 'zone2' is already in use.

[root@idc01jr ~]# virsh undefine zone2
Domain zone2 has been undefined

[root@idc01jr ~]# virt-install --prompt
Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodifie....
 What is the name of your virtual machine? zone2
 How much RAM should be allocated (in megabytes)? 400
 What would you like to use as the disk (file path)? /export/zones/zone2.img
 How large would you like the disk (/export/zones/zone2.img) to be (in gigabytes)? 20
 What is the install URL?  blah

7

  XEN


8

  XEN


9

  XEN



10

  XEN



Previous Section    XEN ADMINISTRATION Next Section