Test Lab DAQ test stands
From Hall A Wiki
Contents
Set up the Server
- Name: hatestlab1.jlab.org (procured on 2024 April)
- Roles:
- The DHCP server for all the single board computers (SBCs)
- The TFTP server for SBCs
- The NFS server for computers under same LAN
- Set up pxeboot (summarized from reference)
- Install DHCP and Configure DHCP with two parameters:
- next-server IP --- IP address of the TFTP server to boot from
- filename --- path to boot file relative to TFTP root directory
Suggested parameters:filename "pxelinux.0";
next-server 129.57.xxx.xxx;
(hatestlab1) - DHCP seems to be all managed by CST; only one example at
atedf3: /etc/dhcpd.conf~
- Install nfs-utils, tftp-server, syslinux-tftpboot, syslinux
- Download
centos7_dist
androot, tftp
tgz files to the data disk for both VME and VTP - VME boot set up
- Modify the configuration file
centos7_dist/walkthrough_example.cfg
- NFS path should be under /data. ---- this is where the centos7 x86_64 filesystem will be unpacked
- Run the installation under
centos7_dist/
:./diskless_ROOTOS.sh walkthrough_example.cfg
This one generates a number of config files for the client OS and provides the installation commands to be run in sequence using sudo or as the root user../diskless_NFSexports.sh walkthrough_example.cfg
This script generates the exports files needed for NFS../diskless_PXE-TFTP.sh walkthrough_example.cfg
This script generates the configuration and installation commands for PXE and TFTP.
- Modify the configuration file
- VTP boot set up
- The configuration file is similar to VME boot set up, mostly swapping x86_64 with armv7.
./diskless_UBOOT.sh walkthrough_vtp_example.cfg
This script generates the ubootenv.bin
that needs to be loaded onto the microSD used by the VTP- Copy the resulting file
output/env.bin
to the VTPs microSD FAT partition. - VTP modules we received usually have SD card that is already set up
- Enable and start the NFS server and TFTP server
- Boot the VME/VTP
- First login: set up
daq
account
- First login: set up
CODA Installation
- In the future, there will be multiple DAQ test stands and they will likely run at the same time. So, the CODA should be installed locally on a desktop to avoid conflicts. There will be a dedicated "coda" account to store the environments, setup etc.
CODA Installation and Configuration on "rivendell"
Set up the VXS crate
Set up the CPU
1. Connect the ethernet cable to the CPU and power on the crate 2. Use a monitor to obtain the MAC address 3. Open a ticket at CC: give them the MAC address, a desired hostname, and ask them to set up the pxeboot using "atedf3" as the DHCP server and the TFTP server