MBARI OASIS3 Mooring Guide

Maintenance Procedures

Maintenance Procedure Overview

Pre-Deployment

Prepare Configuration, Power Budget and Calibration Documents
Prepare Configuration Files
Prepare Header Files
Archive OASIS Controller Source Code

Deployment

Equipment

IM board
DB9 Serial Cable (IM->PC)
IM Power Supply/Battery & Cables
Long IM loop wire (IM->Nilspin)
OASIS wakeup/com cable
OASIS long cable extension
Laptop

Files

drvTbl.h
custom.h
oasis.mcp

Post-Deployment

Turn off downloads

crontab -r (turn off downloads, use stopdl.bat for oasisnt)

Move mooring data directory to new archive directory, with a name reflecting deployment start date (e.g. m2 -> Nov2001) and copy bin, src and cfg there

mv /oasis/<mooring> /oasis/mmmyy
cp -r /oasis/bin /oasis/mmmyy
cp -r /oasis/src /oasis/mmmyy
cp -r /oasis/cfg /oasis/mmmyy

Add any remaining data to the tar archive and move it to the new archive directory

cd /oasis/raw/tar
gunzip <mooring>.tar.gz
cd /oasis/raw
tar -rvf ./tar/<mooring>.tar <mooring>.*
tar -tvf ./tar/<mooring>.tar > ./tar/<mooring>.dir
mv /oasis/raw/tar /oasis/mmmyy/raw

Start a new tar archive and archive content file for the new deployment

tar -cvf<mooring>.tar <dummy.file>
tar -tvf <mooring>.tar > <mooring>.dir

Create directory structure for the new deployment

mkdir /oasis/<mooring>
mkdir /oasis/<mooring>/<instrument>

Update configuration files, headers, download and processing scripts

update /oasis/cfg/<mooring>.cfg
update /oasis/cfg/<instrument>.cfg
update /oasis/cfg/<mooring>/<instrument>.hdr
update /oasis/bin/getmoor
update /oasis/bin/get<mooring>
update /oasis/bin/process
update /oasis/bin/tarraw
update /oasis/bin/oasis.cron

Resume downloads

crontab /bin/oasis.cron

Notify OASIS alias of the new data locations

Periodic Maintenance

Daily Maintenance

Check the data for each instrument to see that all streams are present and functioning. Check /oasis/raw/dlinfo.log
for download failure information, and /oasis/<mooring>/error/yyyyddd for instrument and OASIS system errors.

Weekly File Maintenance

Compare the contents of /oasis/raw/tar/<mooring>.dir (list of data files tar'd) to the files
in /oasis/raw/erase. If no files are missing or truncated, erase the files in /oasis/raw/erase/.

Check to see log file sizes and trim as necessary: