Changeset 9


Ignore:
Timestamp:
02/21/02 16:30:43 (22 years ago)
Author:
sscpbas
Message:

Fixes some typos. Thanks to Huun Stoffers

Location:
trunk/pxeconfig
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/pxeconfig/INSTALL

    r8 r9  
    1 Here follow some basic installations instructions.
     1Here follow some basic installation instructions.
    22
    33To activate the 'pxeconfigd' daemon the following actions are required:
     
    2828
    2929 4) As you can see '/tftpboot/pxelinux.cfg/' is the default directory. If
    30     you placed the config files some where else you can add the
     30    you placed the config files somewhere else you can add the
    3131    '-d/--directory' option, eg:
    3232       pxeconfigd stream  tcp nowait  root.sys /usr/sbin/tcpd \
    3333        /usr/sara/sbin/pxeconfigd -d /<some>/<other>/<place>
    3434
    35 If the daemon works and you want to install/reinstall a node a link
     35If the daemon works and you want to install/reinstall a node, a link
    3636must be placed in the '/tftpboot/pxelinux.cfg' directory. This can
    3737be done with the 'pxeconfig' utility. This utility will ask some
    38 question and make the links for you. The utility require the following
     38questions and will make the links for you. The utility requires the following
    3939setup:
    40   1) All the pxe configuration files must start with preamble 'default.'
     40  1) All the pxe configuration files must start with the keyword 'default.'
     41     N.B.: yes, the dot after 'default' is part and parcel of the keyword!
    4142     In this distribution two examples are included. Pxeconfig lets the
    42      user decide witch 'default.' config file to use.
     43     user decide which 'default.' config file to use.
    4344
    44   2) If default is a link to for example default.harddisk. Then
     45  2) If default is a symbolic link to for example default.harddisk, then
    4546     default.harddisk is not included in the list where the user can
    4647     choose from.
    4748
    48   3) You can give command line switch to specifiy where the
     49  3) You can give a command line switch to specify where the
    4950     pxe config files reside:
    5051        pxeconfig -d /<some>/<other>/<place>
    5152
    5253The last utility is 'hexls'. This utility will display the hex pxe config
    53 file with the corresponding ip-addres.
     54file with the corresponding ip-addresses.
    5455
    55 To activate this on a client you must add the this line to the 'master'
     56To activate this on a client you must add the following line to the 'master'
    5657script of the node. It will remove the pxe config file for the node
    5758on the bootserver. I personally place the line just before the network
  • trunk/pxeconfig/README

    r8 r9  
    22-------------
    33
    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
    6 PXE network card as our first boot device. With pxelinux which is a derivative
    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.
     4This is a release of the SARA package of utilities that we use to boot
     5our nodes with PXE-enabled network cards. This was developed because we
     6always want to use the PXE-enabled network card as our first boot device.
     7With pxelinux, which is a derivative
     8of syslinux, you can specify with a PXE configuration file how the node must
     9boot.
     10This configuration is placed in, e.g. '/tftpboot/pxelinux.cfg' directory.
    911
    1012In 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
     13harddisk. When a node boots it fetches the default configuraion file and the
    1214configuration file tells the node to boot from the harddisk. This setup
    1315is used for nodes that have already been installed by systemimager.
    1416
    15 At SARA we have developed a strategy how to install a fresh node.
     17At SARA we have developed the following strategy how to install a fresh node.
    1618
    1719 1) The ip-address in our setup is known for the new node. So
     
    4042
    4143  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      Is a utility that diplays a directory, and, if in this directory
     45      contains HEX files, it will convert them to IP-numbers.
    4446
    4547 
    46 All this utilities are written in Python.
     48All these utilities are written in Python.
    4749
    4850Comments or Suggestions mail them to:
  • trunk/pxeconfig/changelog

    r8 r9  
    1 Always edit this file when changes are commited::a
     1Always edit this file when changes are commited::
    22
    33$Log: changelog,v $
     4Revision 1.8  2002/02/21 15:30:43  sscpbas
     5Fixes some typos. Thanks to Huun Stoffers
     6
    47Revision 1.7  2002/02/21 15:05:48  sscpbas
    58Fix some spell errors. Thanks Jaap
  • trunk/pxeconfig/pxeconfig

    r6 r9  
    77#
    88# CVS info
    9 #  $Date: 2002/02/21 13:21:51 $
    10 #  $Revision: 1.4 $
     9#  $Date: 2002/02/21 15:30:43 $
     10#  $Revision: 1.5 $
    1111#
    1212# Copyright (C) 2000, SARA.
     
    2626"""
    2727With this program you can configure which PXE configuration file
    28 to use when a node boots. The programm will ask the following questions:
     28to use when a node boots. The program will ask the following questions:
    2929  1) Network address (Class C-network address only)
    30   2) Starting nummber
     30  2) Starting number
    3131  3) Ending number
    32   4) Which PXE config file to use.
     32  4) Which PXE config file to use
    3333
    3434For example, if the answers are:
     
    6666def choice_pxe_configfile():
    6767  """
    68   Let user choice which pxeconfig file to use.
     68  Let user choose which pxeconfig file to use.
    6969  """
    7070
    7171  os.chdir(PXE_CONF_DIR)
    7272
    73   # Try to determine to which default file point to and
    74   # if exists remove it from te list.
     73  # Try to determine to which file the default symlink points, and
     74  # if it exists, remove it from the list.
    7575  #
    7676  try:
     
    103103
    104104    # Is the user smart enough to select
    105     # the right value
     105    # the right value??
    106106    #
    107107    if 0 < index <= len(files): break
     
    112112  """
    113113  Create the links in the PXE_CONF_DIR,
    114     list : A list containing: network hex addres, pxe config file,
     114    list : A list containing: network hex address, pxe config file,
    115115           start number, end number
    116116  """
     
    127127def check_network(net):
    128128  """
    129   This function check if the give network is a Class C-network and will
     129  This function checks if the give network is a Class C-network and will
    130130  convert the network address to a hex address if true.
    131131  """
     
    170170  print __doc__
    171171
    172   network = raw_input('Give network addres (xxx.xxx.xxx): ')
     172  network = raw_input('Give network address (xxx.xxx.xxx): ')
    173173  naddr = check_network(network)
    174174
Note: See TracChangeset for help on using the changeset viewer.