source: trunk/pxeconfig/INSTALL @ 42

Last change on this file since 42 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
Line 
1Here follow some basic installation instructions.
2
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:
10 1) edit '/etc/services', eg:
11      pxeconfigd      6611/tcp                       # pxe config daemon
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:
22     telnet localhost pxeconfigd (or port number)
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
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
34
35 4) As you can see '/tftpboot/pxelinux.cfg/' is the default directory. If
36    you placed the config files somewhere else you can add the
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
41If the daemon works and you want to install/reinstall a node, a link
42must be placed in the '/tftpboot/pxelinux.cfg' directory. This can
43be done with the 'pxeconfig' utility. This utility will ask some
44questions and will make the links for you. The utility requires the following
45setup:
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!
48     In this distribution two examples are included. Pxeconfig lets the
49     user decide which 'default.' config file to use.
50
51  2) If default is a symbolic link to for example default.harddisk, then
52     default.harddisk is not included in the list where the user can
53     choose from.
54
55  3) You can give a command line switch to specify where the
56     pxe config files reside:
57        pxeconfig -d /<some>/<other>/<place>
58
59The last utility is 'hexls'. This utility will display the hex pxe config
60file with the corresponding ip-addresses.
61
62To activate this on a client you must add the following line to the 'master'
63script of the node. It will remove the pxe config file for the node
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.
67   # Remove the <hex_ipaddr> file from the pxelinux.cfg directory.
68   # So the client will boot from disk
69   #       
70   3.X)  chroot /a telnet $IMAGESERVER 6611
71   2.X)  telnet $IMAGESERVER 6611
72
73
74Comments or Suggestions mail them to:
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.