Abilash Praveen [Consign IT Private Limited]
2011-Jul-30 06:39 UTC
[Xen-users] XEN infrastructure setup question
Hello, I''m new to XEN. I''m planning to install XEN on a bare metal and create VMs for our customers. I have a i-7 quad core processor with 8 GB RAM. 2 x 750 GB HDD and 1 x 1.5TB HDD. My question: 1) How many VMs can I run? 2) How do I go about LVM and also use RAID 1? 3) How do I backup VMs (snapshots?) 4) I am also looking at Eucalyptus for future offering. My understanding is that with Eucalyptus, I can group different bare metals into a single cloud - i.e, 2 x quad core process, 2 x 8 GB RAM will now become a 2 quad core with 16 GB RAM cloud and the VMs can be installed into this cloud. Please correct me if I''m wrong. That is all for now. Thank you very much in anticipation. Kind regards, Abilash _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Javier Guerra Giraldez
2011-Aug-03 15:01 UTC
Re: [Xen-users] XEN infrastructure setup question
On Sat, Jul 30, 2011 at 1:39 AM, Abilash Praveen [Consign IT Private Limited] <abilash@consignweb.com> wrote:> 1) How many VMs can I run?unanswerable, as it totally depends on your needs. the box is on the smallish side, however.> 2) How do I go about LVM and also use RAID 1?do a RAID, then set it as a PV, create a VG, then split on your LVs> 3) How do I backup VMs (snapshots?)install backup clients on the VMs> 4) I am also looking at Eucalyptus for future offering. My understanding is > that with Eucalyptus, I can group different bare metals into a single cloud > - i.e, 2 x quad core process, 2 x 8 GB RAM will now become a 2 quad core > with 16 GB RAM cloud and the VMs can be installed into this cloud. Please > correct me if I''m wrong.''cloud'' isn''t a magic word. Eucalyptus just simplifies management and resource allocation. Each VM still reside on a single box, but if done correctly you don''t have to care exactly which. -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christian Motschke
2011-Aug-03 15:49 UTC
Re: [Xen-users] XEN infrastructure setup question
Am 03.08.2011 um 17:01 schrieb Javier Guerra Giraldez:> On Sat, Jul 30, 2011 at 1:39 AM, Abilash Praveen [Consign IT Private > Limited] <abilash@consignweb.com> wrote: >> 1) How many VMs can I run? > > unanswerable, as it totally depends on your needs. the box is on the > smallish side, however. > >> 2) How do I go about LVM and also use RAID 1? > > do a RAID, then set it as a PV, create a VG, then split on your LVsOr put 2 PVs in 1 VG and create the LVs as mirror (lvcreate -m 1 …)> >> 3) How do I backup VMs (snapshots?) > > install backup clients on the VMsOr you can make a snapshot, check the filesystem of the snapshot, mount the snapshot and use a backup tool or dd the snapshot to another disk. You can find backup scripts for this. http://www.cduce.org/~abate/files/xenBackup.txt> >> 4) I am also looking at Eucalyptus for future offering. My understanding is >> that with Eucalyptus, I can group different bare metals into a single cloud >> - i.e, 2 x quad core process, 2 x 8 GB RAM will now become a 2 quad core >> with 16 GB RAM cloud and the VMs can be installed into this cloud. Please >> correct me if I''m wrong. > > ''cloud'' isn''t a magic word. Eucalyptus just simplifies management and > resource allocation. Each VM still reside on a single box, but if > done correctly you don''t have to care exactly which. > > -- > Javier > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I just want to note that snapshots in LVM are reverse-differential, so every write operation will write to every snapshot (5 snapshots, 6 write operations instead one). In product environment under high load this can cause a huge impact on IO performance. В Срд, 03/08/2011 в 17:49 +0200, Christian Motschke пишет:> Am 03.08.2011 um 17:01 schrieb Javier Guerra Giraldez: > > > On Sat, Jul 30, 2011 at 1:39 AM, Abilash Praveen [Consign IT Private > > Limited] <abilash@consignweb.com> wrote: > >> 1) How many VMs can I run? > > > > unanswerable, as it totally depends on your needs. the box is on the > > smallish side, however. > > > >> 2) How do I go about LVM and also use RAID 1? > > > > do a RAID, then set it as a PV, create a VG, then split on your LVs > > Or put 2 PVs in 1 VG and create the LVs as mirror (lvcreate -m 1 …) > > > > >> 3) How do I backup VMs (snapshots?) > > > > install backup clients on the VMs > > Or you can make a snapshot, check the filesystem of the snapshot, mount the snapshot and use a backup tool or dd the snapshot to another disk. You can find backup scripts for this. > http://www.cduce.org/~abate/files/xenBackup.txt > > > > >> 4) I am also looking at Eucalyptus for future offering. My understanding is > >> that with Eucalyptus, I can group different bare metals into a single cloud > >> - i.e, 2 x quad core process, 2 x 8 GB RAM will now become a 2 quad core > >> with 16 GB RAM cloud and the VMs can be installed into this cloud. Please > >> correct me if I''m wrong. > > > > ''cloud'' isn''t a magic word. Eucalyptus just simplifies management and > > resource allocation. Each VM still reside on a single box, but if > > done correctly you don''t have to care exactly which. > > > > -- > > Javier > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Javier Guerra Giraldez
2011-Aug-03 16:09 UTC
Re: [Xen-users] XEN infrastructure setup question
On Wed, Aug 3, 2011 at 10:49 AM, Christian Motschke <christian@motschke.de> wrote:>>> 3) How do I backup VMs (snapshots?) >> >> install backup clients on the VMs > > Or you can make a snapshot, check the filesystem of the snapshot, mount the snapshot and use a backup tool or dd the snapshot to another disk. You can find backup scripts for this. > http://www.cduce.org/~abate/files/xenBackup.txt.... and lose any application-level uncommited data. this method has the same result (except for downtime) as pulling the plug of a live server and copying the hard disk. -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users