* Install a VM into a file or a LV ?
@ 2011-01-05 12:27 Lentes, Bernd
2011-01-05 13:08 ` Avi Kivity
2011-01-05 17:01 ` Ben Beuchler
0 siblings, 2 replies; 7+ messages in thread
From: Lentes, Bernd @ 2011-01-05 12:27 UTC (permalink / raw)
To: 'KVM-ML (kvm@vger.kernel.org)'
Hi,
I'm new to this list and i hope this is the right list for my question. I like to create several VM's using KVM on a SLES 11 SP1 host. What is better/faster ? Install the VM into a file or a logical Volume ? If i chosse to install it into a LV: does the LV needs a Filesystem, and does it has to be mounted ? My aim is that i want to create a HA-Cluster. For every service (currently 3) i'd like to create a VM. I want to have two hosts/nodes, both running SLES 11 SP1. I want to use DRBD to replicate the File/LV to the passive node. Do you thing that's a good solution ?
Thanks for any answer.
Bernd
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Install a VM into a file or a LV ?
2011-01-05 12:27 Install a VM into a file or a LV ? Lentes, Bernd
@ 2011-01-05 13:08 ` Avi Kivity
2011-01-05 13:35 ` Lentes, Bernd
2011-01-05 14:26 ` Reeted
2011-01-05 17:01 ` Ben Beuchler
1 sibling, 2 replies; 7+ messages in thread
From: Avi Kivity @ 2011-01-05 13:08 UTC (permalink / raw)
To: Lentes, Bernd; +Cc: 'KVM-ML (kvm@vger.kernel.org)'
On 01/05/2011 02:27 PM, Lentes, Bernd wrote:
> Hi,
>
> I'm new to this list and i hope this is the right list for my question. I like to create several VM's using KVM on a SLES 11 SP1 host. What is better/faster ?
Logical volumes are faster.
> Install the VM into a file or a logical Volume ? If i chosse to install it into a LV: does the LV needs a Filesystem, and does it has to be mounted ?
No, the volume becomes the guest's disk (which it can then paritition,
set up logical volumes, and mount filesystems on).
> My aim is that i want to create a HA-Cluster. For every service (currently 3) i'd like to create a VM. I want to have two hosts/nodes, both running SLES 11 SP1. I want to use DRBD to replicate the File/LV to the passive node. Do you thing that's a good solution ?
>
Sure, this can work, just be sure to test it extensively. Roll-your-own
solutions often aren't.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Install a VM into a file or a LV ?
2011-01-05 13:08 ` Avi Kivity
@ 2011-01-05 13:35 ` Lentes, Bernd
2011-01-05 13:39 ` Avi Kivity
2011-01-05 14:26 ` Reeted
1 sibling, 1 reply; 7+ messages in thread
From: Lentes, Bernd @ 2011-01-05 13:35 UTC (permalink / raw)
To: 'Avi Kivity'; +Cc: 'KVM-ML (kvm@vger.kernel.org)'
Avi Kivity wrote:
> On 01/05/2011 02:27 PM, Lentes, Bernd wrote:
> > Hi,
> >
> > I'm new to this list and i hope this is the right list for
> my question. I like to create several VM's using KVM on a
> SLES 11 SP1 host. What is better/faster ?
>
> Logical volumes are faster.
>
> > Install the VM into a file or a logical Volume ? If i
> chosse to install it into a LV: does the LV needs a
> Filesystem, and does it has to be mounted ?
>
> No, the volume becomes the guest's disk (which it can then
> paritition, set up logical volumes, and mount filesystems on).
>
Hi Avi,
Thanks for the quick answer. Just to be sure:
>From the host's point of view, the LV has no filesystem and does not have to be mounted ?
Bernd
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Install a VM into a file or a LV ?
2011-01-05 13:08 ` Avi Kivity
2011-01-05 13:35 ` Lentes, Bernd
@ 2011-01-05 14:26 ` Reeted
2011-01-05 15:09 ` Avi Kivity
1 sibling, 1 reply; 7+ messages in thread
From: Reeted @ 2011-01-05 14:26 UTC (permalink / raw)
To: Avi Kivity; +Cc: Lentes, Bernd, 'KVM-ML (kvm@vger.kernel.org)'
On 01/05/2011 02:08 PM, Avi Kivity wrote:
>
>> My aim is that i want to create a HA-Cluster. For every service
>> (currently 3) i'd like to create a VM. I want to have two
>> hosts/nodes, both running SLES 11 SP1. I want to use DRBD to
>> replicate the File/LV to the passive node. Do you thing that's a good
>> solution ?
>>
>
> Sure, this can work, just be sure to test it extensively.
> Roll-your-own solutions often aren't.
>
Often aren't what?
Do you consider DRBD a roll-your-own solution or a standard one?
(I suppose the opposite of "roll-your-own" is "standard"...)
Thank you
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Install a VM into a file or a LV ?
2011-01-05 14:26 ` Reeted
@ 2011-01-05 15:09 ` Avi Kivity
0 siblings, 0 replies; 7+ messages in thread
From: Avi Kivity @ 2011-01-05 15:09 UTC (permalink / raw)
To: Reeted; +Cc: Lentes, Bernd, 'KVM-ML (kvm@vger.kernel.org)'
On 01/05/2011 04:26 PM, Reeted wrote:
> On 01/05/2011 02:08 PM, Avi Kivity wrote:
>>
>>> My aim is that i want to create a HA-Cluster. For every service
>>> (currently 3) i'd like to create a VM. I want to have two
>>> hosts/nodes, both running SLES 11 SP1. I want to use DRBD to
>>> replicate the File/LV to the passive node. Do you thing that's a
>>> good solution ?
>>>
>>
>> Sure, this can work, just be sure to test it extensively.
>> Roll-your-own solutions often aren't.
>>
>
> Often aren't what?
Tested extensively.
>
> Do you consider DRBD a roll-your-own solution or a standard one?
>
> (I suppose the opposite of "roll-your-own" is "standard"...)
I have no experience or knowledge about DRBD. I'm more concerned about
the code that detects failure and switches things over, and makes sure
the guest isn't running on both nodes, etc.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Install a VM into a file or a LV ?
2011-01-05 12:27 Install a VM into a file or a LV ? Lentes, Bernd
2011-01-05 13:08 ` Avi Kivity
@ 2011-01-05 17:01 ` Ben Beuchler
1 sibling, 0 replies; 7+ messages in thread
From: Ben Beuchler @ 2011-01-05 17:01 UTC (permalink / raw)
To: Lentes, Bernd; +Cc: KVM-ML (kvm@vger.kernel.org)
Take a look at Ganeti. It is designed to do exactly what you
describe: HA VMs sharing their LV-backed disks over DRBD.
-Ben
> I'm new to this list and i hope this is the right list for my question. I like to create several VM's using KVM on a SLES 11 SP1 host. What is better/faster ? Install the VM into a file or a logical Volume ? If i chosse to install it into a LV: does the LV needs a Filesystem, and does it has to be mounted ? My aim is that i want to create a HA-Cluster. For every service (currently 3) i'd like to create a VM. I want to have two hosts/nodes, both running SLES 11 SP1. I want to use DRBD to replicate the File/LV to the passive node. Do you thing that's a good solution ?
>
> Thanks for any answer.
>
>
> Bernd
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-01-05 17:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-05 12:27 Install a VM into a file or a LV ? Lentes, Bernd
2011-01-05 13:08 ` Avi Kivity
2011-01-05 13:35 ` Lentes, Bernd
2011-01-05 13:39 ` Avi Kivity
2011-01-05 14:26 ` Reeted
2011-01-05 15:09 ` Avi Kivity
2011-01-05 17:01 ` Ben Beuchler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox