Hi Kevin, Yeah, I know what you mean when you say very, very difficult. There is some kind of support for emulating IPMI. There are some -device and -chardev magic that I never understood. For basic testing it passes, but I couldn't connect to node with ipmi-tool.
Having physical machines is the best option here, of course, but hardware may be a scarce resource. Also virtualization enables a whole broad gamma of possibilities, like simulating failures, etc... Regards, On Fri, 2018-06-29 at 14:59 -0700, Kevin Keane wrote: > Using virtual machines to test IPMI-related things is supposed to be possible, > but very, very difficult. I tried to do the exact thing you are trying to > accomplish, but eventually gave up and got my hands on a few cheap physical > servers instead (discarded years-old servers should work just fine for this > purpose). The problem is that IPMI is a BIOS-level feature, and the BIOS qemu > normally provides is basically a standard workstation-type BIOS. OpenIPMI will > only give you the client side of IPMI. > > BTW, there are similar issues if you want to emulate UEFI or SecureBoot. > > You could try looking at this: https://github.com/Zexi/vbmc-qemu - no > guarantee that it will work, but I'd be interested in hearing about it if you > do get it to work! > > > > > _______________________________________________________________________ > Kevin Keane | Systems Architect | University of San Diego ITS | kkeane@sandieg > o.edu > Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859 > REMEMBER! No one from IT at USD will ever ask to confirm or supply your > password. > These messages are an attempt to steal your username and password. Please do > not reply to, click the links within, or open the attachments of these > messages. Delete them! > > On Fri, Jun 29, 2018 at 2:06 PM, Daniel Hilst Selli <dan...@versatushpc.com.br > > wrote: > > Hi everybody. > > > > I was wondering if is possible to customize node discovery. Was genesis made > > with customization in mind? > > > > Currently I'm using virtual machines to test things, but I can't get node > > discovery to work with it. From a production point of view it make sense > > since > > mgt node can contact kvm host and grab VM information without booting it. > > But I > > want to use this as a testing environment to mock a real cluster. There are > > a > > lot of commands that works transparently with real clusters or VMs. This > > make > > testing stuff so easy. Sadly this is not the case for nodediscover commands. > > > > The genesis image tries to configure IPMI, which is obviously not present in > > VMs. I was able to emulate IPMI with OpenIPMI and qemu so that node > > discovery > > completes. But I couldn't get IPMI commands working. The OpenIPMI > > documentation > > is really scarce, and I had to use long command line options that I haven't > > a > > clue about how they work. If I could change the script that runs on genesis > > I > > would be able to bypass IPMI setup and use discovery with VMs for testing > > purposes. > > > > Regards, > > > > ---------------------------------------------------------------------------- > > -- > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > xCAT-user mailing list > > xCAT-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xcat-user > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user