On 12/20/18 7:54 PM, Jarrod Johnson wrote:
xCAT-genesis-builder is indeed how genesis is built, though I don't think
anyone has done a lot of work to polish it up to do more. All it does is
Dracut up a very small amount.
In principle a runimage should be possible for anything, though depending on
what package you are talking about, it may be a challenging undertaking to stub
out various dependencies/extract the core procedure. I'm surprised that
something would be reliant on redfish and yet have a lot of dependencies. Does
this vendor manifest the service processor as an Ethernet device or similar?
Genesis at least in our distribution has a pretty healthy python runtime that
could run redfish against an Ethernet target, though enrichments are coming to
pyghmi to make redfish manipulation from genesis easier comes after holiday
season.
Here are the details of what and why I want to achieve :
- setup BMC (with the usual bmcsetup= task, which as I understand uses
ipmitool)
- setup BIOS options, still at discovery time, either inband from the
discovered node still running genesis or outband from the master.
As a matter of fact, BMC and data interfaces are on different VLANs and
we want it to stay that way. Besides, the data subnet (the subnet the
node is beeing discovered and provisionned from) is in our case a
private non routed subnet. Thus the inband from the node (no non local
network needed) option or the out of band from the master (packets can
be routed from the master to the BMC interface) one.
Actually, we have servers from 2 different manufacturers : Supermicro
and Huawei.
For supermicro, we just use runcmd=bmcsetup, then runimmage=<an image
runing "SUM", a Supermicro provided executable allowing to set up bios
options)
We're just trying for the first time Huawei hardware, so we might have
an incomplete or incorrect understanding, but ours is that the way to
setup BIOS for this manufacturer is to use their "uREST" tool wich, in
the inband case, relies on an agent called "iBMA". This is the latter
that we didn't succeed to even install, not to mention run its services,
into genesis. Among other things, this agent or its driver creates a
veth interface inside the node to communicate with the BMC.
For outofband connections, no iBMA seems to be needed. Thus the other
option I described above.
By the way, I did succeed chaining genesis, then osimage1, then osimage2
by adding a simple systemd service to osimage1 which just curl the
nodeset in REST xCAT API and then reboots the node. I can then try to
install and run iBMA and uREST from this intermediate image.
It seems hard work compared to the ondiscover option if this one works
(cf the other answer to my original post).
Thanks
--
Thomas HUMMEL
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user