| 1 | = PXE on Orbit = |
| 2 | |
| 3 | To bootstrap the testbed nodes, in fact any server in the system, we use [http://en.wikipedia.org/wiki/PXE PXE] to have the nodes load an image which contains a [wiki:NodeHandler/NodeAgent nodeagent] and a [http://www.cs.utah.edu/flux/papers/frisbee-usenix03-base.html frisbee] client. |
| 4 | |
| 5 | PXE requires the following support: |
| 6 | |
| 7 | 1. A [http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol DHCP] server pointing to an TFTP server |
| 8 | 1. A [http://en.wikipedia.org/wiki/TFTP TFTP] server proving the following: |
| 9 | 1. A network bootstrap program (NBP) |
| 10 | 1. A file containing instructions for the NBP |
| 11 | 1. A boot image |
| 12 | 1. A PXE [wiki:NodeHandler/GridService grid service] |
| 13 | |
| 14 | == DHCP Server == |
| 15 | |
| 16 | ''Information primarily on how to configure DHCP. Maybe attach a sample file'' |
| 17 | |
| 18 | == Installing a TFTP server == |
| 19 | |
| 20 | '' This should go away as we should make a dependency on the orbit-pxe-server package.'' |
| 21 | |
| 22 | == Installing NBP -- pxelinux == |
| 23 | |
| 24 | |
| 25 | == Installing an PXE image == |
| 26 | |
| 27 | The PXE client gets the address of the TFTP server through DHCP. Taking it's IP address it attempts to download a specific file containing further instructions from the TFPT server. The name of the file is created from the PXE client's IP address. For Orbit, the instructions are identical for every node and are stored in "/tftpboot/pxelinux.cfg/default.orbit-''version''". This file instructs the node to fetch the image "/tftpboot/initrd-orbit-pxe-''version''.img" from the TFTP server and boot into it. |
| 28 | |
| 29 | Both files will be installed through: |
| 30 | |
| 31 | {{{ |
| 32 | % apt-get install orbit-pxe-server |
| 33 | }}} |
| 34 | |
| 35 | == Installing the PXE Grid Service == |
| 36 | |
| 37 | Every service on Orbit which can be controlled by the experimenter requires a [wiki:NodeHandler/GridService grid service] component. The PXE grid service must be installed on the TFTP server. |
| 38 | |
| 39 | {{{ |
| 40 | % apt-get install gridservices |
| 41 | % cd /etc/gridservices/enabled |
| 42 | % ln -s ../available/pxe . |
| 43 | % /etc/init.d/gridservices restart |
| 44 | }}} |
| 45 | |