This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
xen:creation_of_a_domu [2011/02/05 23:13] Luc Nieland Debian 6.0 upgrade from a Debian 5 |
xen:creation_of_a_domu [2011/02/07 19:05] (current) Luc Nieland |
||
---|---|---|---|
Line 5: | Line 5: | ||
====with KVM==== | ====with KVM==== | ||
- | A convenent way to prepair an image is by using KVM on your workstion. Install from the Net or the netinst.iso Keep in mind: | + | A convenient way to prepair an image is by using KVM on your workstion. Install from the Net or the netinst.iso Keep in mind: |
* install minimal, (use expertmode). | * install minimal, (use expertmode). | ||
* it installs with grub2 only, so you will you will need xen-4 on your Dom0 to use pygrub. | * it installs with grub2 only, so you will you will need xen-4 on your Dom0 to use pygrub. | ||
Line 107: | Line 107: | ||
The link below is describes the installation steps of the Solaris/Linux combination: | The link below is describes the installation steps of the Solaris/Linux combination: | ||
See: http://wiki.tardis.ed.ac.uk/index.php/OpenSolaris_Xen_domU | See: http://wiki.tardis.ed.ac.uk/index.php/OpenSolaris_Xen_domU | ||
+ | |||
+ | |||
+ | |||
+ | =====RedHat 6 PV domU ===== | ||
+ | RHEL6 runs as Xen PV (paravirtual) domU using the pvops framework in the default kernel. | ||
+ | |||
+ | A convenient way to make the raw image for domU usage is with KVM. Install from the CDrom, the usual way. | ||
+ | To use this image as a domU, edit the /etc/grub.conf in the image (by using KVM) and add to the kernel line: | ||
+ | |||
+ | console=hvc0 | ||
+ | |||
+ | After this, this machine will not have a console with KVM anymore when rebooted in KVM. So shut it down, and copy it over to the xen dom0 machine. | ||
+ | |||
+ | |||
+ | A minimal domU.conf file example is: | ||
+ | |||
+ | name = "rh6beta" | ||
+ | memory = 1024 | ||
+ | vcpus = 2 | ||
+ | bootloader = "/usr/lib/xen-4.0/bin/pygrub" | ||
+ | disk = [ "phy:/dev/mapper/vg00-rh6disk0,xvda,w" ] | ||
+ | vif = [ "mac=00:16:34:f2:3b:7f,bridge=xenbr3"] | ||
+ | extra = "clocksource=jiffies" | ||
+ | |||
+ | |||
+ | When the mac-adres of the domU has changed, update the configfiles: | ||
+ | * /etc/sysconfig/network-scripts/ifcfg-eth* (HWADDR=... ) | ||
+ | * /etc/udev/rules.d/70-persistent-net.rules | ||