Re: [CentOS-docs] Add pool.ntp.org to TipsAndTricks/Server_Time

2010-03-01 Thread Geerd-Dietger Hoffmann
On 02/03/2010 02:12, Manuel Wolfshant wrote:
 Centos ships with

  server 0.centos.pool.ntp.org
  server 1.centos.pool.ntp.org
  server 2.centos.pool.ntp.org


I just want to add something that people know they can choose something 
different. Maybe we can just change the script to be 
0.centos.pool.ntp.org and promote CentOS a little ;)

-- 
Hoffmann Geerd-Dietger
http://contact.ribalba.de
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-announce] CESA-2010:0109 Moderate CentOS 5 i386 mysql Update

2010-03-01 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0109 Moderate

Upstream details at : http://rhn.redhat.com/errata/RHSA-2010-0109.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
37200089252dddfb4a98ed63c2d50cbc  mysql-5.0.77-4.el5_4.2.i386.rpm
bc12d83158cecdbd67370b187a4422db  mysql-bench-5.0.77-4.el5_4.2.i386.rpm
92123a9b03b1b46ada811bc9ad880cf2  mysql-devel-5.0.77-4.el5_4.2.i386.rpm
d17190eb584546cd6619212007f0a4b6  mysql-server-5.0.77-4.el5_4.2.i386.rpm
9995578eb7a594110e7acaadd60702c9  mysql-test-5.0.77-4.el5_4.2.i386.rpm

Source:
a4e45550d082ec47db11f4abb02359b5  mysql-5.0.77-4.el5_4.2.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net

___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2010:0109 Moderate CentOS 5 x86_64 mysql Update

2010-03-01 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0109 Moderate

Upstream details at : http://rhn.redhat.com/errata/RHSA-2010-0109.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
d3793de989c2bb288faf17fbe0b17131  mysql-5.0.77-4.el5_4.2.i386.rpm
8f2e404cb17cac0b712b73e9d5519487  mysql-5.0.77-4.el5_4.2.x86_64.rpm
0402f2b2fed77e2cb538194fba693494  mysql-bench-5.0.77-4.el5_4.2.x86_64.rpm
993ee197369a1c277e238d61b4ea03d6  mysql-devel-5.0.77-4.el5_4.2.i386.rpm
89246a1a1fd6b6bd85c58bed28576e50  mysql-devel-5.0.77-4.el5_4.2.x86_64.rpm
be976f972a100f1a1edf6e8cd490d9e6  mysql-server-5.0.77-4.el5_4.2.x86_64.rpm
e45474e49ff5d82c444bd9227459ef9d  mysql-test-5.0.77-4.el5_4.2.x86_64.rpm

Source:
a4e45550d082ec47db11f4abb02359b5  mysql-5.0.77-4.el5_4.2.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net

___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CEBA-2010:0120 CentOS 5 x86_64 coreutils Update

2010-03-01 Thread Karanbir Singh

CentOS Errata and Bugfix Advisory 2010:0120 

Upstream details at : http://rhn.redhat.com/errata/RHBA-2010-0120.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
1418e58a625b44e6c0e8fb138bf6eef1  coreutils-5.97-23.el5_4.2.x86_64.rpm

Source:
e9e6230d000ed3240098a70bee60766d  coreutils-5.97-23.el5_4.2.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net

___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2010:0122 Important CentOS 5 i386 sudo Update

2010-03-01 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0122 Important

Upstream details at : http://rhn.redhat.com/errata/RHSA-2010-0122.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
c760d9da66c8825fe94b0958c98be0ea  sudo-1.6.9p17-6.el5_4.i386.rpm

Source:
109d346f119c6a504c0638db5f38d820  sudo-1.6.9p17-6.el5_4.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net

___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2010:0122 Important CentOS 5 x86_64 sudo Update

2010-03-01 Thread Karanbir Singh

CentOS Errata and Security Advisory 2010:0122 Important

Upstream details at : http://rhn.redhat.com/errata/RHSA-2010-0122.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
5ec7cad7ac4c177f604adabf429244f5  sudo-1.6.9p17-6.el5_4.x86_64.rpm

Source:
109d346f119c6a504c0638db5f38d820  sudo-1.6.9p17-6.el5_4.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net

___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CEBA-2010:0123 CentOS 5 i386 openssh Update

2010-03-01 Thread Karanbir Singh

CentOS Errata and Bugfix Advisory 2010:0123 

Upstream details at : http://rhn.redhat.com/errata/RHBA-2010-0123.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
45a610f4ff79acfdccf940120e275725  openssh-4.3p2-36.el5_4.4.i386.rpm
974946f28f44aecee2055e465baf9b96  openssh-askpass-4.3p2-36.el5_4.4.i386.rpm
accbb30a910ac0e0acc31d4020844d4a  openssh-clients-4.3p2-36.el5_4.4.i386.rpm
ee013485c4b2054ee07051070271d174  openssh-server-4.3p2-36.el5_4.4.i386.rpm

Source:
cbed3dbf77367e05b8a36572a1b5da2d  openssh-4.3p2-36.el5_4.4.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net

___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CEBA-2010:0123 CentOS 5 x86_64 openssh Update

2010-03-01 Thread Karanbir Singh

CentOS Errata and Bugfix Advisory 2010:0123 

Upstream details at : http://rhn.redhat.com/errata/RHBA-2010-0123.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
b92c67022b35b3157d83d61d6005de52  openssh-4.3p2-36.el5_4.4.x86_64.rpm
beedfdff6acb05c267b0ed5865fe83b6  openssh-askpass-4.3p2-36.el5_4.4.x86_64.rpm
323bcbc172aaa184be6a09b74fbbf2f8  openssh-clients-4.3p2-36.el5_4.4.x86_64.rpm
233dd72de0be0ac455c00523e7ed218b  openssh-server-4.3p2-36.el5_4.4.x86_64.rpm

Source:
cbed3dbf77367e05b8a36572a1b5da2d  openssh-4.3p2-36.el5_4.4.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net

___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-virt] Introducing ConVirt 2.0

2010-03-01 Thread jd
Hi 
  
We are very pleased to introduce ConVirt 2.0 – the next major step up
in open source virtualization management. The ConVirt 2.0 generation
combines a flexible, open architecture,
the highest level of management capabilities, and the industry’s most
flexible pricing model.  Built on a brand-new, 3-tier architecture,
ConVirt 2.0 includes a highly interactive, web-based user interface,
a new data repository, advanced automation, enterprise scalability,
multi-user administration, a full suite of integration capabilities,
and much more.


http://www.convirture.com/blog/2010/announcements/introducing-convirt-2-0/

- ConVirt Team


  ___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] Thoughts on storage infrastructure for small scale HA virtual machine deployments

2010-03-01 Thread Dennis J.
Hi,
up until now I've always deployed VMs with their storage located directly 
on the host system but as the number of VMs grows and the hardware becomes 
more powerful and can handle more virtual machines I'm concerned about a 
failure of the host taking down too many VMs in one go.
As a result I'm now looking at moving to an infrastructure that uses shared 
storage instead so I can live-migrate VMs or restart them quickly on 
another host if the one they are running on dies.
The problem is that I'm not sure how to go about this bandwidth-wise.
What I'm aiming for as a starting point is a 3-4 host cluster with about 10 
VMs on each host and a 2 system DRBD based cluster as a redundant storage 
backend.
The question that bugs me is how I can get enough bandwidth between the 
hosts and the storage to provide the VMs with reasonable I/O performance.
If all the 40 VMs start copying files at the same time that would mean that 
the bandwidth share for each VM would be tiny.
Granted this is a worst case scenario and that's why I want to ask if 
someone in here has experience with such a setup, can give recommendations 
or comment on alternative setups? Would I maybe get away with 4 bonded gbit 
ethernet ports? Would I require fiber channel or 10gbit infrastructure?

Regards,
   Dennis

PS: The sheepdog project (http://www.osrg.net/sheepdog/) looks interesting 
in that regard but apparently still is far from production-ready.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Thoughts on storage infrastructure for small scale HA virtual machine deployments

2010-03-01 Thread Christopher G. Stach II
- Dennis J. denni...@conversis.de wrote:

 What I'm aiming for as a starting point is a 3-4 host cluster with
 about 10 VMs on each host and a 2 system DRBD based cluster as a
 redundant storage backend.

That's a good idea.

 The question that bugs me is how I can get enough bandwidth between the 
 hosts and the storage to provide the VMs with reasonable I/O
 performance.

You may also want to investigate whether or not a criss-cross replication setup 
 (1A-2a, 2B-1b) is worth the complexity to you. That will spread the load 
across two drbd hosts and give you approximately the same fault tolerance at a 
slightly higher risk. (This is assuming that risk-performance tradeoff is 
important enough to your project.)

 If all the 40 VMs start copying files at the same time that would mean
 that the bandwidth share for each VM would be tiny.

Would they? It's a possibility, and fun to think about, but what are the 
chances? You will usually run into this with backups, cron, and other scheduled 
[non-business load] tasks. These are far cheaper to fix with manually adjusting 
schedules than any other way, unless you are rolling in dough.

 Would I maybe get away with 4 bonded gbit ethernet ports? Would I
 require fiber channel or 10gbit infrastructure?

Fuck FC, unless you want to get some out of date, used, gently broken, or 
no-name stuff, or at least until FCoE comes out. (You're probably better off 
getting unmanaged IB switches and using iSER.)

Can't say if 10GbE would even be enough, but it's probably overkill. Just add 
up the PCI(-whatever) bus speeds of your hosts, benchmark your current load or 
realistically estimate what sort of 95th percentile loads you would have across 
the board, multiply by that percentage, and fudge that result for SLAs and 
whatnot. Maybe go ahead and do some FMEA and see if losing a host or two is 
going to peak the others over that bandwidth. If you find that 10GbE may be 
necessary, a lot of mobos and SuperMicro have a better price per port for DDR 
IB (maybe QDR now) and that may save you some money. Again, probably overkill. 
Check your math. :)

Definitely use bonding. Definitely make sure you aren't going to saturate the 
bus that card (or cards, if you are worried about losing an entire adapter) is 
plugged into. If you're paranoid, get switches that can do bonding across 
supervisors or across physical fixed configuration switches. If you can't 
afford those, you may want to opt for 2Nx2N bonding-bridging. That would limit 
you to probably two 4-1GbE cards per host, just for your SAN, but that's 
probably plenty. Don't waste your money on iSCSI adapters. Just get ones with 
TOEs.

-- 
Christopher G. Stach II
http://ldsys.net/~cgs/
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-es] Pregunta de copias de seguridad

2010-03-01 Thread victor santana
Disvish quizas? lo encuentro bastante sencillo y con soporte para conectarse
via ssh si fuera preciso...
http://www.dirvish.org/
Un how to bastante completito en:
http://wiki.edseek.com/howto:dirvish


El 27 de febrero de 2010 22:13, Raul Arboleda raularbol...@une.net.coescribió:

  Hola amigos tengo la siguiente inquietud, cuando he trabajado con
 servidores SCO usaba para generar copia de un servidor a otro algo asi:



 Shell Copiau



 Cd /u

 Find . | cpio –ov | rcmd equi_remoto “cd /u; cpio –imuc”



 Esto me genera una copia exacta del /u a la maquina remota en el directorio
 /u



 En Linux lo he estado haciendo cn scp pero cuando lo hago me pregunta
 contraseña, alguno sabe como obviar esto.



 Además he escuchado algo de bacula, me podrían decir si es bueno para
 copias o alguno usa algo mas confiable y sencillo.



 Saludos



 Raúl Eduardo Arboleda Zapata

 Ingeniero de Sistemas Unninca

 Cel +573 300 620 66 13

+573 312 288 90 86

 Medellín, Antioquia

 Colombia, S.A.



 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es




-- 

___
 REPARACIONONLINE
GARANTIA PARA SU PC

___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Pregunta de copias de seguridad

2010-03-01 Thread carlos restrepo
Bacula es excelente.

El 1 de marzo de 2010 05:57, victor santana
reparaciononl...@gmail.comescribió:

 Disvish quizas? lo encuentro bastante sencillo y con soporte para
 conectarse via ssh si fuera preciso...
 http://www.dirvish.org/
 Un how to bastante completito en:
 http://wiki.edseek.com/howto:dirvish


 El 27 de febrero de 2010 22:13, Raul Arboleda 
 raularbol...@une.net.coescribió:

  Hola amigos tengo la siguiente inquietud, cuando he trabajado con
 servidores SCO usaba para generar copia de un servidor a otro algo asi:



 Shell Copiau



 Cd /u

 Find . | cpio –ov | rcmd equi_remoto “cd /u; cpio –imuc”



 Esto me genera una copia exacta del /u a la maquina remota en el
 directorio /u



 En Linux lo he estado haciendo cn scp pero cuando lo hago me pregunta
 contraseña, alguno sabe como obviar esto.



 Además he escuchado algo de bacula, me podrían decir si es bueno para
 copias o alguno usa algo mas confiable y sencillo.



 Saludos



 Raúl Eduardo Arboleda Zapata

 Ingeniero de Sistemas Unninca

 Cel +573 300 620 66 13

+573 312 288 90 86

 Medellín, Antioquia

 Colombia, S.A.



 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es




 --

 ___
  REPARACIONONLINE
 GARANTIA PARA SU PC
 

 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es




-- 
Carlos Restrepo M.
Administrador de Sistemas
Profesional Linux LPI 101 - 102
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] LVM

2010-03-01 Thread Walvis AM
Hola amigos,
necesito conocer que tiene de malo el uso de LVM.

saludos

-- 
Ing. Walvis Acosta
Dpto. Técnico
IQ-Tech
Telef: (02) 2594943
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] LVM

2010-03-01 Thread wcervini
No creo que tenga algo de malo, al contrario, tiene mas beneficios que el 
particionado estándar
Enviado desde mi dispositivo movil BlackBerry® de Digitel.

-Original Message-
From: Walvis AM walvi...@gmail.com
Date: Mon, 1 Mar 2010 17:45:19 
To: centos-es@centos.org
Subject: [CentOS-es] LVM

___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es

___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] Backuppc-updates on CentOS

2010-03-01 Thread Sorin Srbu
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf
Of Les Mikesell
Sent: Friday, February 26, 2010 5:53 PM
To: centos@centos.org
Subject: Re: [CentOS] Backuppc-updates on CentOS

All repositories are hard to use with other repositories.  Yum doesn't
pay attention to repo tags, so all they do is help point out problems
after the fact.  I think it was a dumb decision for epel to not use tags
but it is worse that yum doesn't track where it got things. For packages
you haven't installed yet, 'yum info packagename' will show the
repository location(s).

As an example of things that go wrong, on one machine I have subversion
and viewvc from rpmforge (to get a version that is not ancient), but
epel's build number for viewvc is higher and the rpmforge/epel versions
land in different places and are incompatible.  So, with my usual
practice of leaving epel enabled during updates, I pick up epel's
newer-numbered package which overwrites some of the rpmforge version and
keeps some, leaving it very broken.  But fortunately it's a standalone
package and not to hard to fix by removing the one you don't want and
re-installing with the right combination of enablerepo= and disablerepo=
on the yum command line.  When this happens to things with a lot of
dependencies it is a real mess.

I think I get the general gist of it. Thanks all who put me on the right
path!
-- 
/Sorin



smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] emergency! linux kickstart pxe boot needed

2010-03-01 Thread Georghy
Benjamin Donnachie a écrit :
 On 28 Feb 2010, at 16:51, Alan McKay alan.mc...@gmail.com wrote:

   
 I'm at colocaiton in the middle of a big rebuild and it seems I have a
 faulty CD rom in the server that I need to put Centos on via
 Kickstart.
 

 Had a similar problem and easiest solution in the end was to buy a USB
 CD drive from local computer store.

 Good luck!

 Ben
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

   
Try to install CentOS via a Pendrive ;)

-- 
Cordialement, / Greetings,
Georghy FUSCO

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] emergency! linux kickstart pxe boot needed

2010-03-01 Thread Eero Volotinen
2010/3/1 Georghy fu...@wanagain.net:
 Benjamin Donnachie a écrit :
 On 28 Feb 2010, at 16:51, Alan McKay alan.mc...@gmail.com wrote:


 I'm at colocaiton in the middle of a big rebuild and it seems I have a
 faulty CD rom in the server that I need to put Centos on via
 Kickstart.


 Had a similar problem and easiest solution in the end was to buy a USB
 CD drive from local computer store.

 Good luck!

 Ben
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


 Try to install CentOS via a Pendrive ;)


Sounds like good solution:
https://projects.centos.org/trac/livecd/wiki/ImageFlash

Any experiences on this?

--
Eero
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] emergency! linux kickstart pxe boot needed

2010-03-01 Thread Georghy
Eero Volotinen a écrit :
 2010/3/1 Georghy fu...@wanagain.net:
   
 Benjamin Donnachie a écrit :
 
 On 28 Feb 2010, at 16:51, Alan McKay alan.mc...@gmail.com wrote:


   
 I'm at colocaiton in the middle of a big rebuild and it seems I have a
 faulty CD rom in the server that I need to put Centos on via
 Kickstart.

 
 Had a similar problem and easiest solution in the end was to buy a USB
 CD drive from local computer store.

 Good luck!

 Ben
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


   
 Try to install CentOS via a Pendrive ;)
 


 Sounds like good solution:
 https://projects.centos.org/trac/livecd/wiki/ImageFlash

 Any experiences on this?

 --
 Eero
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

   
I just created a custom USB key.
try something like this :
http://smorgasbork.com/linux/35-linux/59-building-a-custom-centos-5-kickstart-disc-part-2
but instead of creating a custom iso, create a directory in DATA 
partition named centos and put the original iso file in it

in ks.cfg :

harddrive --partition=sdb2 --dir=/centos

and in syslinux.cfg :

  append ks=hd:sdb2:/ks.cfg method=hd:sdb2:/centos initrd=initrd.img

hope that helps

-- 
Cordialement, / Greetings,
Georghy FUSCO

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] extras repository broken?

2010-03-01 Thread lhecking

 Been getting this for the past few days:

/etc/cron.daily/yum:

Not using downloaded repomd.xml because it is older than what we have:
  Current   : Fri Feb 26 18:03:06 2010
  Downloaded: Thu Nov  5 20:40:44 2009

Then I ran yum clean all ; yum -d0 check-update  and got

ftp://ftp.free.fr/mirrors/ftp.centos.org/5.4/extras/i386/repodata/primary.xml.gz:
 [Errno -1] Metadata file does not match checksum
Trying other mirror.
http://centos.mirror.connexeon.net/5.4/extras/i386/repodata/primary.xml.gz: 
[Errno -1] Metadata file does not match checksum
Trying other mirror.
http://centos.mirrors.skynet.be/pub/centos/5.4/extras/i386/repodata/primary.xml.gz:
 [Errno -1] Metadata file does not match checksum
Trying other mirror.
[repeat]

 Looks like there's a problem with the extras repo.

# find /var/cache/yum -name \*.xml|xargs ls -l
-rw-r--r-- 1 root root  951 Oct 19 21:25 /var/cache/yum/addons/repomd.xml
-rw-r--r-- 1 root root 2142 Oct  2 13:31 /var/cache/yum/base/repomd.xml
-rw-r--r-- 1 root root 1144 Nov  5 20:40 /var/cache/yum/extras/repomd.xml
-rw-r--r-- 1 root root 1095 Sep 28 05:17 /var/cache/yum/rpmforge/repomd.xml


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 4.8 - PHP Version 5.1.6 and SQLite

2010-03-01 Thread John Doe
From: Ron Young ronyo...@nc.rr.com
Alternatively, can someone point me to a reference that
shows actual examples of how to use PDO and SQLite?

http://tinyurl.com/yanb4o4 ^_^

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] multi-core performance

2010-03-01 Thread Pete Kay
Hi,

Does anyone know how to turn on TOE ( TCP offload engine )  and RSS (
Receive-Side Scaling)?

Thanks,
pete
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Python Script Issue

2010-03-01 Thread Benjamin Donnachie
On 28 February 2010 06:54, John R Pierce pie...@hogranch.com wrote:
 atexit.py should be part of the base python RPM in EL5

    # rpm -qf /usr/lib/python2.4/atexit.py
    python-2.4.3-27.el5

Did this get solved in the end?

Ben
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] puzzling md error ?

2010-03-01 Thread JohnS

On Sun, 2010-02-28 at 14:37 -0800, John R Pierce wrote:
 Clint Dilks wrote:
  SWAP inside LVM is fine in my experience.  Personally I consider this a 
  benign error and generally ignore it unless the mismatch count is very high
 
 And how do I know all these mirror data mismatches are Swap?  does not 
 each mismatch mean the mirrors disagree, which means one of them is 
 wrong.  Which one?  since they aren't timestamped or checksummed (like 
 vxvm, zfs do), I am playing 'data maybe'.As someone who adminstrates 
 database servers, i have a real problem with that.
 
 btw, this is centos 5.4+latest x86_64, its primarily running postgres, 
 and our inhouse java middleware apps.  and was going to be a oracle grid 
 operations server.


Then any reason to not run the PERC in the 2850?  Non of my DB machines
run SWAP period.  My thoughts on Linux swap is if I were to use it, it
can't keep up the sync pace, been there.

I realize I say no swap but with MS DesktopEngine and SQL-CEServer I use
swap.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] multi-core performance

2010-03-01 Thread Simon Billis
Pete Kay sent a missive on 2010-03-01:

 Hi,
 
 Does anyone know how to turn on TOE ( TCP offload engine )  and RSS (
 Receive-Side Scaling)?
 
 Thanks, pete ___ CentOS
 mailing list CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Hi Peter,

Check out
http://www.linuxfoundation.org/collaborate/workgroups/networking/toe to see
why it is not supported.

If you want to improve the performance of IP then this link may help
http://www.psc.edu/networking/projects/tcptune/

Rgds

Simon.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cron mystery

2010-03-01 Thread John Doe
From: Timothy Murphy gayle...@eircom.net
 The scripts in /etc/cron.d/ all run fine,
 but those in /etc/cron.hourly, etc, seem to be ignored.

Tried:
  printf #'!'/bin/bash\ntouch /tmp/cron.test\n  
/etc/cron.hourly/cront.test; chmod 755 /etc/cron.hourly/cront.test

Next hour:
  $ ll /tmp/cron.test
  -rw-r--r-- 1 root root 0 Mar  1 13:01 /tmp/cron.test

Did you run your script has the cron user...?
Do you have the following in your /etc/crontab?
  01 * * * * root run-parts /etc/cron.hourly

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Python Script Issue

2010-03-01 Thread Joseph L. Casale
Did this get solved in the end?

Ben

Nope:)
I started writing a Perl script to accomplish what I need yesterday.
Given I have zero experience with python, it was the easier solution
although I would have loved to stick with a provided solution in the
event I end up overlooking something.

Thanks for the effort none the less,
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Slightly OT: check creation of a group

2010-03-01 Thread Niki Kovacs
Hi,

I'm currently writing an install script for an application, and my 
already limited Bash skills are a bit rusty.

I want to check if a group exists, and if it doesn't, then create it.

Only thing I found is:

if [ grep medintux /etc/group ]; then
continue
else
groupadd medintux
fi

Apparently I can't seem to negate the test, e. g. something like

if !(grep medintux /etc/group)

Any suggestions for the correct syntax here ?

Thanks,

Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: check creation of a group

2010-03-01 Thread Ron Loftin

On Mon, 2010-03-01 at 17:03 +0100, Niki Kovacs wrote:
 Hi,
 
 I'm currently writing an install script for an application, and my 
 already limited Bash skills are a bit rusty.
 
 I want to check if a group exists, and if it doesn't, then create it.
 
 Only thing I found is:
 
 if [ grep medintux /etc/group ]; then
   continue
 else
   groupadd medintux
 fi
 
 Apparently I can't seem to negate the test, e. g. something like
 
 if !(grep medintux /etc/group)
 
 Any suggestions for the correct syntax here ?
 

Try this:

grep -q medintux /etc/group || groupadd medintux

 Thanks,
 
 Niki
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
-- 
Ron Loftin  relof...@twcny.rr.com

God, root, what is difference ?   Piter from UserFriendly

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: check creation of a group

2010-03-01 Thread Laurent Wandrebeck
2010/3/1 Niki Kovacs cont...@kikinovak.net:
 Hi,

 I'm currently writing an install script for an application, and my
 already limited Bash skills are a bit rusty.

 I want to check if a group exists, and if it doesn't, then create it.

 Only thing I found is:

 if [ grep medintux /etc/group ]; then
        continue
 else
        groupadd medintux
 fi

 Apparently I can't seem to negate the test, e. g. something like

 if !(grep medintux /etc/group)

 Any suggestions for the correct syntax here ?

 Thanks,

 Niki
Why don't you use groupadd -f ? It will not override the group if it
already exists, and shortens the code :)

Laurent
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] RE: Slightly OT: check creation of a group

2010-03-01 Thread Frank . Brodbeck
grep medintux /etc/group || groupadd medintux

or in a if operation:

if [[ ! grep medintux /etc/group ]]
then
groupadd medintux
fi

Regards,
Frank.

Niki Kovacs cont...@kikinovak.net  schrieb am 01.03.2010 17:03:46:

 Hi,
 
 I'm currently writing an install script for an application, and my 
 already limited Bash skills are a bit rusty.
 
 I want to check if a group exists, and if it doesn't, then create it.
 
 Only thing I found is:
 
 if [ grep medintux /etc/group ]; then
continue
 else
groupadd medintux
 fi
 
 Apparently I can't seem to negate the test, e. g. something like
 
 if !(grep medintux /etc/group)
 
 Any suggestions for the correct syntax here ?
 
 Thanks,
 
 Niki
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: check creation of a group

2010-03-01 Thread Geoff Galitz

 Apparently I can't seem to negate the test, e. g. something like
 
 if !(grep medintux /etc/group)
 
 Any suggestions for the correct syntax here ?



I'd do it like this:

grep medintux /etc/group
if [ $? != 0 ]; then
  echo Group not found
fi



-
Geoff Galitz
Blankenheim NRW, Germany
http://www.galitz.org/
http://german-way.com/blog/



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: check creation of a group

2010-03-01 Thread Kwan Lowe
On Mon, Mar 1, 2010 at 11:08 AM, Laurent Wandrebeck
l.wandreb...@gmail.com wrote:

 Niki
 Why don't you use groupadd -f ? It will not override the group if it
 already exists, and shortens the code :)


That gets my vote :)

I have seen code that creates a temp file then does a chgrp on the
file. If it fails then the group is created. If not, the existing
group was used. This was done to get around some differences between
SunOS and Linux and unknown state of LDAP/local auth.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: check creation of a group

2010-03-01 Thread Stephen Harris
On Mon, Mar 01, 2010 at 05:12:15PM +0100, Geoff Galitz wrote:

 I'd do it like this:
 
 grep medintux /etc/group
 if [ $? != 0 ]; then
   echo Group not found
 fi

Or allow for naming services (NIS, LDAP, whatever)

  if [ -z $(getent group medintux) ]
  then
groupadd 
  fi

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: check creation of a group

2010-03-01 Thread m . roth
Niki wrote:

 I'm currently writing an install script for an application, and my
 already limited Bash skills are a bit rusty.

 I want to check if a group exists, and if it doesn't, then create it.

 Only thing I found is:

 if [ grep medintux /etc/group ]; then
   continue
 else
   groupadd medintux
 fi

Why not
  if [ `grep -c medintux /etc/group` == 0 ]; then
 groupadd medintux
  fi

?

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] issues with 3rd party repos for centos

2010-03-01 Thread Robert P. J. Day

  i'm reading the lowdown on 3rd party repos with respect to centos
here:

  http://wiki.centos.org/AdditionalResources/Repositories

and i have a couple questions and observations.  first, the entry for
centosplus reads:

Popular packages from this repository include: postfix with database
support, a rebuilt kernel with additional drivers  filesystem
support, php5 and mysql5.

however, i popped over to the centosplus packages site:

  http://mirror.centos.org/centos-5/5.4/centosplus/

and checked under x86_64, but i don't see any php or mysql packages.
am i misreading something?

  next, regarding remi collet's repo:

Has been recommended on the mailing list and forum for mysql 5.1 and
php5.2.9.

however, if you check over there (say, under x86_64):

http://rpms.famillecollet.com/enterprise/5/remi/x86_64/repoview/development.languages.group.html

remi appears to already be up to php 5.3.1 (and even 5.3.2 under the
test link), so the centos wiki page is a bit out of date.

  finally, all i want is to install PHP 5.3.x (and, obviously,
dependent packages) on a stock centos 5.4 system.  is remi collet's
repo a good choice for that?  the centos wiki recommends extreme
caution for that repo, which makes me nervous.

  more to the point, are there any serious issues involving bumping up
php to 5.3.1 on a stock centos 5.4 system while leaving everything
else where it is?

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SOLVED - Shutdown/poweroff does not power off machine

2010-03-01 Thread ken
On 02/28/2010 05:25 PM Michael Klinosky wrote:
 Eero Volotinen wrote:
 On 1/4/10 10:57 PM, Scot P. Floess wrote:
 ...  When I had Fedora 11 and 12 on
 it, I could issue a poweroff command and the machine would power itself off.
 However, under CentOS it doesn't turn the machine off whatsoever.  When it
 completes, the machine is still running with a message of system halted.
 Then I have to physically hit the power button to turn it off...  I
 believe at some point I did try to issue a shutdown command - but had the
 same results...

 
 No, I'm not the OP. But, I found a solution for my system.
 
 During boot, I noticed an error line --
 BIOS fails cutoff age - ACPI might not work. Use acpi=force to fix.
 
 So I did; the machine now actually turns off after shutdown.

Great work, Michael!  Where did you insert/type in acpi=force?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] issues with 3rd party repos for centos

2010-03-01 Thread Akemi Yagi
On Mon, Mar 1, 2010 at 8:54 AM, Robert P. J. Day rpj...@crashcourse.ca wrote:

  http://wiki.centos.org/AdditionalResources/Repositories

 and i have a couple questions and observations.  first, the entry for
 centosplus reads:

 Popular packages from this repository include: postfix with database
 support, a rebuilt kernel with additional drivers  filesystem
 support, php5 and mysql5.

 however, i popped over to the centosplus packages site:

  http://mirror.centos.org/centos-5/5.4/centosplus/

 and checked under x86_64, but i don't see any php or mysql packages.
 am i misreading something?

The web page needed some update. The CentOS Web Stack has been
available for CentOS-4 only. I have amended the description.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] another small glitch regarding 3rd party repos -- samba sernet link broken

2010-03-01 Thread Robert P. J. Day

  (sorry, i'm not *trying* to be a pain, i am merely succeeding.)

once again, here:

  http://wiki.centos.org/AdditionalResources/Repositories

there's a reference to The SerNet Samba 3 Repository -- that link is
broken, the directory structure over at
http://ftp.sernet.de/pub/samba/ has changed somewhat.

  also, the current dirs over there go up to samba 3.4 but, as of
today, samba 3.5.0 is out:

  http://news.samba.org/releases/3.5.0/

i'm sure someone else will look into that. :-)

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How do I create a new menu category in GNOME ?

2010-03-01 Thread Niki Kovacs
Hi,

The title says it all. My GNOME desktop is in French, so here's what my 
standard Applications (same word in french) menu looks like :

Applications  Accessoires (Utilities)
   Bureautique (Office)
   Graphisme (Graphics)
   Internet (Internet)
   Son et vidéo (Sound and Video)

Now I'm currently installing a medical application (Medintux) which 
consists of several different modules, e. g. programs where each one 
does one thing. There are something like ten different modules, and I'd 
like to create a new category in my main menu, so I have :

Applications  Medintux  User Management
  Diagnostics
  X-Rays
  Scanner management
  Prescriptions
  ...

Something like that.

I'm already familiar with creating *.desktop files and putting them in 
/usr/share/applications and running update-desktop-database. But I can't 
seem to be able to create a new category. I found some probably related 
files in /usr/share/desktop-directories and tried to edit my custom 
medintux.directory file, but to no avail.

Anyone here familiar with the innards of GNOME desktop menus?

Cheers,

Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] issues with 3rd party repos for centos

2010-03-01 Thread Les Mikesell
On 3/1/2010 10:54 AM, Robert P. J. Day wrote:

next, regarding remi collet's repo:

 Has been recommended on the mailing list and forum for mysql 5.1 and
 php5.2.9.

 however, if you check over there (say, under x86_64):

 http://rpms.famillecollet.com/enterprise/5/remi/x86_64/repoview/development.languages.group.html

 remi appears to already be up to php 5.3.1 (and even 5.3.2 under the
 test link), so the centos wiki page is a bit out of date.

finally, all i want is to install PHP 5.3.x (and, obviously,
 dependent packages) on a stock centos 5.4 system.  is remi collet's
 repo a good choice for that?  the centos wiki recommends extreme
 caution for that repo, which makes me nervous.

I've run the ocsinventory-server from remi repo for a while, letting it 
pull in the msyql and php versions from there (and I think you also need 
epel enabled for additional dependencies).  It hasn't broken anything 
obvious.  I keep the repo disabled in the yum setup and explicitly 
enable it with enablerepo=remi on the command line when updating 
ocsinventory.

more to the point, are there any serious issues involving bumping up
 php to 5.3.1 on a stock centos 5.4 system while leaving everything
 else where it is?

That probably depends on what php-based apps you need to keep running. 
Nothing else should care - but you do have to pay attention to what 
other package updates might be pulled in when you do updates.  I usually 
do an update without remi enabled first, then with, and look over the 
list that it plans to install before accepting it.

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How do I create a new menu category in GNOME ?

2010-03-01 Thread JohnS

On Mon, 2010-03-01 at 18:50 +0100, Niki Kovacs wrote:
 Hi,
 
 The title says it all. My GNOME desktop is in French, so here's what my 
 standard Applications (same word in french) menu looks like :
 
 Applications  Accessoires (Utilities)
Bureautique (Office)
Graphisme (Graphics)
Internet (Internet)
Son et vidéo (Sound and Video)
 
 Now I'm currently installing a medical application (Medintux) which 
 consists of several different modules, e. g. programs where each one 
 does one thing. There are something like ten different modules, and I'd 
 like to create a new category in my main menu, so I have :
 
 Applications  Medintux  User Management
   Diagnostics
   X-Rays
   Scanner management
   Prescriptions
   ...
 
 Something like that.
 
 I'm already familiar with creating *.desktop files and putting them in 
 /usr/share/applications and running update-desktop-database. But I can't 
 seem to be able to create a new category. I found some probably related 
 files in /usr/share/desktop-directories and tried to edit my custom 
 medintux.directory file, but to no avail.
 
 Anyone here familiar with the innards of GNOME desktop menus?
---
That should be the right way /usr/share/apps  then update it...

I think your problem is you need to Crtl-Alt-Backspace   as in restart
X.

By the wa how you like the app?

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] issues with 3rd party repos for centos

2010-03-01 Thread Kai Schaetzl
Robert P. J. Day wrote on Mon, 1 Mar 2010 11:54:53 -0500 (EST):

 finally, all i want is to install PHP 5.3.x (and, obviously,
 dependent packages) on a stock centos 5.4 system.  is remi collet's
 repo a good choice for that?  the centos wiki recommends extreme
 caution for that repo, which makes me nervous.

I recommend the repo *if* you want to go to 5.3.x. Normal precautions 
(like using priorities or not having it enabled by default) apply 
nevertheless.

 
   more to the point, are there any serious issues involving bumping up
 php to 5.3.1 on a stock centos 5.4 system while leaving everything
 else where it is?

Yes, some PHP software may not run anymore. I think this should be 
obvious.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How do I create a new menu category in GNOME ?

2010-03-01 Thread Niki Kovacs
JohnS a écrit :

 ---
 That should be the right way /usr/share/apps  then update it...

1) *What* should be the right way ?

2) then update it... update what ?

Sorry, but this wasn't very helpful.

I want to create a new *main* menu category Applications  Medintux. 
Just how should I go about that? Please be less elliptic.

Niki

PS: /usr/share/apps != /usr/share/applications... did you mean that? But 
then, what to do with it?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Inquery: popular upload tools for customer codes in use

2010-03-01 Thread Robinson Tiemuqinke
Hi all,

 I've had a project to upload customer codes and some data to members inside 
a webfarm, the upload work will be done almost daily for quite a while. 
Customer needs the upload status be confirmed everytime and data will be 
verified later easily when in need.

 Is there one or more popular tools available for this purposes? open source is 
preferred, but commercial ones are fine too as long as price is aceeptable.

 Thanks.

--Robinson


  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] issues with 3rd party repos for centos

2010-03-01 Thread Robert Heller
At Mon, 1 Mar 2010 11:54:53 -0500 (EST) CentOS mailing list centos@centos.org 
wrote:

 
 
   i'm reading the lowdown on 3rd party repos with respect to centos
 here:
 
   http://wiki.centos.org/AdditionalResources/Repositories
 
 and i have a couple questions and observations.  first, the entry for
 centosplus reads:
 
 Popular packages from this repository include: postfix with database
 support, a rebuilt kernel with additional drivers  filesystem
 support, php5 and mysql5.
 
 however, i popped over to the centosplus packages site:
 
   http://mirror.centos.org/centos-5/5.4/centosplus/
 
 and checked under x86_64, but i don't see any php or mysql packages.
 am i misreading something?

CentOS 4.x comes with php4 and mysql4 and CentOS 4.x/centosplus
includes php5 (5.1.6) and mysql5 (5.0.82sp1).  CentOS 5.x comes with
php5 (5.1.6) and mysql5 (5.0.77)...  CentOS 4.x is still alive and well
and will be for a few more years. 
http://wiki.centos.org/AdditionalResources/Repositories; is not
version specific -- it covers all the currently supported versions.

 
   next, regarding remi collet's repo:
 
 Has been recommended on the mailing list and forum for mysql 5.1 and
 php5.2.9.
 
 however, if you check over there (say, under x86_64):
 
 http://rpms.famillecollet.com/enterprise/5/remi/x86_64/repoview/development.languages.group.html
 
 remi appears to already be up to php 5.3.1 (and even 5.3.2 under the
 test link), so the centos wiki page is a bit out of date.
 
   finally, all i want is to install PHP 5.3.x (and, obviously,
 dependent packages) on a stock centos 5.4 system.  is remi collet's
 repo a good choice for that?  the centos wiki recommends extreme
 caution for that repo, which makes me nervous.
 
   more to the point, are there any serious issues involving bumping up
 php to 5.3.1 on a stock centos 5.4 system while leaving everything
 else where it is?
 
 rday
 --
 
 
 Robert P. J. Day   Waterloo, Ontario, CANADA
 
 Linux Consulting, Training and Kernel Pedantry.
 
 Web page:  http://crashcourse.ca
 Twitter:   http://twitter.com/rpjday
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Success moving Xen LVMs from 32 to 64bit host

2010-03-01 Thread Kwan Lowe
Just wanted to share some success I had moving some Xen guests from
one server to another.

Problem Recap
We had Xen host on a single core 32-bit CentOS 5.4 installation on an
AMD Athlon 2.1 GhZ system that was giving hard drive errors and needed
to move the LVM-backed Xen images to another server. The replacement
server was a quad-core AMD Phenom system running 64-bit CentOS 5.4.

Our original plan was to use LVM snapshots so that we wouldn't need a
maintenance window. This worked fine in test, but we decided to bring
down the Xen guests after all.  After shutting down the systems we
backed up the LVMs.

To show the backing LV:
lvdisplay /dev/rootvg/xm_c32_001

From this, we grabbed the Current LE field and LV Size. We used LV
Size to create a temporary mount point. We used the Current LE
parameter to create an identically sized LV on the replacement server
.

On the failing server:
dd if=/dev/rootvg/xm_c32_001 of=/mnt/backup/xm_c32_001.out

We gzip'ed the resulting .out file and saved it as a backup.

+++Footnote
BTW, there are many recommendations to do the following on the virtual machine:
   dd if=/dev/zero bs=1024 count= of=/partition.out
   rm partition.out

By creating the large empty file on each partition  *in the guest
istance* (/var, /, /home, etc.), it will improve the image
compression.  Space was not much of a concern and we were worried
about blowing out a production system, so we opted not to do this.
+++Footnote

Once the backing LVM was created, we created the LV on the replacement server:
lvcreate -l xxx -n xm_c32_001 rootvg


Then used dd to recreate the file:
dd if=xm_c32_001.out of=/dev/rootvg/xm_c32_001

Next, we copied the /etc/xen/xm_c32_001 configuration file to the
replacement server.  We generated a new UUID using the uuidgen
utility. We also created a new MAC address.  Finally, we started the
instance:

xm create xm_c32_001

Everything came up, but no network.  From the root console we logged
in then edited the /etc/sysconfig/network-scripts/ifcfg-eth0.  Xen had
apparently renamed the script and put in a DHCP configuration. We just
renamed the backup file and commented out the MAC address line and
restarted networking, *and* ifdown eth0 then ifup eth0.

It took a few seconds for the network to properly discover the new MAC
address. Once that was done, everything worked beautifully.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How do I create a new menu category in GNOME ?

2010-03-01 Thread JohnS

On Mon, 2010-03-01 at 19:47 +0100, Niki Kovacs wrote:
 JohnS a écrit :
 
  ---
  That should be the right way /usr/share/apps  then update it...
 
 1) *What* should be the right way ?
 
 2) then update it... update what ?
 
 Sorry, but this wasn't very helpful.
 
 I want to create a new *main* menu category Applications  Medintux. 
 Just how should I go about that? Please be less elliptic.
 
--
1. Ok what I said was you are on the right way to doing it

2. Heres the easy way.
Right Click on the Applications Menu Click on Edit Menus.  I think you
can figure the rest out it's pretty easy.

OK manually you can put the *.desktop entry into /YourHomeDir/.gnome
or /home/.kde

Thankfully I had to learn the hard way.  You get the easy way.  Took me
a whole afternoon to figure it out.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] multi-core performance

2010-03-01 Thread Clint Dilks
On 02/03/10 00:41, Pete Kay wrote:
 Hi,

 Does anyone know how to turn on TOE ( TCP offload engine )  and RSS (
 Receive-Side Scaling)?

 Thanks,
 pete
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Hi open source Linux drivers generally  don't support TOE.  As for RSS I 
have no idea sorry.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] puzzling md error ?

2010-03-01 Thread John R Pierce
JohnS wrote:
 Then any reason to not run the PERC in the 2850?  Non of my DB machines
 run SWAP period.  My thoughts on Linux swap is if I were to use it, it
 can't keep up the sync pace, been there.

   

these 2850 have only JBOD SCSI.  PERC was an option, i didn't buy these, 
I inherited them.

 I realize I say no swap but with MS DesktopEngine and SQL-CEServer I use
 swap.
   

The oracle installer complains if you don't have swap = main memory.   
I realize I can choose to ignore that.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How do I create a new menu category in GNOME ?

2010-03-01 Thread Niki Kovacs
JohnS a écrit :

 1. Ok what I said was you are on the right way to doing it
 
 2. Heres the easy way.
 Right Click on the Applications Menu Click on Edit Menus.  I think you
 can figure the rest out it's pretty easy.
 
 OK manually you can put the *.desktop entry into /YourHomeDir/.gnome
 or /home/.kde
 
 Thankfully I had to learn the hard way.  You get the easy way.  Took me
 a whole afternoon to figure it out.
 

That's on a per-user basis. I need the new menu entry for *all* users. 
Any idea how I could achieve that ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquery: popular upload tools for customer codes in use

2010-03-01 Thread Les Mikesell
On 3/1/2010 1:18 PM, Robinson Tiemuqinke wrote:
 Hi all,
 I've had a project to upload customer codes and some data to members
 inside a webfarm, the upload work will be done almost daily for quite a
 while. Customer needs the upload status be confirmed everytime and data
 will be verified later easily when in need.
 Is there one or more popular tools available for this purposes? open
 source is preferred, but commercial ones are fine too as long as price

Rsync over ssh is about as good as it gets for remotely updating files. 
  If they can assemble a tree that matches the directory structure, 
'rsync -av' will show a list of files that are different (and thus 
updated) and you can repeat it if you want - no output means the remote 
side is identical.

You'd probably really want to wrap this with a version control system 
like subversion to get history, logging, rollback capability, etc. so 
the changes would be made in one or more working copies, committed to 
the subversion repository, then updated in a staging copy (where you 
might do some tests and sanity checking) and then the staging copy would 
be pushed to the real servers with rsync.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How do I create a new menu category in GNOME ?

2010-03-01 Thread Frank Cox

On Mon, 2010-03-01 at 22:15 +0100, Niki Kovacs wrote:
 That's on a per-user basis. I need the new menu entry for *all*
 users. 
 Any idea how I could achieve that ?

Do the users already exist?  If not, put your custom setup
into /etc/skel.


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How do I create a new menu category in GNOME ?

2010-03-01 Thread JohnS

On Mon, 2010-03-01 at 15:30 -0600, Frank Cox wrote:
 On Mon, 2010-03-01 at 22:15 +0100, Niki Kovacs wrote:
  That's on a per-user basis. I need the new menu entry for *all*
  users. 
  Any idea how I could achieve that ?
 
 Do the users already exist?  If not, put your custom setup
 into /etc/skel.

No no No...

Here I found my link I used to do it amnually: It is for system wide...
http://wiki.matusov.sk/howto/gnome-menu-edit

This is what I went by to do it so I could include the files in my rpm
build, which took a whole afternoon about.  I would have given it to you
earlier but it took some backups to go through to find it.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] puzzling md error ?

2010-03-01 Thread JohnS

On Mon, 2010-03-01 at 13:02 -0800, John R Pierce wrote:
 JohnS wrote:
  Then any reason to not run the PERC in the 2850?  Non of my DB machines
  run SWAP period.  My thoughts on Linux swap is if I were to use it, it
  can't keep up the sync pace, been there.
 

 
 these 2850 have only JBOD SCSI.  PERC was an option, i didn't buy these, 
 I inherited them.
 
  I realize I say no swap but with MS DesktopEngine and SQL-CEServer I use
  swap.

 
 The oracle installer complains if you don't have swap = main memory.   
 I realize I can choose to ignore that.
---
And when I see Oracle I complain also..  :-)  God, have you priced
Oracle EHR App Stack?

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Moving hard drives

2010-03-01 Thread Slack-Moehrle
Hi All,

I have a server that is running nicely, except I have hit the maximum RAM (4gb) 
and I wish to add more.

It is an ASUS board, AMD X64 dual core, nvidia nic.

What I want going to move to is a dell board, Intel Pentium M dual code, which 
supports 8gb of RAM.

Can I just unplug the HD and move it to the new server and boot it up?

I assume that the NIC will need to be re-setup, but what other issues would 
there be?

I am not running X at all. Doing apache, zimbra, mysql.

Best,
-Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] UnRAID

2010-03-01 Thread Slack-Moehrle
has anyone heard of UnRaid at: http://lime-technology.com/

Seems interesting, runs from USB.

What I like is that you can add drives to your array without having to destroy 
it. And it lets you add any size drive that you want. You can mix, say 1tb and 
2tb drives.

What other ways can I do this without UnRAID? Its limitation is that you cant 
do anything else and I would want to run other things like apache, mysql, etc.

-Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquery: popular upload tools for customer codes in use

2010-03-01 Thread Robinson Tiemuqinke
On Monday, March 01, 2010 1:14 PMLes Mikesell Wrote
 Hi all,
 I've had a project to upload customer codes and some data to members 
 inside a webfarm, the upload work will be done almost daily for quite 
 a while. Customer needs the upload status be confirmed everytime and 
 data will be verified later easily when in need.
 Is there one or more popular tools available for this purposes? open 
 source is preferred, but commercial ones are fine too as long as price
 
Rsync over ssh is about as good as it gets for remotely updating files. 
  If they can assemble a tree that matches the directory structure, 'rsync 
-av' will show a list of files that are different (and thus
updated) and you can repeat it if you want - no output means the remote side 
is identical.
 
Rsync over ssh doesn’t works but a little cumbersome – customer’s servers’ data 
center are far away from development site and link between is slow. So better 
one to data center’s one and from the latter to all others in data center. This 
will work better but still could be improved. Since customer has some scripts 
to be reloaded after codes/data are synced.
 
You'd probably really want to wrap this with a version control system like 
subversion to get history, logging, rollback capability, etc. so 
 
Is there already an existing solution like this available, open source and 
commercial?
 
Thanks.
 
--Robinson


  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving hard drives

2010-03-01 Thread Kwan Lowe
On Mon, Mar 1, 2010 at 5:27 PM, Slack-Moehrle
mailingli...@mailnewsrss.com wrote:
 Hi All,

 I have a server that is running nicely, except I have hit the maximum RAM 
 (4gb) and I wish to add more.

 It is an ASUS board, AMD X64 dual core, nvidia nic.

 What I want going to move to is a dell board, Intel Pentium M dual code, 
 which supports 8gb of RAM.

 Can I just unplug the HD and move it to the new server and boot it up?

 I assume that the NIC will need to be re-setup, but what other issues would 
 there be?

 I am not running X at all. Doing apache, zimbra, mysql.


It usually works for me without much fuss. If you'd like to be certain
you can try doing a test installation on the new server. Once
installed, take a peek at the kernel parameters. If you see anything
markedly different, just add a stanza to the old system with the
parameters from the test installation before shutting it down.

You may also want to peek at any kernel modules that you load for
things like CPU scaling or other machine specific features.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving hard drives

2010-03-01 Thread JohnS

On Mon, 2010-03-01 at 14:27 -0800, Slack-Moehrle wrote:
 Hi All,
 
 I have a server that is running nicely, except I have hit the maximum RAM 
 (4gb) and I wish to add more.
 
 It is an ASUS board, AMD X64 dual core, nvidia nic.
 
 What I want going to move to is a dell board, Intel Pentium M dual code, 
 which supports 8gb of RAM.
Truth be known the Asus board is faster even with the less ram.  Are you sure 
the Asus board only supports 4GB and not 8GB?
 Can I just unplug the HD and move it to the new server and boot it up?

Gee I wish it were that easy. It's not MS Windows.
Kernel Panic Not Syncing
Hit Control-D for Maintenance
# mkinitrd
You may need the first install disc to boot linux rescue
It's not just as easy as another posted stated I promise. It can be
literal hell. Only about %30 of systems will JUST BOOT.  Those systems
are the ones that contain LIKE Board Components
Before hand I would DD the disk drive number one priority so if
something does go wrong you have a image backup.

 I assume that the NIC will need to be re-setup, but what other issues would 
 there be?
 
 I am not running X at all. Doing apache, zimbra, mysql.
How many users? Connections to it?

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquery: popular upload tools for customer codes in use

2010-03-01 Thread Les Mikesell
On 3/1/2010 4:31 PM, Robinson Tiemuqinke wrote:


  I've had a project to upload customer codes and some data to members

  inside a webfarm, the upload work will be done almost daily for quite

  a while. Customer needs the upload status be confirmed everytime and

  data will be verified later easily when in need.

  Is there one or more popular tools available for this purposes? open

  source is preferred, but commercial ones are fine too as long as price

Rsync over ssh is about as good as it gets for remotely updating files.

  If they can assemble a tree that matches the directory structure,
 'rsync -av' will show a list of files that are different (and thus

updated) and you can repeat it if you want - no output means the remote
 side is identical.

 Rsync over ssh doesn’t works but a little cumbersome – customer’s
 servers’ data center are far away from development site and link between
 is slow. So better one to data center’s one and from the latter to all
 others in data center. This will work better but still could be
 improved. Since customer has some scripts to be reloaded after
 codes/data are synced.

If ssh is set up for rsync, it is simple enough to add commands to run 
remotely in a script.

You'd probably really want to wrap this with a version control system
 like subversion to get history, logging, rollback capability, etc. so

 Is there already an existing solution like this available, open source
 and commercial?

There are a lot of things called 'content management systems' that are 
basically web sites with upload/management capability built in (joomla, 
drupal, alfresco, etc.).  They aren't likely to work unless you start 
over from scratch with them for the web site design.  If you already 
have the sites in place you are probably better off setting up a 
subversion repository and a staging site at the data center with the 
servers (perhaps even running on one of them) and let the customers 
commit the changes to the repository with subversion client tools and 
work out a script that checks out a revision they specify into the 
staging area, rsync's to the server locations, and ssh's the needed 
commands.  The operations should be relatively simple and as easy to 
manage in shell scripts as some dedicated framework.

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SOLVED - Shutdown/poweroff does not power off machine

2010-03-01 Thread Michael Klinosky
ken wrote:
 No, I'm not the OP. But, I found a solution for my system.

 During boot, I noticed an error line --
 BIOS fails cutoff age - ACPI might not work. Use acpi=force to fix.

 So I did; the machine now actually turns off after shutdown.
 
 Great work, Michael!  Where did you insert/type in acpi=force?

In /boot/grub/grub.conf, there is a line (there may be more) that begins 
with 'kernel' - put it at the end of that line.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving hard drives

2010-03-01 Thread John R Pierce
Slack-Moehrle wrote:
 Hi All,

 I have a server that is running nicely, except I have hit the maximum RAM 
 (4gb) and I wish to add more.

 It is an ASUS board, AMD X64 dual core, nvidia nic.

 What I want going to move to is a dell board, Intel Pentium M dual code, 
 which supports 8gb of RAM.
   

Pentium-M was a single core laptop chip about 4 years ago, that predated 
the Core family of CPUs...The current Pentium dual core chips are 
low end Celeron-style chips based on Core2Duo chips with smaller caches 
and disabled features..

Some potential places you get into trouble moving linux...

1) old architecture was x86_64, new CPU isn't.

2) old board and new board require different device names for the 
disk systems, so /etc/fstab has to be editted

3) new board requires different IO drivers in /boot/initrd-*.img






___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving hard drives

2010-03-01 Thread Robert Heller
At Mon, 1 Mar 2010 14:27:36 -0800 (PST) CentOS mailing list centos@centos.org 
wrote:

 
 Hi All,
 
 I have a server that is running nicely, except I have hit the maximum RAM 
 (4gb) and I wish to add more.
 
 It is an ASUS board, AMD X64 dual core, nvidia nic.
 
 What I want going to move to is a dell board, Intel Pentium M dual code, 
 which supports 8gb of RAM.
 
 Can I just unplug the HD and move it to the new server and boot it up?

What flavor of hard drive controller?  If generic IDE, yes.  If SCSI or
SATA (or 'fancy' IDE), only if the original and replacement use the
same driver module (if a PCI SCSI card, move the SCSI controller with the
disks).

If the controller is *different*, remake the initrd and add the proper
driver for the replacement board:

mkinitrd --with=mumble -f /boot/initrd-`uname -r`.img `uname -r`

mumble is the driver module for the new board's HD controler.

(Do this on the original system.)

You can use a livecd to determine that.

You *could* just do the transplant and then use the install CD (or a
live CD) in rescue mode to 'fix' the initrd.

 
 I assume that the NIC will need to be re-setup, but what other issues would 
 there be?

Hard drive controller if SCSI or SATA.

Oh, are the processors on the Dell board X64 capable?

 
 I am not running X at all. Doing apache, zimbra, mysql.
 
 Best,
 -Jason
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 


-- 
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software-- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
hel...@deepsoft.com   -- Contract Programming: C/C++, Tcl/Tk


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving hard drives

2010-03-01 Thread Kwan Lowe
On Mon, Mar 1, 2010 at 5:27 PM, Slack-Moehrle
mailingli...@mailnewsrss.com wrote:
 Hi All,

 I have a server that is running nicely, except I have hit the maximum RAM 
 (4gb) and I wish to add more.

 It is an ASUS board, AMD X64 dual core, nvidia nic.

 What I want going to move to is a dell board, Intel Pentium M dual code, 
 which supports 8gb of RAM.

 Can I just unplug the HD and move it to the new server and boot it up?

 I assume that the NIC will need to be re-setup, but what other issues would 
 there be?

 I am not running X at all. Doing apache, zimbra, mysql.

If you're worried, use a tool such as g4l to make an exact duplicate
of your system. You boot with the G4L disk then clone the HD to an
external HD or a network accessible share. Then boot the new with the
G4L disk then reimage the drive from the backup.

The ease with which this is done is all relative. Unlike MS Windows,
which can have lots of problems when moving to a new system, Linux
installations generally move quite easily.  In fact, the initrd on
CentOS contains many generic modules so at worst case it can often
fall back to a compatible module.  To inspect the initrd you can copy
the existing initrd.img to file such as foo.img.gz, gunzip, then use
cpio to extract the foo.img file. Once you do that you will see the
many modules that exist.

Going from ATA to SCSI or SATA will have some issues, generally with
fstab but that's to be expected.  Other than that, no real problems.

BTW, prior to reading your email I'd posted another message about
moving Xen systems from one system to another.  The Xen infrastructure
can hide a lot of the system specific internals so you may consider
virtualizing if you think this may be a regular occurence.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving hard drives

2010-03-01 Thread Slack-Moehrle

Kwan,

BTW, prior to reading your email I'd posted another message about
moving Xen systems from one system to another.  The Xen infrastructure
can hide a lot of the system specific internals so you may consider
virtualizing if you think this may be a regular occurence.

Very good point and I probably should be heading this route for sure.

Best,
-Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Perl 5.10 as default version of Perl

2010-03-01 Thread Arvind Chandra
Current release(5.4) comes with Perl 5.8 but I was wondering if next release 
has Perl 5.10 as default.
Thanks
Arvind


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Success moving Xen LVMs from 32 to 64bit host

2010-03-01 Thread henry ritzlmayr
 Next, we copied the /etc/xen/xm_c32_001 configuration file to the
 replacement server.  We generated a new UUID using the uuidgen
 utility. We also created a new MAC address.  Finally, we started the
 instance:

Since you moved your virtual machine, you wouldn´t have to create a new
UUID and no new MAC address. This is only required if you copy a virtual
machine and if you want both up at the same time.

 xm create xm_c32_001
 
 Everything came up, but no network.  From the root console we logged
 in then edited the /etc/sysconfig/network-scripts/ifcfg-eth0.  Xen had
 apparently renamed the script and put in a DHCP configuration. We just
 renamed the backup file and commented out the MAC address line and
 restarted networking, *and* ifdown eth0 then ifup eth0.

This is because you changed the MAC address. If you would have left it
at the original value, the network would have started right away with
the old config.

Henry




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos