User Tools

Site Tools


cluster:143

This is an old revision of the document!



Back

Warewulf Statefull

  • http://warewulf.lbl.gov/trac Warewulf is a scalable systems management suite originally developed to manage large high-performance Linux clusters.

So now that we can script stateless provisioning, we might also want to use stateful provisioning. That is PXE boot node once to format drive and install kernel + OS but then disable PXE boot and boot from hard drive. Use scenario, I have some nodes with large fast disks on board which can provide local scratch area.

Basic steps

Documentation page (http://warewulf.lbl.gov/trac/wiki/Recipes/StatefulProvisioning)

From user list (Jason Stover) with modified notes:

1) Install Kernel and Grub packages into VNFS

From the list “The main concern I can think of here is in the image (VNFS+files) size. If you have a large, non-hybridized configuration you use for statefull deployment, you may want to setup hybridization, or in general trim your image down to run statelessly due to potential memory usage concerns. Other than that, using a single image for both stateless/statefull will work just fine.”

So we'll stick with one chroot for now until it becomes a problem. So we can go back and forth with bootlocal option and keep the stateless vnfs image for PXE boot in database.

2) Be sure you're configuring BOOTLOADER, DISKPARTITION, DISKFORMAT, and FILESYSTEMS 3) Have the node PXE boot. Once it has provisioned, set bootlocal to 1:

       # wwsh provision set --bootlocal=1 [node]

4) Reboot node. Still with PXE as the first boot device. The PXE config file causes it to boot off hard drive instead of image if bootlocal is set. So, it “should” be booting of the HDD.


Back

cluster/143.1439231946.txt.gz · Last modified: 2015/08/10 14:39 by hmeij