* [Qemu-devel] Add an IPMI device to qemu @ 2015-04-22 21:30 Noel Burton-Krahn 2015-04-22 22:46 ` Corey Minyard 0 siblings, 1 reply; 7+ messages in thread From: Noel Burton-Krahn @ 2015-04-22 21:30 UTC (permalink / raw) To: Corey Minyard; +Cc: qemu-devel [-- Attachment #1: Type: text/plain, Size: 439 bytes --] Hi Corey, I saw your patches for getting IPMI into qemu, but they don't appear to be in the qemu git repo yet. Do you have a github branch I could cherry-pick to try them out? We've been looking at getting IPMI on VMs for a while. Thanks for your work! [1] [Qemu-devel] [PATCH 00/16] Add an IPMI device to qemu http://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg01990.html Cheers, -- Noel Burton-Krahn Piston Cloud Computing [-- Attachment #2: Type: text/html, Size: 693 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Add an IPMI device to qemu 2015-04-22 21:30 [Qemu-devel] Add an IPMI device to qemu Noel Burton-Krahn @ 2015-04-22 22:46 ` Corey Minyard 2015-04-22 23:26 ` Noel Burton-Krahn 0 siblings, 1 reply; 7+ messages in thread From: Corey Minyard @ 2015-04-22 22:46 UTC (permalink / raw) To: Noel Burton-Krahn; +Cc: qemu-devel Sure, it's available on https://github.com/cminyard/qemu.git, the stable-2.2-ipmi branch for now. I'm currently reworking these patches based upon feedback from the qemu maintainers. -corey On 04/22/2015 04:30 PM, Noel Burton-Krahn wrote: > Hi Corey, > > I saw your patches for getting IPMI into qemu, but they don't appear > to be in the qemu git repo yet. Do you have a github branch I could > cherry-pick to try them out? We've been looking at getting IPMI on > VMs for a while. Thanks for your work! > > [1] [Qemu-devel] [PATCH 00/16] Add an IPMI device to qemu > http://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg01990.html > > Cheers, > -- > Noel Burton-Krahn > Piston Cloud Computing > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Add an IPMI device to qemu 2015-04-22 22:46 ` Corey Minyard @ 2015-04-22 23:26 ` Noel Burton-Krahn 2015-04-23 0:25 ` Noel Burton-Krahn 0 siblings, 1 reply; 7+ messages in thread From: Noel Burton-Krahn @ 2015-04-22 23:26 UTC (permalink / raw) To: Corey Minyard; +Cc: qemu-devel [-- Attachment #1: Type: text/plain, Size: 875 bytes --] Thanks a lot, Corey. I'll check them out. On Wed, Apr 22, 2015 at 3:46 PM, Corey Minyard <minyard@acm.org> wrote: > Sure, it's available on https://github.com/cminyard/qemu.git, the > stable-2.2-ipmi branch for now. > > I'm currently reworking these patches based upon feedback from the qemu > maintainers. > > -corey > > On 04/22/2015 04:30 PM, Noel Burton-Krahn wrote: > > Hi Corey, > > > > I saw your patches for getting IPMI into qemu, but they don't appear > > to be in the qemu git repo yet. Do you have a github branch I could > > cherry-pick to try them out? We've been looking at getting IPMI on > > VMs for a while. Thanks for your work! > > > > [1] [Qemu-devel] [PATCH 00/16] Add an IPMI device to qemu > > http://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg01990.html > > > > Cheers, > > -- > > Noel Burton-Krahn > > Piston Cloud Computing > > > > [-- Attachment #2: Type: text/html, Size: 1584 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Add an IPMI device to qemu 2015-04-22 23:26 ` Noel Burton-Krahn @ 2015-04-23 0:25 ` Noel Burton-Krahn 2015-04-23 21:42 ` Corey Minyard 0 siblings, 1 reply; 7+ messages in thread From: Noel Burton-Krahn @ 2015-04-23 0:25 UTC (permalink / raw) To: Corey Minyard; +Cc: qemu-devel [-- Attachment #1: Type: text/plain, Size: 1558 bytes --] 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? 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? Thanks a lot for all your work. -- Noel On Wed, Apr 22, 2015 at 4:26 PM, Noel Burton-Krahn <noel@pistoncloud.com> wrote: > Thanks a lot, Corey. I'll check them out. > > On Wed, Apr 22, 2015 at 3:46 PM, Corey Minyard <minyard@acm.org> wrote: > >> Sure, it's available on https://github.com/cminyard/qemu.git, the >> stable-2.2-ipmi branch for now. >> >> I'm currently reworking these patches based upon feedback from the qemu >> maintainers. >> >> -corey >> >> On 04/22/2015 04:30 PM, Noel Burton-Krahn wrote: >> > Hi Corey, >> > >> > I saw your patches for getting IPMI into qemu, but they don't appear >> > to be in the qemu git repo yet. Do you have a github branch I could >> > cherry-pick to try them out? We've been looking at getting IPMI on >> > VMs for a while. Thanks for your work! >> > >> > [1] [Qemu-devel] [PATCH 00/16] Add an IPMI device to qemu >> > http://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg01990.html >> > >> > Cheers, >> > -- >> > Noel Burton-Krahn >> > Piston Cloud Computing >> > >> >> > [-- Attachment #2: Type: text/html, Size: 2650 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Add an IPMI device to qemu 2015-04-23 0:25 ` Noel Burton-Krahn @ 2015-04-23 21:42 ` Corey Minyard 2015-04-24 21:57 ` Noel Burton-Krahn 0 siblings, 1 reply; 7+ messages in thread From: Corey Minyard @ 2015-04-23 21:42 UTC (permalink / raw) To: Noel Burton-Krahn; +Cc: qemu-devel 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Add an IPMI device to qemu 2015-04-23 21:42 ` Corey Minyard @ 2015-04-24 21:57 ` Noel Burton-Krahn 2015-04-25 0:28 ` Corey Minyard 0 siblings, 1 reply; 7+ messages in thread From: Noel Burton-Krahn @ 2015-04-24 21:57 UTC (permalink / raw) To: Corey Minyard; +Cc: qemu-devel [-- Attachment #1: Type: text/plain, Size: 2002 bytes --] 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 <minyard@acm.org> 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 > [-- Attachment #2: Type: text/html, Size: 2959 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Add an IPMI device to qemu 2015-04-24 21:57 ` Noel Burton-Krahn @ 2015-04-25 0:28 ` Corey Minyard 0 siblings, 0 replies; 7+ messages in thread From: Corey Minyard @ 2015-04-25 0:28 UTC (permalink / raw) To: Noel Burton-Krahn; +Cc: qemu-devel 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 <minyard@acm.org > <mailto:minyard@acm.org>> 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 > > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-25 0:28 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-04-22 21:30 [Qemu-devel] Add an IPMI device to qemu Noel Burton-Krahn 2015-04-22 22:46 ` Corey Minyard 2015-04-22 23:26 ` Noel Burton-Krahn 2015-04-23 0:25 ` Noel Burton-Krahn 2015-04-23 21:42 ` Corey Minyard 2015-04-24 21:57 ` Noel Burton-Krahn 2015-04-25 0:28 ` Corey Minyard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).