Skip to content

Commit

Permalink
Update 2023-03-06-thredds-data-server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjwright authored Apr 22, 2024
1 parent 459e67d commit d8e8884
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion _posts/2023-03-06-thredds-data-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ [email protected]
- Apache web server: `/etc/apache2`
- Java install: `/usr/lib/jvm/java-1.11.0-openjdk-amd64`

## Troubleshooting
If the Thredds server is down, the first thing to try is restarting the Tomcat web server. First, switch to root user with `su -`.
```
./ /opt/tomcat/bin/shutdown.sh
./ /opt/tomcat/bin/startup.sh
```
If that doesn't work, then try restarting the Apache web server, and then restart the Tomcat server again.
```
sudo service apache2 restart
```
Also keep in mind that if you have not implemented any log file rotation, the server can easily fill disk space. You may need to clear log files and free up disk space.

If things are still down, your best bet it to start looking through logs at `/opt/tomcat/bin/log`, check out the FAQs at the Thredds tutorial site, and potentially contact Thredds support.

## Adding new data

To add any new dataset, you will need ssh access to the Azure Thredds VM instance. Contact [Penny How](https://github.com/PennyHow) for obtaining an ssh key. Any user with the ssh key can access the server through the open port 22. This allows access from home, from Greenland, etc. Please treat these ssh keys carefully, and only share via secure methods (internal geus email addresses, over Slack, etc). The current key is `aws-dec2022.pem` and should occasionally be rotated by creating a new key on the Azure portal.
Expand Down Expand Up @@ -194,4 +208,4 @@ It will be wise to keep the software updated over time, in particular the THREDD

If there is a new major version for TDS, this should be adopted. Check the TDS tutorial and upgrade to the recommended Tomcat and Java versions when appropriate.

Thanks for reading, and enjoy your THREDDS journey!
Thanks for reading, and enjoy your THREDDS journey!

0 comments on commit d8e8884

Please sign in to comment.