[CentOS-virt] SR-IOV with Broadcom NIC??

2012-06-06 Thread David Knierim
Hi,
   We recently purchased some HP Gen8 servers with Broadcom BCM57810 NIC
controllers.   I am running CentOS 6.2 on these servers configured as KVM
hosts.

Has anyone gotten the Broadcom chips to run with SR-IOV on CentOS 6.2?
Any clues on how to get it working?

I see from the Broadcom glossy marketing docs that this chip supports
SR-IOV, but I cannot find a procedure for configuring it.  The Red Hat docs
show how to configure the Intel chips and the Emulex web site includes a
procedure to configure SR-IOV with their chips.  In both procedures, there
are vendor-specific steps.

It is also pretty obvious that appropriate drivers and firmware are
required, which I do not know if I have.

Any input would be most welcome.

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


[CentOS-virt] Send magic-sysrq from virtual serial console?

2011-07-28 Thread David Knierim
I am using CentOS 5.6 as a KVM host.   My guests are running CentOS
5.6 with the only console being a virtual serial console.  The guests
are configured so magic-sysreq can be used to debug kernel issues.


However, in order to send magic-sysrq from a serial port, I need to
send a break.   How does one send a break on the virtual console
serial port provided by KVM/libvirt to guests?

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


[CentOS-virt] How to send sysrq on "virsh console"

2011-01-27 Thread David Knierim
I have a KVM guest running on CentOS 5.5 that is in a bad state.   I
would like to dump the kernel information using magic-sysrq commands,
but I cannot figure out how to send a break on the virtaul serial port
provided by "virsh console".

The guest is a standard install that will respond if I can send a
break on the virtual serial port.

Is it possible to send a break on the virtual serial port?

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


[CentOS-virt] Best way to give guest promiscuous interface?

2010-10-29 Thread David Knierim
I am using CentOS 5.5 with KVM as a host and have a need for one guest
to be able to have promiscuous read access to one port on the physical
host (which is an HP BL460 G6 blade server with Intel 2 port 1Gb
ethernet mezzanine card.)

I initially tried to use PCI passthrough, but I was unable to get it
to work. I set everything up as documented in RHEL documentation
(http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/chap-Virtualization-PCI_passthrough.html,
but I got the following error message:
# virsh start c7e1b6_g1
error: Failed to start domain c7e1b6_g1
error: this function is not supported by the hypervisor: Device
:0b:00.0 is behind a switch lacking ACS and cannot be assigned


Does anyone have PCI passthrough working on a BL460 G6 with CentOS 5.5?

I then tried to connect the guest to a bridge.  This worked once I did
a "brctl setageingtime 0" on the bridge.
However, I don't know the best way to make this change persistent.
Any suggestions?

Is there a better way to do this?

Thanks for any input,
   David
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] Anyone booting CentOS 5.5 KVM host from flash?

2010-09-01 Thread David Knierim
I am investigating building a live CD image to be used as  KVM host
and then putting that image on a USB key (to end up with a environment
similar to ESXi).   I see tools in in Fedora for both tasks, but I
have not seen them in CentOS.

Before I blaze a path, I was wondering if anyone has done this before..

Thanks for any feedback,
   David
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] Recent version of open-vm-tools SRPM??

2010-01-22 Thread David Knierim
I want to create some rpms to install the open-vm-tools on my CentOS
5.4 servers.   I have not been able to find any srpms that are of
recent vintage (The most recent I have found uses the version of
open-vm-tools released in Dec. 2008).

Before I spend a lot of time building a new srpm, I thought I would
ask if anyone has already done this...

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


Re: [CentOS-virt] Can I bridge a bonded and vlan tagged interface directly to a guest?

2009-08-03 Thread David Knierim
)
op_stop
;;

status)
show_status ${netdev} ${bridge}
;;

*)
    echo "Unknown command: ${1}" >&2
echo 'Valid commands are: start, stop, status' >&2
exit 1
esac

David


On Mon, Aug 3, 2009 at 3:17 AM, Coert Waagmeester  wrote:

>
> On Fri, 2009-07-31 at 11:08 -0400, David Knierim wrote:
> > I am running CentOS 5.3 x86_64 as my dom0 and CentOS 5.3 on my domU's.
> > On the dom0, I have two interfaces that are bonded and have tagged
> > VLANs.   I can get the networks to the domU's by creating a bridge for
> > each of the VLANS (bond0.3, bond0.4, etc).   On the domU, the
> > interfaces show up as eth0, eth1, etc.
> >
> > Is there a way to set up the network on the dom0 so my domU's see a
> > single interface with tagged VLAN support??
> >
> > Thanks!
> >David
> > ___
> > CentOS-virt mailing list
> > CentOS-virt@centos.org
> > http://lists.centos.org/mailman/listinfo/centos-virt
>
> Hello David,
>
> Sorry this is not an answer to your question, but how did you set up the
> bonds with xen?
>
> I tried doing the same, and did not win
>
>
> Regards,
>
> Coert
>
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt
>
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] Can I bridge a bonded and vlan tagged interface directly to a guest?

2009-07-31 Thread David Knierim
I am running CentOS 5.3 x86_64 as my dom0 and CentOS 5.3 on my domU's.   On
the dom0, I have two interfaces that are bonded and have tagged VLANs.   I
can get the networks to the domU's by creating a bridge for each of the
VLANS (bond0.3, bond0.4, etc).   On the domU, the interfaces show up as
eth0, eth1, etc.

Is there a way to set up the network on the dom0 so my domU's see a single
interface with tagged VLAN support??

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


Re: [CentOS-virt] How to pass messages from dom0 to domU??

2009-07-23 Thread David Knierim
Thanks for the feedback.
I as already planning to have a dedicated management network and had also
discussed the need for some network protocol to share state information.   I
now feel that using a network to share state information is the right
solution in our case.

While xenstore looks interesting, I am hesitant to implement anything that
is Xen specific at this time.   I want to be able to move to KVM or "the
next big thing" as simply as possible.

Thanks again,
   David


On Thu, Jul 23, 2009 at 4:53 AM, Christopher G. Stach II wrote:

> - "R P Herrold"  wrote:
>
> > The addition of a new private network segment seems like
> > overkill and needless additional fragility and complexity --
> > if one to one, use a remote syslog setup (viz., over UDP); if
> > one to many (domU), use a multicast sender and listeners.
> >
> > Run either on the existing network seqment shared by the domUs
> > and dom0 already.
>
> It's just RAM until you add a physical interface to the bridge, and then
> it's just Ethernet.  It would be difficult to argue that using either is
> fragile or complex.  Even compared against your suggestion, the only
> difference is isolation, the general rule for administrative networks.
>
> If the skill level involved is negative, perhaps if the person is coming
> from the Device Manager space, maybe the steps of adding a bridge, a vif
> entry for each VM, and configuring the interface within each VM is way too
> much to handle.  However, IIRC, virtual network bridges are one of the
> documented Xen use cases and are entry level stuff.  The cost and added risk
> thereof are next to zero.  Being that worried about fragility in your basic
> set of capabilities is silly, unless you have evidence to the contrary.
>
> If the messages are used to trigger things like shutdowns, scale back
> services, or be published in any way that could be dangerous (inadvertently
> notifying customers/competitors/attackers that your hardware sucks or what
> your system architecture looks like), you'll need to involve crypto unless
> you don't care if anyone inside shuts down your VMs.  syslogd would not help
> in this case, but at least SNMP could.
>
> --
> Christopher G. Stach II
>
>
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt
>
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] How to pass messages from dom0 to domU??

2009-07-22 Thread David Knierim
I apologize if this is a newbie question, but I have been unable to work out
how to do this.
I am adding code to my installation on dom0 (running CentOS 5.3) to monitor
for hardware faults.   If there is an issue, I want to propagate the status
to all of the domUs (running CentOS 4.x or CentOS 5) running on the host.

What are my options to do this??

Thanks!

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