From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yllbg-0003Id-6E for qemu-devel@nongnu.org; Fri, 24 Apr 2015 17:57:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yllbc-0005XD-UK for qemu-devel@nongnu.org; Fri, 24 Apr 2015 17:57:56 -0400 Received: from mail-ig0-f181.google.com ([209.85.213.181]:35011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yllbc-0005Ww-OU for qemu-devel@nongnu.org; Fri, 24 Apr 2015 17:57:52 -0400 Received: by igbyr2 with SMTP id yr2so26054860igb.0 for ; Fri, 24 Apr 2015 14:57:51 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <55396736.2090500@acm.org> References: <553824D5.4050908@acm.org> <55396736.2090500@acm.org> Date: Fri, 24 Apr 2015 14:57:51 -0700 Message-ID: From: Noel Burton-Krahn Content-Type: multipart/alternative; boundary=001a1140f0f8d98a9d05147f7c5a Subject: Re: [Qemu-devel] Add an IPMI device to qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Corey Minyard Cc: qemu-devel@nongnu.org --001a1140f0f8d98a9d05147f7c5a Content-Type: text/plain; charset=UTF-8 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. -- Noel On Thu, Apr 23, 2015 at 2:42 PM, Corey Minyard 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 > --001a1140f0f8d98a9d05147f7c5a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, Corey.

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

=

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

con= troller =C2=A0 =C2=A0 =C2=A0 node1 =C2=A0 =C2=A0 =C2=A0node2 ...
IPMI =C2=A0eth0 ----- ipmi0 ----= ipmi0
DATA =C2=A0eth1= ----- eth0 ----- eth0=C2=A0

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

--
Noel




On Thu, Apr 23, 2015 at 2:42 PM, Cor= ey Minyard <minyard@acm.org> wrote:
On 04/22/2015 07:25 PM, Noel Burton-Krahn wrote:
> OK, I've build qemu and openipmi.=C2=A0 I'm simulating a syste= m where a
> central control node boots from USB, then uses IPMI to boot a cluster<= br> > of slave nodes and provisions them by tftpboot.=C2=A0 If I understand<= br> > correctly, I'll be running one ipmi_sim per slave node, and my con= trol
> node will tell that to boot a qemu instance for each slave.=C2=A0 Soun= ds
> 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.=C2=A0 Is that for configuring multiple ipmi > simulators in a single config file?
>

That is just for testing, really.=C2=A0 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.=C2=A0 Create an MC for each VM and set it up, and send the chass= is
management commands to the individual MC.=C2=A0 You can use the "-t&qu= ot; option
of ipmitool to set the particular MC you are addressing.

-corey

-corey

--001a1140f0f8d98a9d05147f7c5a--