Commit 71a44b67 authored by Robert Ricci's avatar Robert Ricci

Initial revision of instructions for setting up a new 'boss' node. Not even

close to being complete yet.
parent 15cb91f1
##### Setting up the Utah Network Testbed software
##### Robert Ricci
##### Last updated June 5, 2001
##### Tested on FreeBSD 4.3
##### Step 0
First of all, the machine should be configured correctly for the network it is
on, have the root password set, etc.
##### Step 1 - Package installation
Install the necessary packages. The following are necessary, and available as
FreeBSD ports:
apache+mod_ssl-1.3.19+2.8.2 The Apache 1.3 webserver with SSL/TLS functionality
cvsupd-bin-16.1 A general network file distribution system optimized for CV
gmake-3.79.1 GNU version of 'make' utility
isc-dhcp-2.0.5 ISC Dynamic Host Configuration Protocol client and server c
mod_php3-3.0.18 PHP3 module for Apache
mysql-client-3.23.36 Multithreaded SQL database (client)
mysql-server-3.23.36 Multithreaded SQL database (server)
otcl-1.0a6 MIT Object Tcl
p5-DBI-1.15 The perl5 Database Interface. Required for DBD::* modules
p5-Mysql-modules-1.2215 Perl5 modules for accessing MySQL databases
p5-SNMP-4.2.0 A perl5 module for interfacing with the CMU SNMP library
p5-SNMP_Session-0.83 A perl5 module for providing rudimentary access to SNMPv1 a
rpm-3.0.6_5 The Red Hat Package Manager
tcl-8.3.3 Tool Command Language
tcl-sql-20000114_1 TCL module for accessing MySQL databases
ucd-snmp-4.2 An extendable SNMP implimentation
##### Step 2 - LEDA
Currently, the LEDA library is required to compile some testbed software (we
hope to remove this dependency at some point.) The simplest place to install it
is /usr/testbed/LEDA. If another location is used, be sure to use the
--with-LEDA=<dir> option to configure in the next step. The home page for LEDA
is at:
##### Step 3 - Testbed tree configuration/installation
Configure the testbed tree. For example, I have the testbed source in ~/testbed,
and use the ~/tbobj directory to do my builds in.
cd ~/tbobj
gmake boss-install
gmake post-install
The 'post-install' target needs to be done as root, because certain scripts
needs to be setuid root.
##### Step 4 - Database Creation
Create the database. Use a dump of an old database, or use the SQL commands in
testbed/sql/database-create.sql to create an empty one with the right tables.
(Sorry, no help on filling them in yet). You'll also need to create some special
users. do with by running:
mysql mysql < testbed/aql/users-create.sql
##### Step 5 - Misc. Files and Services
SNMP MIBs - MIBs go in /usr/local/share/snmp/mibs. In addition to the ones
installed by the ucd-snmp package, you'll need MIBs for Cisco and Intel
switches. You can grab the Cisco MIBs from:
I'm not sure where to grab the INTEL ones.
DNS zones - Make sure to include the DNS configuration files from /etc/named/
in /etc/rc.conf
NFS - Make the machine an NFS server and client with the following in /etc/rc.conf:
nfs_server_flags="-u -t -n 16"
tftp - Should have the following line in /etc/inetd.conf
tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot /proj
(make sure to HUP inetd)
SSH - If possible, grab the old machine's SSH host keys (from
/etc/ssh/ssh_host*) and HUP sshd. Also, get the root identity and known_hosts
files from the old machine (/root/.ssh/{identity,,known_hosts}) - Make
sure to preserve file and directory permissions. You'll probably also want to add
PermitRootLogin yes
to /etc/ssh/sshd_config (and HUP sshd) so that you can log in a root remotely
Grab the old /etc/master.passwd file, and run 'cd /etc && pwd_mkdb -p master.passwd'
Also grab the old /etc/groups file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment