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 #74

Open
nshalman opened this issue Mar 29, 2016 · 0 comments
Open

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

nshalman opened this issue Mar 29, 2016 · 0 comments
Assignees

Comments

@nshalman
Copy link
Member

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.

@nshalman nshalman self-assigned this Mar 29, 2016
@nshalman nshalman changed the title FreeBSD loader for booting from local pool on PXE failure On disk boot loader for booting from local pool on PXE failure Mar 29, 2016
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