Page tree
Skip to end of metadata
Go to start of metadata

Below are notes from an initial meeting with IU and NU sysadmins to figure out a mostly standard production environment for VoV.  This is in order to setup the testing server to resemble the eventual production environment.


Red Hat Enterprise Linux 6 (IU is on 6 and NU is on 5 moving to 6)

SELinux (IU has enabled, NU has permissive/disabled but wants to turn on)

NU has written puppet configurations for their OS setup (VoV will eventually want this)

Dependency Servers

Database -> MySql (maybe on separate machine)

Fedora -> Tomcat 6 (maybe on separate machine) - IU runs this under its own Tomcat instance setup by Fedora installer

Solr -> Tomcat 6 (maybe on separate machine)

Matterhorn -> Felix (could be run under tomcat?; IU will want transcoding on a physical non VM machine; will need more discussions to figure out optimal distribution of Matterhorn components across machines)


Rails -> Apache, Phusion Passenger

NU is serving out of /usr/local/ using url rewrite


Rough Setup Instructions

Assuming RHEL6 has been installed and SELinux is enabled, follow the steps below for a production environment for VoV:

Install needed packages:

yum install mysql-server httpd tomcat6

Verify mysql, apache and tomcat are running and setup them up to run on system load:

chkconfig httpd on
chkconfig mysqld on
chkconfig tomcat6 on
service httpd start
service mysqld start
service tomcat6 start

Create fedora user in mysql

Install fedora and solr into tomcat

java -jar fcrepo-installer-3.5.jar


Install Phusion Passenger:

//install passenger

Setup the SELinux policy for passenger:

setenforce 0
service httpd restart
//Make requests to Hydrant and try uploading a video
grep httpd /var/log/audit/audit.log | audit2allow -M passenger
semodule -i passenger.pp
setenforce 1
service httpd restart
  • No labels