| 1 | |
| 2 | Go back --> [wiki:Documentation] --> [wiki:Documentation/orbit-pxe Orbit-PXE] --> [wiki:Documentation/orbit-pxe/specs Orbit-PXE specs] |
| 3 | |
| 4 | == Orbit-PXE-3 Specifications == |
| 5 | |
| 6 | Orbit-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 | |
| 10 | This 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 | |
| 12 | http://bugs.uclibc.org/view.php?id=1319 |
| 13 | |
| 14 | = Move nodeagent to standalone C application = |
| 15 | |
| 16 | We 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 | |
| 20 | There 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 | |
| 26 | Here's an example of how to use kexec: |
| 27 | |
| 28 | {{{ |
| 29 | telinit 1 |
| 30 | kexec -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 |
| 31 | kexec -e |
| 32 | }}} |
| 33 | |