Counting House DAQ

From GlueXWiki
Revision as of 13:01, 12 April 2013 by Moffit (Talk | contribs) (tftp)

Jump to: navigation, search

This page serves to provide information on how the Data Acquisition Group has set up the Hall D Counting House DAQ for use in testing the CODA 3.0 software and new pipeline electronics.

PXE booting for Diskless Controllers

To facilitate the booting and diskless environment for the VME Controllers, these packages were installed onto gluon20:

  • dhcp
  • tftp-server
  • syslinux

All supporting configuration files and diskless environment are found here:

/halldfs1/diskless

with subdirectories:

  • CentOS5 - Contains the CentOS 5 operating system that is mounted READONLY (root), as well as "snapshot" directories for individual controllers to provide read/write files for the operating system configuration.
  • tftpboot - Contains the directory that is served by the tftp-server
  • conf - Configuration files for tftp and dhcp. On gluon20 softlinks are made to these files where they are needed:
/etc/dhcp/dhcpd.conf -> /halldfs1/diskless/conf/dhcpd.conf
/etc/xinetd.d/tftp -> /halldfs1/diskless/conf/tftp

DHCP

dhcpd.conf

  • Restart of dhcp and/or reload of this configuration file is done with the command (as root/with sudo on gluon20):
service dhcpd restart

This configuration file was organized as follows:

All clients setup with these defaults:

ddns-update-style ad-hoc;
option domain-name "jlab.org acc.jlab.org";
option domain-name-servers 129.57.32.100, 129.57.32.101;

subnet 129.57.172.0 netmask 255.255.252.0 {
       option routers 129.57.172.1;
}

Group all PXE booting clients here (with example showing entry for rocgtest0):

# PXE bootable hosts
group
{
      # Common pxelinux.0 file, common tftp-server (gluon20)
      filename "linux-diskless/pxelinux.0";
      next-server 129.57.172.28; 

      host rocgtest0
      { # S1-3-TOP
        hardware ethernet 00:20:ce:f6:03:f6;
        fixed-address 129.57.175.100;
      }
}

tftp

This server is run through xinetd.

  • Restart of this server is done with (as root/with sudo on gluon20):
service xinetd restart

The only change to this configuration file were the lines:

server_args             = -s /halldfs1/diskless/tftpboot

and

disable                 = no

CentOS 5.x

Crate Configuration