[Joe, John Zweizig]
John stopped by around noon today to install the NDS 2 server. He installed it /cvs/cds/caltech/users/jzweizig/nds2-server/.
Once John is done, I will be moving this to a more sensible install location that is not his user directory, but its there for the moment.
We had to install a couple more packages including bzip2, bzip2-devel, gcc-c++, openssl, and openssl-devel.
We mounted the /frames directory from the fb machine to mafalda by modifying the /etc/fstab file with the line:
fb:/frames /frames nfs bg,ro 0 0
If we change channels recorded by the frame builder, we need to update a channel list file for the NDS 2 server. There's an excutable located at:
This builds the file list if given a .gwf file. These are written by the frame builder, and can be found in /frames/full/####, where #### are the first 4 gps digits of the gravity files contained in that directory.
Upon questing about when we get to GPS time 1000000000, he said there's some updates he needs to do so it rather throws away the last 5 digits, rather than keeping the first 4.
An example command run on the fb or mafalda machine is:
/cvs/cds/caltech/users/jzweizig/nds2-server/bin/buildChannelList /frames/full/9711/C-R-971119728-16.gwf > nds2-mafalda/C-R-ChanList.txt
For a seconds trends file (located in /frames/trends/second/ instead of /frames/full)
/cvs/cds/caltech/users/jzweizig/nds2-server/bin/buildChannelList /frames/trends/second/9711/ C-T-971106780-60.gwf > nds2-mafalda/C-T-ChanList.txt
For a minute trends file (located in /frames/trends/minute)
/cvs/cds/caltech/users/jzweizig/nds2-server/bin/buildChannelList /frames/trends/minute/9711/C-T-971106780-60.gwf > nds2-mafalda/C-M-ChanList.txt
In these cases, John was putting the lists in the /cvs/cds/caltech/users/jzweizig/nds2-mafalda/ directory.
Both the C-raw-cache.txt file and the nds2.conf files need to be configured to point at the correct files in the nds2-mafalda directory.