source: trunk/pxeconfig/INSTALL @ 41

Last change on this file since 41 was 41, checked in by bas, 20 years ago

INSTALL:

Changed installtion instruction to use port 6611

make_deb_pkg.sh:

use rm -rf now

control:

changed version to 0.4.3

File size: 2.9 KB
RevLine 
[9]1Here follow some basic installation instructions.
[5]2
[41]3If you are using DEBIAN then you can run the following utility:
4 make_deb_pkg.sh) This will make debian package that you can install
5                  with dpkg -i <packagename>
6       
7
8To activate the 'pxeconfigd' daemon utility on other platforms use this
9procedure:
[5]10 1) edit '/etc/services', eg:
[41]11      pxeconfigd      6611/tcp                       # pxe config daemon
[5]12
13 2) edit '/etc/inetd.conf', eg
14      pxeconfigd stream  tcp nowait  root.sys /usr/sbin/tcpd \
15        /usr/sara/sbin/pxeconfigd
16
17    NOTE: the pxeconfigd can only be started from inetd!!!
18
19 3) kill -1 `pidof inetd` (Linux)
20
21 4) You can test it by:
[7]22     telnet localhost pxeconfigd (or port number)
[5]23
24     output:
25       Trying 127.0.0.1...
26       Connected to localhost.
27       Escape character is '^]'.
28       ip = 127.0.0.1, hex = 7F000001
29       file = /tftpboot/pxelinux.cfg/7F000001
30       Connection closed by foreign host.
31
[6]32     In syslog a line will be added if the removal is succesful:
33      Feb 20 09:32:40 test pxeconfigd: /tftpboot/pxelinux.cfg/7F000001
[5]34
35 4) As you can see '/tftpboot/pxelinux.cfg/' is the default directory. If
[9]36    you placed the config files somewhere else you can add the
[5]37    '-d/--directory' option, eg:
38       pxeconfigd stream  tcp nowait  root.sys /usr/sbin/tcpd \
39        /usr/sara/sbin/pxeconfigd -d /<some>/<other>/<place>
40
[9]41If the daemon works and you want to install/reinstall a node, a link
[5]42must be placed in the '/tftpboot/pxelinux.cfg' directory. This can
43be done with the 'pxeconfig' utility. This utility will ask some
[9]44questions and will make the links for you. The utility requires the following
[5]45setup:
[9]46  1) All the pxe configuration files must start with the keyword 'default.'
47     N.B.: yes, the dot after 'default' is part and parcel of the keyword!
[5]48     In this distribution two examples are included. Pxeconfig lets the
[9]49     user decide which 'default.' config file to use.
[5]50
[9]51  2) If default is a symbolic link to for example default.harddisk, then
[5]52     default.harddisk is not included in the list where the user can
53     choose from.
54
[9]55  3) You can give a command line switch to specify where the
[5]56     pxe config files reside:
57        pxeconfig -d /<some>/<other>/<place>
58
[6]59The last utility is 'hexls'. This utility will display the hex pxe config
[9]60file with the corresponding ip-addresses.
[5]61
[9]62To activate this on a client you must add the following line to the 'master'
[6]63script of the node. It will remove the pxe config file for the node
[30]64from the pxe bootserver. I personally place the line just before the umount
65commands. See below which command to use for which systemimager version.
66Telnet is not included in the 3.X versions.
[6]67   # Remove the <hex_ipaddr> file from the pxelinux.cfg directory.
68   # So the client will boot from disk
69   #       
[41]70   3.X)  chroot /a telnet $IMAGESERVER 6611
71   2.X)  telnet $IMAGESERVER 6611
[6]72
[30]73
[8]74Comments or Suggestions mail them to:
[5]75 Bas van der Vlies <basv@sara.nl>
76 http://www.sara.nl for more info about SARA
Note: See TracBrowser for help on using the repository browser.