Skip to content
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

On disk boot loader for booting from local pool on PXE failure #73

Open
pjnorton opened this issue Apr 5, 2016 · 0 comments
Open

On disk boot loader for booting from local pool on PXE failure #73

pjnorton opened this issue Apr 5, 2016 · 0 comments

Comments

@pjnorton
Copy link
Owner

pjnorton commented Apr 5, 2016

Issue by nshalman
Tue Mar 29 14:29:06 2016
Originally opened as mistifyio/mistify#74


From one of the conversations yesterday. Adding to backlog for posterity.

Issue Description

In theory if we create our pool correctly and install a boot loader like GRUB2 or the FreeBSD loader, either of which should be able to read from arbitrary ZFS pools we could store the last booted kernel and ramdisk images in the pool (or whatever is the latest upgrade shipped to the cluster) so that if PXE fails we can fall back to booting from disk. This would allow for completely unattended recovery of a cluster with none of the machines having an original boot CD or USB stick installed.

Acceptance Criteria (How do we know when this is done?)

Shut down a MistifyOS machine. Disconnect network cable. Boot.
MistifyOS should be loaded and booted from disk.
In particular this is complete when that can be done from a pool containing RAIDZ vdevs.

Environment (physical, VM, cloud provider, etc.):

Definitely physical. Might smooth booting in a cloud provider?

Other Relevant Info:

This is connected to distributing updates throughout the cluster for making sure that when machines reboot they get the latest platform image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant