Re: [CentOS-virt] Setting up a pci passthrough device

2012-02-04 Thread Nenad Opsenica


On 02/03/2012 05:32 PM, James B. Byrne wrote:
 Where does this go inside the rest of the guest
 configuration?

virt-manager GUI places PCI device pass-through inside devices ... 
/devices:

devices
emulator/usr/libexec/qemu-kvm/emulator
disk type='file' device='cdrom'
driver name='qemu' type='raw' io='threads'/
target dev='hdc' bus='ide'/
readonly/
address type='drive' controller='0' bus='1' unit='0'/
/disk
disk type='block' device='disk'
driver name='qemu' type='raw' cache='none'/
source dev='/dev/storage/win7'/
target dev='hda' bus='ide'/
address type='drive' controller='0' bus='0' unit='0'/
/disk
controller type='ide' index='0'
address type='pci' domain='0x' bus='0x00' slot='0x01' function='0x1'/
/controller
interface type='network'
mac address='52:54:fe:ab:28:c0'/
source network='default'/
address type='pci' domain='0x' bus='0x00' slot='0x03' function='0x0'/
/interface
serial type='pty'
target port='0'/
/serial
console type='pty'
target type='serial' port='0'/
/console
input type='tablet' bus='usb'/
input type='mouse' bus='ps2'/
graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'/
sound model='ich6'
address type='pci' domain='0x' bus='0x00' slot='0x04' function='0x0'/
/sound
video
model type='vga' vram='9216' heads='1'/
address type='pci' domain='0x' bus='0x00' slot='0x02' function='0x0'/
/video
hostdev mode='subsystem' type='pci' managed='yes'
source
address domain='0x' bus='0x02' slot='0x00' function='0x0'/
/source
address type='pci' domain='0x' bus='0x00' slot='0x06' function='0x0'/
/hostdev
memballoon model='virtio'
address type='pci' domain='0x' bus='0x00' slot='0x05' function='0x0'/
/memballoon
/devices

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


Re: [CentOS-es] Problemas Impresora HP

2012-02-04 Thread Julio Martinez
Hola Sergio,
Si no tienes instalado aún, estos son los paqutes que deberías instalar para 
que una HP te corra en CentOS
hplip
hplip-common
hplip-gui
hplip-libs

Si quieres que tu Ubuntu pueda utlizarlo también tienes que instalar estos 
paquetes.

Saludos
Julio

--- On Thu, 2/2/12, Sergio Rebich s...@rcom.com.ar wrote:

From: Sergio Rebich s...@rcom.com.ar
Subject: [CentOS-es] Problemas Impresora HP
To: centos-es@centos.org
Date: Thursday, 2 February, 2012, 18:21

Buenas tardes gente, esta es mi primer consulta, pido disculpa sino cumplo
con algun requisito. Tengo una consulta para hacer, estoy intentando
agregar una impresora HP LaserJet P1505 en un Servidor Centos 5.7 para
compartirla con el resto de la red, la misma esta instalada e imprimiendo
localmente en un puesto de trabajo con Ubuntu. El error que da es
*/usr/lib/cups/filter/foomatic-rip-hplip
failed. *Alguno tubo el mismo problema?
Aclaro que al instalar el python-dbus me dice: que ya esta actualizado y en
su ultima version.

Aca les paso los resultados del hp-check. Gracias por todo y disculpa por
las molestias,

-
warning: python-dbus not installed.

HP Linux Imaging and Printing System (ver. 3.11.12)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2011-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before
compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the
proper
dependencies are installed to successfully compile
HPLIP.

2. Run-time check mode (-r or --run): Use this mode to determine if a
distro supplied package (.deb, .rpm, etc) or an already built HPLIP
supplied tarball
has the proper dependencies installed to successfully
run.

3. Both compile- and run-time check mode (-b or --both) (Default): This
mode will check both of the above cases (both compile- and run-time
dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...
-debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from 192.168.84.200 54402
debug1: channel 1: new [x11]
debug1: confirm x11
|debug1: client_input_channel_open: ctype x11 rchan 4 win 65536 max 16384
debug1: client_request_x11: request from 192.168.84.200 54403
debug1: channel 2: new [x11]
debug1: confirm x11
debug1: channel 2: FORCE input drain
debug1: channel 2: free: x11, nchannels 3

---
| SYSTEM INFO |
---

Basic system information:
Linux gride2 2.6.18-274.17.1.el5.centos.plus #1 SMP Wed Jan 11 10:58:19 EST
2012 i686 i686 i386 GNU/Linux

Distribution:
centos 5.7

Checking Python version...
OK, version 2.4.3 installed

Checking PyQt 4.x version...
error: NOT FOUND OR FAILED TO LOAD!

Checking for CUPS...
Status: el programa de planificación de tareas se está ejecutando
Version: 1.3.7
error_log is set to level: info

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.70.0



| COMPILE AND RUNTIME DEPENDENCIES |


note: To check for compile-time only dependencies, re-run hp-check with the
-c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r
parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP
functionality may not function properly.

Checking for dependency: CUPS devel- Common Unix Printing System
development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language
interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library
development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of
programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for
commandline scanning with hp-scan)...
OK, 

[CentOS] distributed storage/home-made cloud recommendations

2012-02-04 Thread Boris Epstein
Hello listmates,

This is not specifically CentOS-related - though I will probably execute
this design on CentOS if I decide to do so. It will certainly be some kind
of Linux.

At any rate, here's my situation. I would like to build a fairly large
storage solution (let us say, 100 TB). I want this solution to be
distributed and redundant. I want to be able to lose part of the machines
involved and still stay operational (the bigger part, the better). I would
prefer to avoid having to buy large servers to accomplish this task.

What I am soliciting here is thoughts, reports from experience,
recommendations, etc.

Thanks in advance.

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


Re: [CentOS] Building CentOS 6.2 custom install media

2012-02-04 Thread Daniel Drake
On Fri, Feb 3, 2012 at 11:54 AM, Karanbir Singh mail-li...@karan.org wrote:
 We only use that scripts included in the anaconda-runtime stack - I'm
 away to Fosdem this weekend ( are you guys around ? ) back in town on
 Monday, would love to help you guys make this transition.

 Essentially, the repo included on disk/in-media/in-mirror is a snapshot
 in time from the buildsys, with a bunch of tests run against it and an
 install image built around it. Depending on what you are trying to do
 and what the most desirable goal might be, I'll be happy to help build a
 process for that.

Thanks for the warm welcome and quick response! Have fun at FOSDEM,
unfortunately I don't think anyone from OLPC will be there.

I guess you're referring to the install DVD(s) here - which include
the entire contents of the mirror, makes sense.

In this case I think we want something more akin the minimal install
CD - a specific subset of the packages available, plus installer.
Could you point me towards the scripts used to build that?

To answer your question about the most desirable goal, I guess it is
something like this: we provide a kickstart file that lists the CentOS
repos and our own repo, with the base and core package groups
selected (plus our own packages listed too), and then we use a tool to
then download all the required packages (but no more), and compose
them onto an anaconda-based install CD.

I guess I have just described pungi there - and maybe that is our
answer. But I have yet to find a report of someone using pungi to
rebuild C6, and pungi is not included in RHEL/CentOS and isn't in EPEL
either. I'd welcome your input on the best way to achieve this.

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


Re: [CentOS] distributed storage/home-made cloud recommendations

2012-02-04 Thread nux
Boris Epstein writes:

 Hello listmates,
 
 This is not specifically CentOS-related - though I will probably execute
 this design on CentOS if I decide to do so. It will certainly be some kind
 of Linux.
 
 At any rate, here's my situation. I would like to build a fairly large
 storage solution (let us say, 100 TB). I want this solution to be
 distributed and redundant. I want to be able to lose part of the machines
 involved and still stay operational (the bigger part, the better). I would
 prefer to avoid having to buy large servers to accomplish this task.
 
 What I am soliciting here is thoughts, reports from experience,
 recommendations, etc.
 
 Thanks in advance.
 
 Boris.

Hello Boris,

I'm in a similar search for a scalable and resilient solution. So far I like 
glusterfs, relatively easy to setup, no meta-server required, decent 
performance, but I haven't tested it thoroughly. Been playing with their 
latest beta release in a raid0+1 setup; haven't managed to lose any data yet.

I'll also be interested in opinions from other people.

--
Nux!
www.nux.ro


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


Re: [CentOS] distributed storage/home-made cloud recommendations

2012-02-04 Thread Laurent Wandrebeck
Hi,

I'm happily running moosefs (packages available in rpmforge repo) for a
year and a half, 120TB, soon 200. So easy to setup and grow it's
indecent :)

Laurent.


pgpVVykG4B19E.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] distributed storage/home-made cloud recommendations

2012-02-04 Thread Boris Epstein


 Hello Boris,

 I'm in a similar search for a scalable and resilient solution. So far I
 like
 glusterfs, relatively easy to setup, no meta-server required, decent
 performance, but I haven't tested it thoroughly. Been playing with their
 latest beta release in a raid0+1 setup; haven't managed to lose any data
 yet.

 I'll also be interested in opinions from other people.

 --
 Nux!
 www.nux.ro


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



Nux,

Thanks for your response. I have looked into glusterfs and I like it too. I
just haven't found the hardware to try it on.

What is RAID0+1? The flat RAID with one parity disk?

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


Re: [CentOS] Building CentOS 6.2 custom install media

2012-02-04 Thread Les Mikesell
On Sat, Feb 4, 2012 at 10:28 AM, Daniel Drake d...@laptop.org wrote:
 
 To answer your question about the most desirable goal, I guess it is
 something like this: we provide a kickstart file that lists the CentOS
 repos and our own repo, with the base and core package groups
 selected (plus our own packages listed too), and then we use a tool to
 then download all the required packages (but no more), and compose
 them onto an anaconda-based install CD.

 I guess I have just described pungi there - and maybe that is our
 answer. But I have yet to find a report of someone using pungi to
 rebuild C6, and pungi is not included in RHEL/CentOS and isn't in EPEL
 either. I'd welcome your input on the best way to achieve this.

Would the revisor tool from Scientific Linux work to spin CentOS?
http://www.scientificlinux.org/distributions/6x/build/sites

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


Re: [CentOS] distributed storage/home-made cloud recommendations

2012-02-04 Thread Boris Epstein
On Sat, Feb 4, 2012 at 11:41 AM, Laurent Wandrebeck
l.wandreb...@gmail.comwrote:

 Hi,

 I'm happily running moosefs (packages available in rpmforge repo) for a
 year and a half, 120TB, soon 200. So easy to setup and grow it's
 indecent :)

 Laurent.

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


Hello Laurent,

Thanks! Very useful info, I never even heard of MooseFS and it sounds very
nice.

One question: what happens if you lose your master server in their
designation? Or is it possible to make the master server redundant as well?

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


Re: [CentOS] install detecting disk as sdb not sda

2012-02-04 Thread David G . Miller
wwp subscript@... writes:

 
 Hello Ross,
 
 On Fri, 3 Feb 2012 16:01:53 -0500 Ross Walker rswwalker@... wrote:
 
  On Feb 3, 2012, at 1:34 PM, wwp subscript@... wrote:
  
   Hello Jerry,
   
   
   On Fri, 03 Feb 2012 12:24:14 -0500 Jerry Geis geisj@... wrote:
   
   I am trying to install 6.2 on a machine.
snip
   Doing  dmesg | grep sda does say SCSI removable disk.
   
   So how can I tell linux to NOT include that when installing?
   
snip
  
  You can try disabling USB disk support in the bios.
 
 Right, but I can't make such settings permanent, as I need to boot from
 a USB disk from time to time, thus, entering BIOS and changing settings
 costs more than unplugging stuff .
 
 An aspect of the problem w/ that behaviour change introduced w/ recent
 kernel updates, is that some mount mapping tables (fstab for instance)
 are broken if they rely on mount order (sda, hda, etc.) instead of
 device ID or label.
 
 Regards,
 
This seems to be BIOS dependent.  I use an external USB hard disk as my portable
computer.  On my personal laptop the external drive shows up as /dev/sdb even if
I boot from the external.  If I recall correctly, it's /dev/sda on my work
laptop.  Doing mounts using UUIDs means everything just works regardless of
drive lettering.

Bottom line is play with the BIOS settings.  You may find a combination that
gets you the right drive letters and lets you boot from the USB when you need
to.  On the other hand, my personal laptop BIOS forgets about the boot from
external USB drive if I boot with the drive not present.  I have to go into the
BIOS and reset to boot from external the next time I try to use it.

Cheers,
Dave


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


Re: [CentOS] Double Copies Double Copies [SOLVED] itself

2012-02-04 Thread Ljubomir Ljubojevic
On 02/04/2012 07:06 AM, Darr247 wrote:
 On Saturday, February 04, 2012 @00:44 UTC,
 Ljubomir Ljubojevic spake thusly:

 As far as I can see, it looks like your Windows Mail client made a
 copy of those 4 mails. You can notice that duplicates do not have
 Account information (last/right column), so they look like ghosts,
 not belonging to any account.

 That's nice, but I just scrolled back up through 2 months of messages in here 
 and those were the only 4.

 What a coincidence they appeared just as Mark mentioned seeing some dupes.

 Why don't any of you tell Reindl to stop replying to the emails CC'd to him 
 and reply to the list instead, by the way?

Oh, I thought you were the OP. Wasn't looking, sorry.


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] a cloud VM under CentOS

2012-02-04 Thread Boris Epstein
Hello everyone,

Does anyone know if it is possible to construct a cloud of sorts out of
several CentOS machines so as to enable a VM (or several VM's) that would
run on top of that cloud and have failover capability?

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


Re: [CentOS] distributed storage/home-made cloud recommendations

2012-02-04 Thread nux
Boris Epstein writes:



 Hello Boris,

 I'm in a similar search for a scalable and resilient solution. So far I
 like
 glusterfs, relatively easy to setup, no meta-server required, decent
 performance, but I haven't tested it thoroughly. Been playing with their
 latest beta release in a raid0+1 setup; haven't managed to lose any data
 yet.

 I'll also be interested in opinions from other people.

 --
 Nux!
 www.nux.ro


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 
 
 Nux,
 
 Thanks for your response. I have looked into glusterfs and I like it too. I
 just haven't found the hardware to try it on.

I tested it on 4 VMs.. The performance was crap as expected, but wanted to 
see how it behaves when I suddenly remove a node from the setup and so on.
(it went well, the setup froze for a second but after that kept working at 
normal parameters)

 
 What is RAID0+1? The flat RAID with one parity disk?

No, I should've rephrased this, I meant the likes of raid10, of course, in 
Glusterfs speak. Basically I had 2 pairs of replicated nodes and files 
stripped across all this.
I even ran a VM on top of this VM based glusterfs setup.. not the speediest 
VM, but was usable. :-)


--
Nux!
www.nux.ro

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


Re: [CentOS] configure network bridge listing bridged intefaces

2012-02-04 Thread Ross Walker
On Feb 3, 2012, at 11:56 PM, Robert Spangler mli...@zoominternet.net wrote:

 On Friday 03 February 2012 09:10, the following was written:
 
 On 02/03/2012 08:07 AM, Mihamina Rakotomandimby wrote:
 Hi all,
 
 Having a 4 NIC server, I want to bridge eth2 and eth3, with a bridge
 named br0.
 
 Searching the web I only found about creating a file
 /etc/sysconfig/network-scripts/ifcfg-br0, but did not find where to
 explicitely list what ports will be bridged.
 
 Where is it configured?
 
 Thank you.
 
 All packets appear on both interfaces, unless you use ebtables/iptables to
 restrict them.
 
 Really?  Only hubs present packets to all interfaces.  Linux work as a router 
 not a hub.

It would be intetesting to know if the bridging in Linux is routed, switched or 
repeated.

It would be nice if it were switched, but I suspect it's repeated (like a hub).

-Ross

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


[CentOS] CentOS 6.2 New Kernel Issues

2012-02-04 Thread Jonathan Vomacka
CentOS 6.2 Community / Developers,

Are there any known issues with the latest Kernel on CentOS 6.2? I 
performed a yum update and the kernel downloaded. When the system 
rebooted I started having intermittent latency issues when trying to 
perform certain commands on the system such as top or ls -ltr, etc. I 
was having extreme latency getting to root. I am unsure if there is a 
hardware compat issue but I found my server in kernel PANIC mode the 
next day and was unable to login entirely. Has this been reported before?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] mysql won't start with service, but starts with mysqld_safe

2012-02-04 Thread Larry Martell
Just installed mysql on centos 6.2. When I try to start it with service I get:

#service mysqld start
MySQL Daemon failed to start.
Starting mysqld:   [FAILED]

Nothing at all is written to the error log.

But if I start it with mysqld_safe it comes up and works fine.

Anyone know what's going on here?

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


Re: [CentOS] configure network bridge listing bridged intefaces

2012-02-04 Thread Steve Clark
On 02/03/2012 11:56 PM, Robert Spangler wrote:
 On Friday 03 February 2012 09:10, the following was written:

   On 02/03/2012 08:07 AM, Mihamina Rakotomandimby wrote:
 Hi all,
   
 Having a 4 NIC server, I want to bridge eth2 and eth3, with a bridge
 named br0.
   
 Searching the web I only found about creating a file
 /etc/sysconfig/network-scripts/ifcfg-br0, but did not find where to
 explicitely list what ports will be bridged.
   
 Where is it configured?
   
 Thank you.

   All packets appear on both interfaces, unless you use ebtables/iptables to
 restrict them.
 Really?  Only hubs present packets to all interfaces.  Linux work as a router
 not a hub.

A network bridge connects multiple network segments at the data link layer 
(Layer 2) of the OSI model. In Ethernet networks, the term bridge formally 
means a device that behaves according to the IEEE 802.1D standard. A bridge and 
a switch are very much alike; a switch being a bridge with numerous ports. 
Switch or Layer 2 switch is often used interchangeably with bridge.


-- 
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] a cloud VM under CentOS

2012-02-04 Thread Digimer
On 02/04/2012 06:15 PM, Boris Epstein wrote:
 Hello everyone,
 
 Does anyone know if it is possible to construct a cloud of sorts out of
 several CentOS machines so as to enable a VM (or several VM's) that would
 run on top of that cloud and have failover capability?
 
 Boris.

I suppose this might fit your needs, on a small scale;

https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

-- 
Digimer
E-Mail:  digi...@alteeve.com
Papers and Projects: https://alteeve.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos