WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: Small DataCenter has an example.

To: "Thiago Camargo Martins Cordeiro" <thiagocmartinsc@xxxxxxxxx>
Subject: [Xen-users] Re: Small DataCenter has an example.
From: "Tran Minh" <trminh1@xxxxxxxxx>
Date: Mon, 29 Sep 2008 17:30:34 +0700
Cc: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 29 Sep 2008 03:31:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=OqJUdV/iSv1YdY+yw57PFY1BgUFFolZ1S5JflWbwcAs=; b=amxWaaZ24CoOuVHgM5htY7cJO2P+GMV4iIn+YY5I9PbJOYemTr98bVMSsVHxw1Gegu KIWjM9dUTJsIFKunXVIfAJxH1C+iGCLTDSVU8TJ69KP28YbE2lQoaD219s/vk1bxioEJ ykUgOJPBqzidUBwq5QMBiWEGwgGenoXcfhpRo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uMFiwSBGyIEaBMEuR9QfDNz2jNAryTfRlHQmSBR+OiYZ6ZHWYvo3cTu0kQOjKYkW6t BDIl3iibdLFdj3nw9FWSkp6O1fs7iWe4r3x054JUDqoFj5ILhwv2vFieKonqb6nnh8TB 6eLUvuWqyD3QUEXDDZMNNi6qtsjt/PZmceiSk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6b7f6eb0809282309t3fb59c53k4f09cc8bfd871998@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <6b7f6eb0809282309t3fb59c53k4f09cc8bfd871998@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thank Thiago very much, I will try and report to you.

Tran.

On Mon, Sep 29, 2008 at 1:09 PM, Thiago Camargo Martins Cordeiro
<thiagocmartinsc@xxxxxxxxx> wrote:
> Tran,
>
>  You can install Ubuntu Hardy, Xen on Ubuntu is very easy to setup. You can
> do it in 3 steps, 1 install Ubuntu, 2 install Xen and 3 create and mange
> your virtual machines.
>
>  Installing your first Xen, hostnamed hyper01:
>
>  Prefer a 64bits version of Ubuntu Server 8.04.1 with the following
> partitions (you can use LVM2 over RAID1 for a production server):
>
> 1- /dev/sda1 128M /boot (or /dev/md0 on RAID1)
> 2- /dev/sda2 1024M SWAP (and /dev/sdb2 on second disc)
> 3- /dev/sda3 199G LVM2 (or /dev/md1 on RAID1)
>
>  Then you will use this 199G LVM2 Phisical Volume to create a Volume Group
> called HyperVG01, and all partitions of your dom0 (first Linux started by
> Xen Hypervisor) will be there, look:
>
>  5 Logical Volumes for your dom0 hyper01 on HyperVG01 named:
>
> 1 hyper01-root (640M on /)
> 2 hyper01-tmp (512M on /tmp)
> 3 hyper01-home (5G on /home)
> 4 hyper01-usr (2G on /usr)
> 5 hyper01-var (2G on /var)
>
>  After installation complete, log into your hyper01 and add this line to
> your /etc/apt/sources.list:
>
> deb http://us.archive.ubuntu.com/ubuntu/ hardy-proposed main restricted
> universe multiverse
>
>  And do: "aptitude update;aptitude dist-upgrade;aptitude install
> openssh-server" and reboot...
>
>  Now you can install Xen and start creating your domUs.
>
>  Install Xen:
>
>  aptitude install ubuntu-xen-server ; reboot
>
>  Configure Xen Tools:
>
> Edit /etc/xen-tools/xen-tools.conf and add this lines:
>
> lvm = HyperVG01
> mirror = http://us.archive.ubuntu.com/ubuntu/
>
> Edit /etc/xen-tools/partitions.d/sample-server and setup partitions for your
> first domU.
>
> Create your first virtual machine (domU):
>
> xen-create-image --hostname=domu01 --dhcp --partitions=sample-server
> --arch=amd64 --verbose --dist=hardy --force
>
> Create another domU:
>
> xen-create-image --hostname=domu02 --dhcp --partitions=sample-server
> --arch=amd64 --verbose --dist=hardy --force
>
>  You can change "--dhcp" for "--ip=192.168.Y.Z --netmask=255.255.255.0
> --gateway=192.168.Y.X".
>
>  Start your domU:
>
> xm create /etc/xen/domu01.cfg
> or
> xm create -c /etc/xen/domu01.cfg ... to connect to console immediately.
>
> Connect to your domu01 console:
>
> xm console domu01
>
> To detach from console, type control+].
>
>  That's it!
>
>  Note.: Don't use some hardwares with Ubuntu, like Adapted Raid Controller
> or some HP machines does't work under Xen/Ubuntu. Look:
> https://help.ubuntu.com/community/Xen
>
> Best Regards,
> Thiago
>
>
> 2008/9/29 Tran Minh <trminh1@xxxxxxxxx>
>>
>> Hi, every body,
>> I am new one in Virtualization's works, especially in Xen. I need to
>> build a big Computer from 4 PC (with CPU= Intel Xeon 2x2GHz, RAM=8Gb
>> for each, HDD=200Gb). My purpose is setup a small Data Center as an
>> example for my student's class with some services like e-mail, voip,
>> video conferencing, Education Document's storage. . ..
>> I need any help from you. Is there any body have guide line or
>> tutorial documents for the beginner like me? Pleased, send me.
>> Thank you so much in advance.
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>