[3] | 1 | PXE-utilities |
---|
| 2 | ------------- |
---|
| 3 | |
---|
| 4 | These is a release of the SARA utilities that we use to boot our nodes with |
---|
| 5 | PXE network cards. This was developed because we always want to use the |
---|
[8] | 6 | PXE network card as our first boot device. With pxelinux which is a derivative |
---|
[3] | 7 | of syslinux you can specify how the node must boot by a configuration |
---|
| 8 | file. This configuration is placed in, eg '/tftpboot/pxelinux.cfg' directory. |
---|
| 9 | |
---|
| 10 | In our setup we have a default setup. The default setup is to boot from |
---|
| 11 | harddisk. When node boots it fetches the default configuraion file and the |
---|
| 12 | configuration file tells the node to boot from the harddisk. This setup |
---|
| 13 | is used for nodes that have already been installed by systemimager. |
---|
| 14 | |
---|
| 15 | At SARA we have developed a strategy how to install a fresh node. |
---|
| 16 | |
---|
| 17 | 1) The ip-address in our setup is known for the new node. So |
---|
| 18 | we make a link in the '/tftpboot/pxelinux.cfg' directory to a |
---|
| 19 | pxe config file which tells that it has to fetch the kernel en |
---|
| 20 | root filesystem from our bootserver, eg: |
---|
| 21 | 0A000A02 ---> default.node_install (10.0.10.2) |
---|
| 22 | |
---|
| 23 | 2) The client starts and uses the systemimager software to install |
---|
| 24 | the node. The last line of installation script connects to a |
---|
| 25 | daemon on the bootserver. This daemon will remove the PXE config file |
---|
| 26 | for this node. |
---|
| 27 | |
---|
| 28 | 3) The node reboots and will use the default pxe config file which will |
---|
| 29 | instruct the node to boot from harddisk. |
---|
| 30 | |
---|
| 31 | This release contains the following utilities: |
---|
| 32 | |
---|
| 33 | pxeconfigd) |
---|
| 34 | This is daemon that removes the pxe configuration file of a node. |
---|
| 35 | |
---|
| 36 | pxeconfig) |
---|
| 37 | With this interactive program we can specify which pxe config file |
---|
| 38 | a node or nodes must use. This utility will create the links |
---|
| 39 | in '/tftpboot/pxelinux.cfg' |
---|
| 40 | |
---|
| 41 | hexls) |
---|
| 42 | Is a utility that diplays a directory and if in this directory |
---|
| 43 | contains HEX files it will convert them to IP-numbers. |
---|
| 44 | |
---|
[5] | 45 | |
---|
[3] | 46 | All this utilities are written in Python. |
---|
| 47 | |
---|
[8] | 48 | Comments or Suggestions mail them to: |
---|
[5] | 49 | Bas van der Vlies <basv@sara.nl> |
---|
| 50 | http://www.sara.nl for more info about SARA. |
---|