-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aiiv3 RFC #97
Comments
👍 |
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. |
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.Since the DHCP data is also limited, we might also want to store with the pxe (or in different table) of the AII pxe database. No parsing of the dhcp config files by AII would be required anymore; the config files can be regenerated upon a database change. (If the proposal to use a database also for the dhcp data is unacceptable, we should serioulsy consider to augment the dhcp config files with comment blocks to allow better/easier parsing of the generated configfiles by AII)
The text was updated successfully, but these errors were encountered: