Difference between revisions of "COSI Linux Build"

From CSLabsWiki
m (Ubuntu Lab Build moved to COSI Linux Build: To distinguish between the ITL Linux Build and the COSI Linux Build)
Line 1: Line 1:
This summarizes how to the Ubuntu Lab Build is maintained.
+
This summarizes how to the COSI Lab Build is maintained.
   
Currently we are running a Ubuntu 7.10, which was installed on a single machine, and then ghosted to the rest of the lab.
+
Currently the build is running Ubuntu Hardy. When updates are required, they are applied to one machine and then ghosted out to the rest of the machines. This process occurs roughly every month.
Before ghosting a system was put in place to keep lab machines in sync with the ever changing requirements and recommendations of lab users.
 
Using this system we can easily roll out changes to the lab build.
 
 
==NFS==
 
Currently the machine [[hadoop.cslabs.clarkson.edu]] exports an nfs share that is mounted by all computers in the lab. It is read only (unless you are the root user on hadoop) and is located at /sharedro on all machines. This document will make reference to scripts and files in this directory, feel free to take a look from any lab machine. If you felt so inclined you could even request an account on [[hadoop]] so that you could make changes too these files.
 
 
==How machines stay in sync==
 
===Boot===
 
Ubuntu runs the script /etc/rc.local (/sharedro/other/rc.local) during the final stages of the booting sequence. This is the a great starting point for exploring /sharedro.
 
 
Some of the things this script does:
 
* Runs a pre-network script (/sharedro/scripts/boot.sh)
 
* Resets networking (/sharedro/scripts/sethostname.sh) using a list of MAC addresses (/sharedro/other/macs)
 
* Runs a post-networking script (/sharedro/scripts/boot-post-network.sh)
 
* Updates crontab to run (/sharedro/scripts/five-minute.sh) every five minutes
 
 
===Cron===
 
Thanks to the update to cron that occurred during boot, the following script is run every five minutes:
 
/sharedro/scripts/five-minute.sh
 
   
 
==Lab build configurations==
 
==Lab build configurations==

Revision as of 21:49, 21 October 2008

This summarizes how to the COSI Lab Build is maintained.

Currently the build is running Ubuntu Hardy. When updates are required, they are applied to one machine and then ghosted out to the rest of the machines. This process occurs roughly every month.

Lab build configurations

Speaker

Upon the request of Christopher B.Williams, the pcspkr module is removed to avoid the annoyance by pressing backspace an extra time. The module lies in /lib/modules/2.6.22-14-generic/kernel/drivers/input/misc/pcspkr.ko

#sudo modprobe -r pcspkr