Trying KVM out before RHEL/SL 5.4?

2009-06-25 Thread Tim Edwards
We were hoping to evaluate KVM in the coming weeks. However as RHEL 5.4
is not yet out, and it'll be a few weeks after that the Scientific Linux
 releases 5.4, does anyone know of any easy way to go about getting KVM
working on SL 5.3? Or would it be better to wait for SL5.4 - if so any
ideas when that is likely to be out?

Thanks

Tim Edwards


Re: Trying KVM out before RHEL/SL 5.4?

2009-06-25 Thread Andreas Petzold
Hi,

On Thursday 25 June 2009 11:52:31 you wrote:
> We were hoping to evaluate KVM in the coming weeks. However as RHEL 5.4
> is not yet out, and it'll be a few weeks after that the Scientific Linux
>  releases 5.4, does anyone know of any easy way to go about getting KVM
> working on SL 5.3? 

On SL5.3 I've downloaded KVM, built it including the kernel module and 
installed the .ko in /lib/modules... and the rest in /usr/local. Since the KVM 
executables are called with their full hardcoded path by some utils, I also 
had to symlink the executables in /usr/bin.

After modprobing the .ko you can use virt-manager or the libvirt based utils 
to manage your VMs.

I haven't had any problems with that setup.

Cheers,

Andreas


Re: Trying KVM out before RHEL/SL 5.4?

2009-06-25 Thread Troy Dawson

Tim Edwards wrote:

We were hoping to evaluate KVM in the coming weeks. However as RHEL 5.4
is not yet out, and it'll be a few weeks after that the Scientific Linux
 releases 5.4, does anyone know of any easy way to go about getting KVM
working on SL 5.3? Or would it be better to wait for SL5.4 - if so any
ideas when that is likely to be out?

Thanks

Tim Edwards


They have it in centos-extras.
You can either download it directly or, try out a config file / mirror 
I've been setting up.


yum --enablerepo=sl-testing install yum-conf-centos-extras

Troy
--
__
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI LMSS Group
__


Re: Trying KVM out before RHEL/SL 5.4?

2009-06-25 Thread Akemi Yagi
On Thu, Jun 25, 2009 at 6:59 AM, Troy Dawson wrote:
> Tim Edwards wrote:
>>
>> We were hoping to evaluate KVM in the coming weeks. However as RHEL 5.4
>> is not yet out, and it'll be a few weeks after that the Scientific Linux
>>  releases 5.4, does anyone know of any easy way to go about getting KVM
>> working on SL 5.3? Or would it be better to wait for SL5.4 - if so any
>> ideas when that is likely to be out?
>>
>> Thanks
>>
>> Tim Edwards
>
> They have it in centos-extras.
> You can either download it directly or, try out a config file / mirror I've
> been setting up.
>
> yum --enablerepo=sl-testing install yum-conf-centos-extras

The version in the CentOS extras ( -36 ) is fairly old.  It was the
last stable version when kvm was tested by CentOS (newer ones at that
time were not stable enough to be released).

Farkas Levente has been maintaining more recent versions of knm for
CentOS.  While I have not tried them myself, quite a few people have
been using the kvm package from there.

http://www.lfarkas.org/linux/packages/centos/5/x86_64/virt
(replace x86_64 with i386 for 32-bit)

Akemi