Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo". upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo". upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners". upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners". upgrade now! [49.6] (what's this?)
creating_a_xen_dom0_host

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
creating_a_xen_dom0_host [2015/01/01 18:22]
76.6.119.33 created
— (current)
Line 1: Line 1:
-=====Installing Xen on a Debian Wheezy Host===== 
  
-[[http://​wiki.xenproject.org/​wiki/​Xen_Project_Beginners_Guide|XenProject PV Guest tutorial]] 
- 
-===Enable Virtualization Support in BIOS=== 
-The virtualization option appears differently in different BIOS builds but generally it is referred to as “Enable Virtualisation Technology” or “Enable Intel VT” for Intel chipsets, however in some cases it can be listed as “Vanderpool Technology”. Oftentimes this option can be found under the “Advanced Chipset Features” menu in the BIOS. Similar also for AMD.  
- 
-===Install Debian=== 
-Download the netinst image from the following link: 
-http://​cdimage.debian.org/​debian-cd/​current/​amd64/​iso-cd/​ 
- 
-Partition the disk as follows: 
-<​code>​ 
-   sda1 - /boot 250MB 
-   sda2 - / 15GB 
-   sda3 - swap 
-   sda4 - reserved for LVM 
-</​code>​ 
- 
-===Configure LVM for Guest Storage=== 
-<​code>​ 
-   ​apt-get install lvm2 
-   ​pvcreate /dev/sda4 
-   ​vgcreate vg0 /dev/sda4 
-</​code>​ 
- 
-===Set up Linux bridge for guest networking=== 
-<​code>​ 
-   ​apt-get install bridge-utils 
-</​code>​ 
-Edit ''/​etc/​network/​interfaces''​ to look as follows IOT create a bridge: 
-<​code>​ 
-    auto lo 
-    iface lo inet loopback 
- 
-    auto eth0 
-    iface eth0 inet manual 
-    ​ 
-    auto xenbr0 
-    iface xenbr0 inet dhcp 
-        bridge_ports eth0 
-</​code>​ 
-This is the same as doing: 
-<​code>​ 
-   brctl addbr xenbr0 
-   brctl addif xenbr0 eth0 
-   ​dhclient xenbr0 
-</​code>​ 
- 
-===Install the Xen Hypervisor=== 
-Install the hypervisor and xen-tools (xm).\\ 
-Once Complete, configure grub to boot the hypervisor before the debian OS. 
-<​code>​ 
-   ​apt-get install xen-linux-system xen-tools 
-   ​dpkg-divert --divert /​etc/​grub.d/​08_linux_xen --rename /​etc/​grub.d/​20_linux_xen 
-   ​update-grub 
-</​code>​ 
-    
-===Create and Manage Guests=== 
-It is possible to create guests on the command line as follows, however it will be best to modify the default configuration templates in\\ ''/​etc/​xen-tools/​partitions.d/''​ for specific servers. See [[Partition Templates]] for examples. 
-<​code>​ 
-  xen-create-image --hostname=tutorial-pv-guest \ 
-  --memory=512mb \ 
-  --vcpus=2 \ 
-  --lvm=vg0 \ 
-  --dhcp \ 
-  --pygrub \ 
-  --dist=wheezy 
- 
-  xm create -c /​etc/​xen/​tutorial-pv-guest.cfg 
-  #xm create /​etc/​xen/​tutorial-pv-guest.cfg && xm console tutorial-pv-guest 
-  xm shutdown tutorial-pv-guest 
-</​code>​ 
creating_a_xen_dom0_host.1420154572.txt.gz · Last modified: 2017/03/05 13:15 (external edit)