Re: Upgrading from 32bit to 64bit

2011-09-23 Thread Garrett Holmstrom

On 2011-09-23 17:14, Christopher Tooley wrote:

I may have solved this:
I removed /etc/rpm/platform:
rm /etc/rpm/platform

confirmed that rpm recognized that I had x86_64 arch:
rpm -E '%{_arch}'
x86_64

and then reinstalled python:
yum install python.x86_64

After doing a couple more installs of the x86_64 bit versions of some pam and 
nss modules I was able to get back to working order.  There are probably some 
other things that may need to be fixed, but yum update isn't showing a whole 
bunch of i386 packages anymore :)

For the record, I did an upgrade with a CD from i386 SL 5.4 to SL 5.7 x86_64.  
Upon rebooting, yum would insist I had 386 arch, and the authentication method 
I had was failing (it was looking for 64 bit versions of the pam modules and 
nss modules).


For the record, note that migrating a system from one arch to another is 
completely unsupported and is likely to cause it to behave unpredictably 
in the future.  That said, congrats for making it work on your system.  ;)


--
Garrett Holmstrom


Re: Does KVM have a Guest Additions?

2011-09-23 Thread Todd And Margo Chester

On 09/23/2011 01:41 AM, Stephan Wiesand wrote:

Hi,

On Sep 23, 2011, at 00:30 , Todd And Margo Chester wrote:


I am migrating from Virtual Box on my old server (CentOS 5.6 x32) to KVM on
my new server (SL6.1 x64).

Virtual box has a collection of drivers to assist the guest called
"Guest Additions".  These drives give you shared clipboard
and shared mouse, among other things.

Question: does KVM have a similar package of guest drivers?
I am specifically looking for mouse sharing and shared clipboard.
I am not sure if I need a special video driver as well.

eventually, SPICE will be what you're looking for. See 
http://www.spice-space.org/features.html .

Some of the components come with SL, some can be downloaded elsewhere. But 
right now, it's probably not quite finished and hard to get going.



Hi Stephan,

Is this the spice you are referring to?

http://rpm.pbone.net/index.php3/stat/4/idpl/16005959/dir/scientific_linux_6/com/spice-xpi-2.4-4.el6.x86_64.rpm.html

-T


Re: Upgrading from 32bit to 64bit

2011-09-23 Thread Christopher Tooley
Hello all,

I may have solved this:
I removed /etc/rpm/platform:
rm /etc/rpm/platform

confirmed that rpm recognized that I had x86_64 arch:
rpm -E '%{_arch}'
x86_64

and then reinstalled python:
yum install python.x86_64

After doing a couple more installs of the x86_64 bit versions of some pam and 
nss modules I was able to get back to working order.  There are probably some 
other things that may need to be fixed, but yum update isn't showing a whole 
bunch of i386 packages anymore :)

For the record, I did an upgrade with a CD from i386 SL 5.4 to SL 5.7 x86_64.  
Upon rebooting, yum would insist I had 386 arch, and the authentication method 
I had was failing (it was looking for 64 bit versions of the pam modules and 
nss modules).

Christopher Tooley
ctoo...@uvic.ca
Systems, HEP/Astronomy UVic



On 2011-09-23, at 4:23 PM, Christopher Tooley wrote:

> Hello,
> 
> What is the procedure for upgrading from 32bit to 64bit? I did an upgrade 
> with the CD but now I have authentication failing because it's looking for 
> the 64bit versions of nss_ldap and can't find them - so I think I may have 
> missed a step.
> ---
> [root@ ~]# cat /etc/redhat-release 
> Scientific Linux SL release 5.7 (Boron)
> [root@ ~]# grep basearch *
> [root@ ~]# rpm --eval '%{_arch}'
> i386
> [root@ ~]# uname -ar
> Linux  2.6.18-274.el5 #1 SMP Thu Jul 21 12:13:11 EDT 2011 x86_64 x86_64 
> x86_64 GNU/Linux
> [root@ ~]# 
> ---
> 
> 
> Christopher Tooley
> ctoo...@uvic.ca
> Systems, HEP/Astronomy UVic


Upgrading from 32bit to 64bit

2011-09-23 Thread Christopher Tooley
Hello,

What is the procedure for upgrading from 32bit to 64bit? I did an upgrade with 
the CD but now I have authentication failing because it's looking for the 64bit 
versions of nss_ldap and can't find them - so I think I may have missed a step.
---
[root@ ~]# cat /etc/redhat-release 
Scientific Linux SL release 5.7 (Boron)
[root@ ~]# grep basearch *
[root@ ~]# rpm --eval '%{_arch}'
i386
[root@ ~]# uname -ar
Linux  2.6.18-274.el5 #1 SMP Thu Jul 21 12:13:11 EDT 2011 x86_64 x86_64 
x86_64 GNU/Linux
[root@ ~]# 
---


Christopher Tooley
ctoo...@uvic.ca
Systems, HEP/Astronomy UVic


Re: Does KVM have a Guest Additions?

2011-09-23 Thread Todd And Margo Chester

On 09/23/2011 08:30 AM, Paul Griffith wrote:

On 09/22/2011 06:30 PM, Todd And Margo Chester wrote:

Hi All,

I am migrating from Virtual Box on my old server (CentOS 5.6 x32) to 
KVM on

my new server (SL6.1 x64).

Virtual box has a collection of drivers to assist the guest called
"Guest Additions". These drives give you shared clipboard
and shared mouse, among other things.

Question: does KVM have a similar package of guest drivers?
I am specifically looking for mouse sharing and shared clipboard.
I am not sure if I need a special video driver as well.

Many thanks,
-T


p.s. be really cool if all that stuff were built in



Hi,

   Just out of curiosity why are you making the move from VB to KVM ? 
I currently make use of VB for most of my OS testing, but KVM looks 
like it has a bright future.


Cheers
Paul


Hi Paul,

I made the mistake of using VB with an enterprise level database and
VB corrupted the database.  The customer, my largest customer,
eventually fired me over it.  VB is a toy.  I should have known better.

KVM, on the other hand, has Red Hat behind it.  I can not see the issues
I have/had with VB not being fixed instantly.  In my experience, Oracle
could care less.

-T


Re: Sharing iscsi luns between sl5.x and sl6.x

2011-09-23 Thread carlopmart

On 09/23/2011 02:23 PM, Stephan Wiesand wrote:

On Sep 23, 2011, at 13:10 , carlopmart wrote:


On 09/23/2011 12:54 PM, Stephan Wiesand wrote:

On Sep 23, 2011, at 11:17, carlopmart wrote:


Due to a certain app requeriments, I need to share an iscsi lun between two 
sl5.x and five sl6.x servers. This lun is formatted with ext4 fileysytem (I 
have used one of the sl5.x servers to do this).


You mean you want to mount the filesystem on both servers at the same time?


No. Only one of these servers mounts this filesystem.


So by "sharing" you mean mounting it on any of the servers, but never on more 
than one at a time?


Correct.

 I'd expect this to work (but I admittedly don't know for sure) as long 
as it's really never ever mounted more than once.


Correct. It works 

Thanks to all.


--
CL Martinez
carlopmart {at} gmail {d0t} com


Re: Sharing iscsi luns between sl5.x and sl6.x

2011-09-23 Thread carlopmart

On 09/23/2011 05:38 PM, Lamar Owen wrote:

On Friday, September 23, 2011 05:17:01 AM you wrote:

Hi all,

   Due to a certain app requeriments, I need to share an iscsi lun
between two sl5.x and five sl6.x servers. This lun is formatted with
ext4 fileysytem (I have used one of the sl5.x servers to do this). Can I
expect some type of problems ???


You need to reconsider the filesystem type for a shared LUN.  Even if only one 
server at a time mounts this filesystem, using a clustered filesystem will 
prevent some of the problems you might experience.

See https://secure.wikimedia.org/wikipedia/en/wiki/Shared_disk_file_system for 
a list of filesystems providing this functionality; upstream's GFS is 
available, as far as I know, in both 5.x and 6.x and may be a good choice for 
what you're wanting to do.


GFS2 was my first option, but due to changes on gfs code between version 
released by upstream on RHEL5.x and RHEl6.x, I have discarded ...


I don't need a cluster filesystem, because only one server at the same 
time needs to mount this filesystem ...


--
CL Martinez
carlopmart {at} gmail {d0t} com


Re: Sharing iscsi luns between sl5.x and sl6.x

2011-09-23 Thread Lamar Owen
On Friday, September 23, 2011 05:17:01 AM you wrote:
> Hi all,
> 
>   Due to a certain app requeriments, I need to share an iscsi lun 
> between two sl5.x and five sl6.x servers. This lun is formatted with 
> ext4 fileysytem (I have used one of the sl5.x servers to do this). Can I 
> expect some type of problems ???

You need to reconsider the filesystem type for a shared LUN.  Even if only one 
server at a time mounts this filesystem, using a clustered filesystem will 
prevent some of the problems you might experience.  

See https://secure.wikimedia.org/wikipedia/en/wiki/Shared_disk_file_system for 
a list of filesystems providing this functionality; upstream's GFS is 
available, as far as I know, in both 5.x and 6.x and may be a good choice for 
what you're wanting to do.


Re: Sharing iscsi luns between sl5.x and sl6.x

2011-09-23 Thread Stephan Wiesand
On Sep 23, 2011, at 13:10 , carlopmart wrote:

> On 09/23/2011 12:54 PM, Stephan Wiesand wrote:
>> On Sep 23, 2011, at 11:17, carlopmart wrote:
>> 
>>> Due to a certain app requeriments, I need to share an iscsi lun between two 
>>> sl5.x and five sl6.x servers. This lun is formatted with ext4 fileysytem (I 
>>> have used one of the sl5.x servers to do this).
>> 
>> You mean you want to mount the filesystem on both servers at the same time?
> 
> No. Only one of these servers mounts this filesystem.

So by "sharing" you mean mounting it on any of the servers, but never on more 
than one at a time? I'd expect this to work (but I admittedly don't know for 
sure) as long as it's really never ever mounted more than once. I think ext4 
has no multiple mount protection. Any mistake may cause irreparable damage to 
the filesystem.

Sharing it using NFS is certainly the safer option.


-- 
Stephan Wiesand
DESY -DV-
Platanenenallee 6
15738 Zeuthen, Germany


Re: Sharing iscsi luns between sl5.x and sl6.x

2011-09-23 Thread carlopmart

On 09/23/2011 12:54 PM, Stephan Wiesand wrote:

On Sep 23, 2011, at 11:17, carlopmart wrote:


Due to a certain app requeriments, I need to share an iscsi lun between two 
sl5.x and five sl6.x servers. This lun is formatted with ext4 fileysytem (I 
have used one of the sl5.x servers to do this).


You mean you want to mount the filesystem on both servers at the same time?


No. Only one of these servers mounts this filesystem.




Can I expect some type of problems ???


Oh yes... :-)


It should be.


--
CL Martinez
carlopmart {at} gmail {d0t} com


Re: Sharing iscsi luns between sl5.x and sl6.x

2011-09-23 Thread Stephan Wiesand
On Sep 23, 2011, at 11:17, carlopmart wrote:

> Due to a certain app requeriments, I need to share an iscsi lun between two 
> sl5.x and five sl6.x servers. This lun is formatted with ext4 fileysytem (I 
> have used one of the sl5.x servers to do this).

You mean you want to mount the filesystem on both servers at the same time?

> Can I expect some type of problems ???

Oh yes... :-)


-- 
Stephan Wiesand
DESY -DV-
Platanenallee 6
15738 Zeuthen, Germany


Sharing iscsi luns between sl5.x and sl6.x

2011-09-23 Thread carlopmart

Hi all,

 Due to a certain app requeriments, I need to share an iscsi lun 
between two sl5.x and five sl6.x servers. This lun is formatted with 
ext4 fileysytem (I have used one of the sl5.x servers to do this). Can I 
expect some type of problems ???


Thanks.
--
CL Martinez
carlopmart {at} gmail {d0t} com


Re: Does KVM have a Guest Additions?

2011-09-23 Thread Stephan Wiesand
Hi,

On Sep 23, 2011, at 00:30 , Todd And Margo Chester wrote:

> I am migrating from Virtual Box on my old server (CentOS 5.6 x32) to KVM on
> my new server (SL6.1 x64).
> 
> Virtual box has a collection of drivers to assist the guest called
> "Guest Additions".  These drives give you shared clipboard
> and shared mouse, among other things.
> 
> Question: does KVM have a similar package of guest drivers?
> I am specifically looking for mouse sharing and shared clipboard.
> I am not sure if I need a special video driver as well.

eventually, SPICE will be what you're looking for. See 
http://www.spice-space.org/features.html .

Some of the components come with SL, some can be downloaded elsewhere. But 
right now, it's probably not quite finished and hard to get going.

> Many thanks,
> -T
> 
> p.s. be really cool if all that stuff were built in

6.2 may have some improvements in that area.

Regards,
Stephan

-- 
Stephan Wiesand
DESY -DV-
Platanenenallee 6
15738 Zeuthen, Germany