Difference between revisions of "Test Lab DAQ test stands"
From Hall A Wiki
Line 5: | Line 5: | ||
# The TFTP server for SBCs | # The TFTP server for SBCs | ||
# The NFS server for computers under same LAN | # The NFS server for computers under same LAN | ||
− | * Set up [https://coda.jlab.org/drupal/system/files/coda/iso/walkthrough/centos7_os_install.html#org887d804 reference] | + | * Set up (summarized from [https://coda.jlab.org/drupal/system/files/coda/iso/walkthrough/centos7_os_install.html#org887d804 reference]) |
# Install DHCP and Configure DHCP with two parameters: | # Install DHCP and Configure DHCP with two parameters: | ||
#* next-server IP --- IP address of the TFTP server to boot from | #* next-server IP --- IP address of the TFTP server to boot from | ||
#* filename --- path to boot file relative to TFTP root directory<br> Suggested parameters:<br><code>filename "pxelinux.0";</code><br><code>next-server 129.57.xxx.xxx;</code> (hatestlab1) | #* filename --- path to boot file relative to TFTP root directory<br> Suggested parameters:<br><code>filename "pxelinux.0";</code><br><code>next-server 129.57.xxx.xxx;</code> (hatestlab1) | ||
#* DHCP seems to be all managed by CST; only one example at <code>atedf3: /etc/dhcpd.conf~</code> | #* DHCP seems to be all managed by CST; only one example at <code>atedf3: /etc/dhcpd.conf~</code> | ||
− | # Install TFTP | + | # Install nfs-utils, tftp-server, syslinux-tftpboot, syslinux |
+ | # Download <code>centos7_dist</code> and <code>root, tftp</code> tgz files to the data disk for both VME and VTP | ||
+ | # VME boot set up | ||
+ | ## Modify the configuration file <code>centos7_dist/walkthrough_example.cfg</code> | ||
+ | ##* NFS path should be under /data. ---- this is where the centos7 x86_64 filesystem will be unpacked | ||
+ | ## Run the installation under <code>centos7_dist/</code>: | ||
+ | ##*<code>./diskless_ROOTOS.sh walkthrough_example.cfg</code><br>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. | ||
+ | ##*<code>./diskless_NFSexports.sh walkthrough_example.cfg</code><br>This script generates the exports files needed for NFS. | ||
+ | ##*<code>./diskless_PXE-TFTP.sh walkthrough_example.cfg</code><br>This script generates the configuration and installation commands for PXE and TFTP. | ||
+ | # VTP boot set up | ||
+ | #*The configuration file is similar to VME boot set up, mostly swapping x86_64 with armv7. | ||
+ | #*<code>./diskless_UBOOT.sh walkthrough_vtp_example.cfg</code><br>This script generates the uboot <code>env.bin</code> that needs to be loaded onto the microSD used by the VTP | ||
+ | #*Copy the resulting file <code>output/env.bin</code> 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 <code>daq</code> account |
Revision as of 15:21, 19 April 2024
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 (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