System Administration

CASA System Administration

CASA Data Repository

The Immutable

The one thing that is immutable regarding the CASA data repository is the CNAME casa-rsync.nrao.edu. This must point to the host which serves updates for the data repository that is distributed with OSX and Linux binary distributions of CASA. These distributions use the URL:

rsync://casa-rsync.nrao.edu/casa-data

to update the minimal data repository that comes with each CASA binary distribution. This is important because the geodetic and ephemeris information that the data repository contains drifts out of date over the course of a few months. If it is not updated, the images that a particular distribution produces will gradually begin to suffer.

There are per-NRAO site directories:

/home/casa/data/distro source for rsync://casa-rsync.nrao.edu/casa-data
/home/casa/data/master cloned version of the complete data repository (useful for testing)
/home/casa/data/release cloned version of the complete data repository, specific to the current release being tested

The Mutable

In addition to being able to rsync the minimal data repository from casa-rsync.nrao.edu. It is also possible to fetch the entire data repository with rsync using:

rsync://casa-rsync.nrao.edu/casa-data-repository

As far as I know this is not currently (Spring 2017) used for production systems.

There is also a process that accompanies the updates of the rsync-able data repository. A cronjob (casaadm@skidmark.cv.nrao.edu:/users/casaadm/bin/CasaDistroSync.sh) updates the directories /home/casa/data/{distro,master,release} for Charlottesville. The entire /home/casa/data tree is copied to the NRAO/Socorro with a separate cronjob (casaadm@catapult.aoc.nrao.edu:/users/casaadm/bin/CasaSync.sh). The casa-rsync.nrao.edu CNAME maps to the host acorn.aoc.nrao.edu. This host runs an rsync server which serves:

NRAO/Socorro Local Directory rsync URL
/home/casa/data/distro rsync://casa-rsync.nrao.edu/casa-data
/home/casa/data/master rsync://casa-rsync.nrao.edu/casa-data-repository
/home/casa/data/release N/A