-
Notifications
You must be signed in to change notification settings - Fork 1
Scholar@UC Server Information
Glen Horton edited this page Jan 30, 2024
·
46 revisions
When troubleshooting problems with Scholar@UC, it's best to start by looking at the Scholar application logs. The logs will often tell you if the problem is related to Fedora, Solr, Redis, etc.
- libschpwl1 & libschpwl2 (scholar.uc.edu)
- libschqwl1 & libschqwl2 (scholar-qa.uc.edu)
- libschdwl1 (scholar-dev.uc.edu)
sudo su - scholar
- touch
/srv/apps/curate_uc/tmp/restart.txt
- Fedora (content)
- MySQL database (users & misc.)
- /srv/apps/curate_uc/config
- /srv/apps/curate_uc/log (this is a symlink on both load balanced servers to /mnt/common/scholar-logs/)
Web server
- libschpwl1 & libschpwl2 (scholar.uc.edu)
- libschqwl1 & libschqwl2 (scholar-qa.uc.edu)
- libschdwl1 (scholar-dev.uc.edu)
sudo systemctl start httpd
sudo systemctl stop httpd
sudo systemctl status httpd
- 80
- 443
- /etc/httpd/
- /etc/httpd/conf.d/25-scholar-qa.uc.edu.conf
- /etc/httpd/conf.d/25-ssl-scholar-qa.uc.edu.conf
- /var/log/httpd/
- (none)
Object store for content in Scholar@UC.
- libschpfl1 (scholar.uc.edu)
- libschqfl1 (scholar-qa.uc.edu)
- libschdal1 (scholar-dev.uc.edu)
sudo su - tomcat
/mnt/hydra/fcrepo/etc/fcrepo_start.sh
sudo su - tomcat
/opt/tomcat/bin/shutdown.sh
ps -ef | grep java | grep fcrepo
- 8080
- /opt/tomcat/webapps/fedora.war
- /mnt/hydra/fcrepo/data (Isilon)
- MySQL database
- /mnt/hydra/fcrepo/etc/fcrepo_config.sh
- /mnt/hydra/fcrepo/etc/fcrepo_variables.sh
- /mnt/hydra/fcrepo/logs (Isilon)
- /opt/tomcat/logs
- Tomcat
- Java
- MySQL
- Tunnel to the Fedora server:
- Ex.
ssh vbbssh.ad.uc.edu -L 8080:libschqfl1:8080
- Ex.
- In browser visit
http://localhost:8080/fedora
Provides file characterization
- libschpwl1 & libschpwl2 (scholar.uc.edu)
- libschqwl1 & libschqwl2 (scholar-qa.uc.edu)
- libschdwl1 (scholar-dev.uc.edu)
- (does not stay resident in memory)
- (does not stay resident in memory)
- (does not stay resident in memory)
- (none)
- (none)
- (none)
- Java
Required by the Fedora application
- libschpfl1 (scholar.uc.edu)
- libschqfl1 (scholar-qa.uc.edu)
- libschdal1 (scholar-dev.uc.edu)
sudo systemctl start mysql.serevice
sudo systemctl stop mysql.serevice
sudo systemctl status mysql.serevice
- 3306
- /mnt/hydra/fcrepo/mysql
- /etc/my.cnf
- /var/log/mysqld.log
- (none)
Required by the Scholar@UC Rails application
- ucdbeil6 (scholar.uc.edu)
- ucdbqil6 (scholar-qa.uc.edu)
- ucdbdil7 (scholar-dev.uc.edu)
These databases run on separate servers managed by UCIT. We do not have the ability to ssh into the database servers.
Application server
- libschpwl1 & libschpwl2 (scholar.uc.edu)
- libschqwl1 & libschqwl2 (scholar-qa.uc.edu)
- libschdwl1 (scholar-dev.uc.edu)
- Starts with Apache
- Stops with Apache
ps aux | grep 'Passenger' | grep -v grep
- Whatever ports Apache uses
- /etc/httpd/
- /etc/httpd/conf.d/passenger.conf
- /etc/httpd/conf.d/25-scholar-qa.uc.edu.conf
- /etc/httpd/conf.d/25-ssl-scholar-qa.uc.edu.conf
- /var/log/httpd/
- Apache
In-memory data store. Used by Scholar to manage background worker queues.
- libschpwl1 & libschpwl2 (scholar.uc.edu)
- libschqwl1 & libschqwl2 (scholar-qa.uc.edu)
- libschdwl1 (scholar-dev.uc.edu)
/usr/local/bin/redis-server --daemonize yes
sudo kill `ps aux | grep 'redis-server' | grep -v grep | awk '{print $2}'`
ps aux | grep 'redis-server' | grep -v grep
- 6379
- (none)
- (none)
- (none)
Provides authentication via UC's Shibboleth
- libschpwl1 & libschpwl2 (scholar.uc.edu)
- libschqwl1 & libschqwl2 (scholar-qa.uc.edu)
- libschdwl1 (scholar-dev.uc.edu)
sudo systemctl start shibd
sudo systemctl stop shibd
sudo systemctl status shibd
- (none)
- /etc/shibboleth/
- /etc/shibboleth/shibboleth2.xml
- /etc/shibboleth/attribute-map.xml
- /etc/httpd/conf.d/shib.conf
- /etc/httpd/conf.d/25-scholar-qa.uc.edu.conf
- /etc/httpd/conf.d/25-ssl-scholar-qa.uc.edu.conf
- /var/logs/shibboleth/
- /var/logs/shibboleth-www/
- (none)
Processes background jobs like attaching files to works, characterization, and creating derivatives.
- libschpwl1 & libschpwl2 (scholar.uc.edu)
- libschqwl1 & libschqwl2 (scholar-qa.uc.edu)
- libschdwl1 (scholar-dev.uc.edu)
sudo su - scholar
cd /srv/apps/curate_uc
-
script/restart_sidekiq.sh production
(usedevelopment
on scholar-dev)
sudo su - scholar
cd /srv/apps/curate_uc
script/kill_sidekiq.sh
ps aux | grep sidekiq | grep busy | grep -v grep
- (none)
- /srv/apps/curate_uc/config/sidekiq.yml
- /srv/apps/curate_uc/script/restart_sidekiq.sh (last line)
- /srv/apps/curate_uc/log/sidekiq.log
- Redis
- Fits
- Imagemagick
- ffmpeg
- LibreOffice
- Tunnel to the web server
- Ex.
ssh vbbssh.ad.uc.edu -L 8000:libschqwl1:80
- Ex.
- Visit
http://localhost:8000
- Log in as a Scholar admin user
- Visit
http://localhost:8000/sidekiq
Provides search indexing
- libschpsl1 (scholar.uc.edu)
- libschqsl1 (scholar-qa.uc.edu)
- libschdal1 (scholar-dev.uc.edu)
sudo service solr start
sudo service solr stop
ps -ef | grep java | grep solr
- 8983
- /var/solr/data
- /etc/default/solr.in.sh
- /var/solr/data/collection1/conf
- /var/solr/logs
- Java
- Tunnel to the Solr server interface:
- Ex.
ssh vbbssh.ad.uc.edu -L 8983:libschqsl1:8983
- Ex.
- In browser visit
http://localhost:8983