Thursday, March 25, 2010

XEN: How to Setup Xen on Scientific Linux 5.4 (RHEL54) 64-bit

1. Install SL5.4 x86_64, choosing only GNOME Desktop in the software list;
2. login as root, install the necessary packages

yum upgrade
yum install -y xen kernel-xen virt-manager libvirt libvirt-python python-virtinst virt-viewer


3. Restart computer and make sure the Xen kernel is booted.

4. Now we install a SLC54 Client:
  • Prepare a directory for the new VM
mkdir /scratch/SLC54_64_BASE_XEN
cd /scratch/SLC54_64_BASE_XEN
  • Download the SLC54 64bit network install disk
wget ftp://ftp.scientificlinux.org/linux/scientific/54/x86_64/images/boot.iso
  • Create a new VM with name "SLC54_64_BASE_XEN", and a 20GB disk image
virt-install --connect xen:///system -n SLC54_64_BASE_XEN -r 512 --vcpus=1 --os-type=linux --os-variant=rhel5 -b virbr0 --arch=x86_64 --disk path=./SLC54_64_BASE_XEN.img,size=20 --hvm --vnc --disk path=./boot.iso,device=cdrom

Now the new VM will boot just follow the instructions to install it

2 comments:

  1. What about CPU usage during I/O (normalized for bandwidth)? Latency?

    Thanks for sharing your results.

    ReplyDelete
  2. Polo Ralph Lauren Corporation is a leader in the design,marketing and distribution of premium lifestyle products in four categories: apparel,home, accessories and fragrances. For more than 43 years, polo ralph lauren outlet reputation and distinctive image have been consistently developed across an expanding number of products, brands and internation markets

    Polo Ralph Lauren Corporation is a leader in the design,marketing and distribution of premium lifestyle products in four categories: apparel,home, accessories and fragrances. For more than 43 years, ralph lauren outlet reputation and distinctive image have been consistently developed across an expanding number of products, brands and internation markets

    Abercrombie ia an American based retailer and fashion brand for casual apparel for men, women and childre. It stocks personal care items, casual clothing,and discount deals.It operates on a multinational basis with more than 1000 stores as well as online shopping and enjoys a huge and loyal customer base which loves abercrombie coupons range and latest style.

    ReplyDelete