[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Add an IPMI device to qemu

From: Noel Burton-Krahn
Subject: Re: [Qemu-devel] Add an IPMI device to qemu
Date: Fri, 24 Apr 2015 14:57:51 -0700

Thanks, Corey.

How does the lan_config_program in lan.conf work?  I couldn't find an example in the OpenIPMI-2.0.21 tarball.  Our central controller expects each node's ipmi module to dhcp for an address.  I'm trying to decide if I need to run dhcpc on the interface that ipmi_sim runs on.  Can I just bind ipmi_sim to an interface and let it dhcp for its address?  If not, how does it work with lan_config_program?

FYI, In our setup, we have two networks for ipmi and data.  One control node is connected to both networks and provides dhcp

controller       node1      node2 ...
IPMI  eth0 ----- ipmi0 ---- ipmi0
DATA  eth1 ----- eth0 ----- eth0 

I'm using veth pairs with one end in a bridge for the ipmi interfaces and tap devices for qemu simulating the nodes.


On Thu, Apr 23, 2015 at 2:42 PM, Corey Minyard <address@hidden> wrote:
On 04/22/2015 07:25 PM, Noel Burton-Krahn wrote:
> OK, I've build qemu and openipmi.  I'm simulating a system where a
> central control node boots from USB, then uses IPMI to boot a cluster
> of slave nodes and provisions them by tftpboot.  If I understand
> correctly, I'll be running one ipmi_sim per slave node, and my control
> node will tell that to boot a qemu instance for each slave.  Sounds
> good so far?

Yes, that is correct.

> The sample lan.conf has two sections started by set_working_mc 0x20
> and set_working_mc 0x30.  Is that for configuring multiple ipmi
> simulators in a single config file?

That is just for testing, really.  IPMI supports configurations with
multiple management controllers, say if you put a management controller
in a power supply that just managed that device.

However, you should be able to manage multiple VMs from a single IPMI
simulator.  Create an MC for each VM and set it up, and send the chassis
management commands to the individual MC.  You can use the "-t" option
of ipmitool to set the particular MC you are addressing.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]