-
Notifications
You must be signed in to change notification settings - Fork 6
mmi orr migration to xdomes vm
Completion planned for April 1, 2020.
All core pieces are already set up on xdomes but with temporary URL-related settings so the system is visible at https://xdomes.tamucc.edu/mmisw.org/ont/ for testing purposes.
NOTE: Limited VPN access may cause extra delays with this task.
- Final Mongo DB and ontology files transfer (Carlos)
- Repopulate triple store (Carlos)
- Basic functionality tests against https://xdomes.tamucc.edu/mmisw.org/ont/
-
Set virtual host on xdomes for
mmisw.org
(Felimon / TAMUCC IT)What's basically needed is something like the following:
<VirtualHost mmisw.org:443> DocumentRoot "/var/www/html/mmisw.org" ProxyPass /ont http://localhost:39090/ont ProxyPassReverse /ont http://localhost:39090/ont ProxyPass /sparql http://localhost:30035/repositories/mmiorr ProxyPassReverse /sparql http://localhost:30035/repositories/mmiorr Alias /ontapi /var/www/html/mmisw.org/ontapi Alias /orrdoc /var/www/html/mmisw.org/orrdoc # Carlos can be take care of further adjustments here. # TAMUCC IT please take care of certificate-related settings, etc. # ... </VirtualHost>
-
Remove the temporary "MMI ORR" settings in
/etc/httpd/conf.d/ssl-vhosts.conf
.
- Apply IP cutover with domain name provider (John)
-
Documentation and webhook for doc update https://mmisw.org/orrdoc/
- almost there, for now visible at https://xdomes.tamucc.edu/mmisw.org/orrdoc/
- supporting software in place
-
API DOC: https://mmisw.org/ontapi/
- almost there, for now visible at https://xdomes.tamucc.edu/mmisw.org/ontapi/
-
CF vocabulary "watchdog"
- almost there, supporting software in place and crontab ready to be enabled
-
CF browser https://mmisw.org/cfsn/
- almost there, for now visible at https://xdomes.tamucc.edu/mmisw.org/cfsn/
-
Tests against mmisw.org as IP cutover propagates (All)
-
Declare victory
During the migration process:
-
installed java, required to run the CF watchdog program
$ sudo yum install java-1.8.0-openjdk-devel $ java -version openjdk version "1.8.0_242"
-
installed mkdocs, required to generate MMI ORR documentation
$ sudo yum install mkdocs $ mkdocs --version mkdocs, version 0.14.0
-
export-mongo-collections.sh
to export mongo data on previous mmisw machine:for c in organizations users ontologies; do echo "importing $c ..." mongoexport --collection=$c --db=orr-ont --out=$c.json done
-
import-mongo-collections.sh
to import mongo data on xdomes machine:for c in organizations users ontologies; do echo "importing $c ..." mongoimport --collection=$c --db=orr-ont --mode=upsert --file=$c.json done
Note that this script, along with the
*.json
files are firstdocker cp
-ed to themmisw-mongo
container, where the script is then run.
-
Located at
/var/www/html/mmisw.org
, this will be the DocumentRoot for the mmisw.org VirtualHost -
Fixed permission issue with contents under
experimental
with:chcon -R unconfined_u:object_r:httpd_sys_content_t:s0 experimental
. See https://cwiki.apache.org/confluence/display/HTTPD/13PermissionDenied.