This page contains general information related to configuring the L2beta CPUs at D-Zero.
Upon arrival at D-Zero there are several steps necessary to configure a beta before it can be used in the experiment.
Preliminaries
install a hard drive on the 9U
card, if is it not already done. Hard drives should be marked with
the following label:
L2b2.4.10-9
All new hard drives should have the serial port configured for console access when the board is shipped from UVa. The network may be configured by connecting a serial terminal to com1 on the SBC. Alternately, attach the monitor/keyboard near L3/L2Teststand and power-up the card. If you don't hear a beep after power-up w/in ~5 seconds power down!
If the serial port has not been enabled for consoles access, follow these instructions AFTER the configuration steps below.
On the very 1st boot, you may see a “System shutdown uncleanly” message. This can be ignored. If you are prompted for a configuration change, remove the mouse configuration (this will save ~30 seconds at boot time)
Reset the password to the online password
Network and time
Update the network configuration
files ( use pico or vi, etc to edit files):
-
replace /etc/resolve.conf with this file
-
replace /etc/sysconfig/network with this file
, replace 'X' in d0l2betaX w/ the proper number for the CPU
(see
spreadsheet below for naming information)
- replace
/etc/sysconfig/network-scripts/ifcfg-eth0 with this file,
replace 131.225.xxx.xxx with the proper IP address for the CPU
(see
spreadsheet below for configuration information)
Plug an ethernet
cable into the connector labeled lan2 (the top connector) and
restart networking using:
service network restart
now
you can ssh into the Beta from the online network
Configure ntp
- replace
/etc/ntp.conf with this file
- replace
/etc/ntp/step-tickers with this file
-
cd /etc/ntp, then rm ntpservers
- run
timeconfig and select “America/Chicago” for your
timezone (Do this in an x-terminal, some serial terminal emulators
do not handle the ascii graphics well)
Disk mounts
make the following
directories:
mkdir /common
mkdir -p /d0dist/dist
mkdir
-p /online/products/l2crates
add the following lines to
/etc/fstab
d0l2bs:/common /common nfs rw 0 0
d0ol-nfs-2:/export/d0dist /d0dist nfs rw,bg,rsize=8192,wsize=8192 0 0
d0ol-nfs-2:/export/online /online nfs rw,bg,rsize=8192,wsize=8192 0 0
NOTE: Remove any lines beginning with the name d0olcluster:
Note: If the /common directory is not empty when the beta arrives from Virginia, do a rm -rf /common/* before trying to mount the /common area from d0l2bs
On the secure network, you may
disable iptables to allow the nfs access as follows:
cd
/etc/sysconfig
mv iptables iptables~
Core dump files
Boards shipped after September 2003
will have no limits on core dump file sizes. Earlier boards should
be configured as follows:
In /etc/profile:
Change the
lines:
# No core files by default
ulimit -S -c 0 > /dev/null 2>&1
To:
# No core files by
default
#ulimit -S -c 0 > /dev/null 2>&1
#change to no limit.
ulimit -S -c unlimited > /dev/null 2>&1
Installation of startup
scripts
At present there is only one startup script to be
installed. This script will reboot the Beta if it was powered up w/o
pushing the reset button to properly configure the PLX. This should
be preinstalled on all betas delivered after Aug 2003. To install
the script, copy the following tarfile.
Untar the file (in the /root directory) to create a startup
directory under /root. cd to ~root/startup
and follow the short instructions in the README file to install the
script.
Finally check the .bashrc file on the Beta. It should agree with the following file.
Reboot the Beta and check for errors as it boots. All should be well...