qemu-devel
[Top][All Lists]
Advanced

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

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


From: Corey Minyard
Subject: Re: [Qemu-devel] Add an IPMI device to qemu
Date: Fri, 24 Apr 2015 19:28:17 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 04/24/2015 04:57 PM, Noel Burton-Krahn wrote:
> 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?
>

That program is for handling the LAN configuration commands over IPMI. 
If you don't want to be able to control your host's LAN configuration
over IPMI, you can just ignore this and not have one.

If you do want that, it will take some digging, it's not well documented.

-corey

>
> 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.
>
> --
> Noel
>
>
>
>
> On Thu, Apr 23, 2015 at 2:42 PM, Corey Minyard <address@hidden
> <mailto: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.
>
>     -corey
>
>     -corey
>
>




reply via email to

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