hi Daniel,
 
which discovery method are you using? mtms-based or switch-based? The invalid ipmi commands in dodiscovery will break the mtms-based discovery and the task like `bmcsetup` defined in the chain attribute.
 
For switch-based discovery, the mandatory information is the mac address, which does not rely on the formation obtained by ipmi, the nodes can be successfully discovered while lacking some extra information expect to be gathered by ipmi.
 
We did some work to leverage docker to simulate the switch-based discovery process in large scale cluster, see https://github.com/immarvin/discovery_scaling_simulator 
 
Another interesting project is `Infrasim`(https://infrasim.readthedocs.io/en/latest/) , an open source project initiated by EMC for the virtualization of Data Center infrastructure, which includes the virtualization of the BMC
 
 
------------------------------------------------------------------------------
YANG Song (杨嵩)
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: yang...@cn.ibm.com
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
 
 
----- Original message -----
From: Kevin Keane <kke...@sandiego.edu>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: Re: [xcat-user] How to customize node discovery?
Date: Sat, Jun 30, 2018 6:28 AM
 
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 | kke...@sandiego.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

Reply via email to