User Tools

Site Tools


atmos:software:webserveratlantis

Atlantis Web Server

This site contains information regarding the transition from the old atmos web server (cumulus) to the new Aerospace maintained web server (atlantis) in July 2008. Although the websites are now run from the Aerospace server, we still have access and control for most maintenance activities. The contact for problems regarding the new server is John Wold, Clifford Hall 245 (701-777-5533).

The following three sites were moved to the new server:

UND Radar
Glacial Ridge Atmospheric Observatory
Airborne Research

Below is information about how data is managed on each of the websites, and how some of the pages work.

UND Radar

To address the below noted issue with getting files to the new Atlantis Web server, a script /home/glacialftp/bin/push2atlantis.bash was written and put in the glacialftp user crontab on Radar2. The cron is setup to run the script every 10 minutes. The push2atlantis script uses rsync to sync the /usr/iris_data/gif/ directory to the /var/www/html/radar.atmos/images_recent/ directory on the Web server and then will delete the oldest gif files so that only 720 (6*120) are kept. The IRIS software could not be used to push data to the Web server because the IRIS process is run as the “operator” user, for which you would need access to the “operator” account on the Web server. There is a system user call “operator” on RedHat 5 and it was felt that it was not good to delete or use this system user account. The rsync command uses the –delete option so old files on the Web server are deleted so there is no need for an additional script on the Web server.

There was only one issue when moving the radar site. The Recent Products link contains files which were recently generated by the radar. This directory receives the data from the radar computer. There is a setting in the IRIS software which can be altered to change where the recent files are sent. In this case, it had to be changed from cumulus to atlantis. Paul Kucera was contacted and he did it remotely. Also note that the Radar Animations link takes data from the Recent Products page so once the data is pushed to the Recent Products page the Radar Animations page should be functional as well.

Glacial Ridge Atmospheric Observatory

For more information about the field site check out the field site page by clicking here

1. Weather (Surface)

There were no issues when transferring the website with the live surface monitor. The surface data is sent from GLACIALRIDGE2 at the field site to GLACIALRIDGE1 in CH 422. The website actively grabs the current surface weather from GLACIALRIDGE1. The file on atlantis which contains the IP address for GLACIALRIDGE1 is:

/var/www/html/glacialridge.atmos/pages/surface_data.page

The information on the graphic (i.e. webmaster contact e-mail etc…) displayed on the website can be edited from GLACIALRIDGE1 in CH422 by opening the loggernet control panel, and then clicking on the RTMC button. By double clicking on an element one can change the text.

2. Current Raw Profiler Plot

The current raw profiler plot is retrieved from GLACIALRIDGE2 via FTP with the bash script get_bv_und_last_day_image.bash located in /var/www/html/glacialridge.atmos/images/profiler/ on atlantis. The script is executed via the glacialftp users crontab on atlantis every 30 minutes. In order to change the crontab, John Wold must be contacted (see above for contact info).

3. Trailer Monitor

The trailer monitor is controlled by the THUM (Temperature Humidity USB Monitor) software which is installed on both GLACIALRIDGE1 and GLACIALRIDGE2. Data from the THUM monitor is transferred via FTP from GLACIALRIDGE2 to:

/var/www/html/glacialridge.atmos/THUM/temprh.htm on atlantis

To modify the THUM FTP settings:

   1. VNC to GLACIALRIDGE2
   2. Open the THUM software (icon on desktop)
   3. Click on FTP Settings tab
   4. Here the server name and destination directory can be specified

–> Note that because the field site is off the campus network, the IP address for GLACIALRIDGE2 had to be allowed through the firewall in order for the FTP to work. The IP address for GLACIALRIDGE2 is: 64.235.73.178

The THUM manual can be found by clicking on the following link: THUM Manual

4. Web Camera

Follow the steps below to configure the webcam:

   1. VNC to GLACIALRIDGE2
   2. Double-click on StarDot Tools software on desktop
   3. Select the only webcam available by single clicking on it
   4. Click 'Configure'
   5. Enter username and password

Once the web browser opens, all available settings can be modified. The path to the file on atlantis is:

/var/www/html/glacialridge.atmos/images/webcam/netcam.jpg

The path to the IP link file is:

/var/www/html/glacialridge.atmos/images/webcam/ip.html

Note that on atlantis, the Passive Mode must NOT be selected in order for the FTP to work.

The manual for the Netcam and StarDot Tools software can be found by clicking on the link below:

NetCam Manual

Airborne Research

Besides some miscellaneous broken links, transition to the new server went smoothly for the airborne research site as well. Below is some documentation on the use of the Gallery program to manage the department photo page.

Photo Gallery

Photos can be added from the command line using the galleryadd.pl script. The script is located on atlantis under /var/www/html/cumulus.atmos/. To use the script, SCP the script and the configuration file (.galleryaddrc) to the local machine using WinSCP. The configuration should already be setup to go to atlantis. Here are examples of four common tasks with the galleryadd.pl script:

   1. Creating a new album:

./galleryadd.pl -u admin -p <password> -g cumulus.atmos.und.edu/gallery -c <album name>

   2. Creating a nested album:

./galleryadd.pl -u admin -p <password> -g cumulus.atmos.und.edu/gallery -a <existing album name> -c <nested album name>

   3. Adding photos to an existing album:

./galleryadd.pl -u admin -p <password> -g cumulus.atmos.und.edu/gallery -a <album name> <path to pictures>

   4. Adding photos to a nested album:

./galleryadd.pl -u admin -p <password> -g cumulus.atmos.und.edu/gallery -a <nested album name> <path to pictures>

Configuration can be found in the .galleryaddrc file

–> About the Gallery program:

Link to the gallery manual: Here

Link to gallery configuration: Here

atmos/software/webserveratlantis.txt · Last modified: 2020/01/29 17:25 by 127.0.0.1