Open stdweird opened 10 years ago
:+1:
support for UEFI pxeboot configuration
This issue is almost 2 years old and I am not sure how we can progress on it. May be good to add in the description a list of the tasks that must be completed and potentially open sub-issues for some of them.
any dhcpd data generated/modified by AII is done in separate file(s) that can be included by main dhpcd config files, to separate the static and the dynamic portions of the DHCP configuration. This very likely means that will require a recent enough DHCP server, possibly only supporting EL6 or later as base OS. This is to be investigated.
This works fine and is in fact what we have been doing at RAL for many years.
AII should provide support for iPXE. Main change is support for more then tftp pxeboot (eg http or iscsi).
However, to make proper usage of the new possibilities of iPXE, the current way of tracking the boot state of node needs to be replaced and made independent of the pxe implementation choosen by a site.
The actual implementation of the site pxe preference (syslinux or iPXE or ...) can then start from the state and required data:
State and data can use a
DBI::
backend (simple sqlite for small sites should be enough; but can be replaced by actual database for reasons like speed and/or size); all other tools (and new tools) can interact with that. The required database schema should be sufficiently simple.install
toboot
?)aii-pxelinux
; it is kept in database to avoid having to access (and thus have access to) the full profile. data required for pxe phase is typically not sensitive and might not be as well secured as access to the full profile. A number of fixed fields can be choosen together with a text field to store literal JSON data for less common or non-fixed/non-mandatory fields.Simplicity seems key in the AII code, sites are free to develop more complex machinery around these basics such as:
The required code changes will mainly impact:
aii-pxelinux
Additional proposal wrt DHCP:
dhcpd
data generated/modified by AII is done in separate file(s) that can be included by main dhpcd config files, to separate the static and the dynamic portions of the DHCP configuration. This very likely means that will require a recent enough DHCP server, possibly only supporting EL6 or later as base OS. This is to be investigated.