Changes between Initial Version and Version 1 of Old/orbit-pxe/specs/3


Ignore:
Timestamp:
Apr 18, 2007, 10:12:19 PM (17 years ago)
Author:
mcgrof
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/orbit-pxe/specs/3

    v1 v1  
     1
     2Go back --> [wiki:Documentation] --> [wiki:Documentation/orbit-pxe Orbit-PXE] --> [wiki:Documentation/orbit-pxe/specs Orbit-PXE specs]
     3
     4== Orbit-PXE-3 Specifications ==
     5
     6Orbit-PXE-3 does not exist yet but here we can list goals for this series. Here's a few things to aim for 3-series:
     7
     8= Move to [http://buildroot.uclibc.org/ buildroot] =
     9
     10This will move us to [http://uclibc.org/ uClibc] and incorporate current external debian package dependencies into the buildroot system. The biggest blocker to moving to buildroot right now is nodeagent and its dependency on ruby. Buildroot supports ruby but there is a bug with building ruby at the moment:
     11
     12http://bugs.uclibc.org/view.php?id=1319
     13
     14= Move nodeagent to standalone C application =
     15
     16We need a simple nodeagent for Orbit-PXE, all the features we need are the ability to save the image, image the node and inventory. A simple C nodeagent with uClibc would save us a lot of space.
     17
     18= Adopt kexec =
     19
     20There is no need for reboots with kexec. We have been supporting kexec in our kernels since Orbit-PXE-1 series. We now have to get nodeagent to support its use and stop rebooting. This should increase the time it takes to image a node and load it considerably. To analyze how we can use kexec we need to consider each separate state a node can be in and what we will do for each command that needs to be processed.
     21
     22||'''Node\Command''||''ImageNode''||''SaveNode''||
     23||'''Node is OFF'''||Load Orbit-PXE, image, kexec||Load Obit-PXE, saveNode||
     24||'''Node is ON'''||Wget Orbit-PXE, kexec to it, imageNode||Wget Orbit-PXE, kexec to it, saveNode||
     25
     26Here's an example of how to use kexec:
     27
     28{{{
     29telinit 1
     30kexec -l /mnt/boot/vmlinuz-2.6.18-3-686 --append="root=0x0301 ro console=ttyS0,9600" --initrd=/mnt/boot/initrd.img-2.6.18-3-686
     31kexec -e
     32}}}
     33