Monday, January 18, 2010

How to format linux for xen installation? Install xen on linux server

Format the server for xen. Xen-installation guide

First thing you have to make sure is that if you want VT or if you have VT support in your CPU/Mobo.
All you have to is get server on the format state.

Steps

1. Delete all linux partion and create custom partition
2. Create /boot 200mb
3. Create swap double the size of the RAM on the machine fixed size
3. Create /ext3 40gb disk fixed size
4. You will see free space on the screen. Select that and create new partition. Make it LVM and put all the available space to this and let this disk be expandable.
5. Select the partition LVM and click LVM On the screen. Create volume group name it abc

Click next.
On package installation select
Server
Virtualizatioin

Get the OS loaded.
Now login and run at this on shell
#vgscan

Reading all physical volumes. This may take a while...
Found volume group "abc" using metadata type lvm2



vgdisplay
--- Volume group ---
VG Name abc
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 451.25 GB
PE Size 64.00 MB
Total PE 7220
Alloc PE / Size 0 / 0
Free PE / Size 7220 / 451.25 GB
VG UUID LK8A7O-QjQW-fGx1-ucjd-JudC-B9p9-5vTfyL

You can install any control panel like
www.hypervm.com
www.solusvm.com
etc to manage the Xen's.

Good luck.