Anchor | ||||
---|---|---|---|---|
|
1. Purpose
This document is meant for the administrators of the BioMS application. This document describes the process of deploying the BioMS application and regular administration activities to be performed on the BioMS application.
...
11. Edit $HOME/.bioms/bioms-config.groovy , and update the following properties
a. datasource section with the database connection details for the BioMS database schema
b.
12. Start the JBoss Server bioms-bioms-node1
...
set bms.baseURL to the base URL at which the application will be accessed by users. This should be set to the base load balancer URL. If the application is configured for external access then this url should be the external URL of the application. (e.g. http://biomstest.wuslt.edu/bioms)
12. Start the JBoss Server bioms-bioms-node1
run.sh –b0.0.0.0 –cbioms-node1 -u239.255.100.100 –gBioMSPartition -Djboss.messaging.ServerPeerID=1
This will start the server and the BioMS application deployed. Try accessing the BioMS application at url http://<bioms-node1-server>:8080/bioms. Login to the application using credentials admin@bms.com/Passw0rd and we should see a page similar to the following snapshot.
...
Follow the same steps give in Section 3.3 substituting all bioms-node1 with bioms-node2 to setup second node of the BioMS cluster on server BioMS node2
Start the BioMS Node with the command
run.sh –b0.In node2 perform the following additional configuration.
1 Edit Edit $HOME/.bioms/bioms-config.groovy and update the following configuration
In the quartz section set autoStartup=false
Start the BioMS Node with the command
run.sh –b0.0.0.0 –cbioms-node2 -u239.255.100.100 –gBioMSPartition -Djboss.messaging.ServerPeerID=2
...
# Define list of workers that will be used
# for mapping requests
worker.list=loadbalancer,status
# Define Bioms-node1
# modify the host as your host IP or DNS name.
worker.bioms-node1.port=8009
worker.bioms-node1.host=<bioms-node1-host>
worker.bioms-node1.type=ajp13
worker.bioms-node1.lbfactor=1
worker.bioms-node1.cachesize=10
# Define Bioms-node2
# modify the host as your host IP or DNS name.
worker.bioms-node2.port=8009
worker.bioms-node2.host=<bioms-node2-host>
worker.bioms-node2.type=ajp13
worker.bioms-node2.lbfactor=1
worker.bioms-node2.cachesize=10
# Load-balancing behaviour
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=bioms-node1,bioms-node2
worker.loadbalancer.sticky_session=1
# Status worker for managing load balancer
worker.status.type=status
Configure the worker uri map in Apache load balancer.Add the following uriworkermap.properties file in apache config
/bioms=loadbalancer
/bioms/*=loadbalancer
9. CTEP Authentication Setup
TODO
10. Mayo Authorization data Sync Setup
TODOuriworkermap.properties file in apache config
/bioms=loadbalancer
/bioms/*=loadbalancer
9. Mayo Authorization data Sync Setup
BioMS application would get Study, Site and allowed user information from the Mayo SSS system. BioMS application syncs authorization data nightly from the Mayo system. The bioms distribution contains a scripts that download the auth data bump from mayo and load into bioms database. This script should be configured to run nightly using cron in one of the bioms nodes.Follow the steps below to configure the sync process.
In Bioms Node1 edit ~/.bioms/mayo-auth-sync/sync-mayo-auth-data.sh and set the following properties to point to the BioMS db
BMS_DB_TNSNAME - TNS Name of the BioMS DB. The TNS name should be defined in the tnsnames.ora file.
BMS_DB_USERNAME - DB user name
BMS_DB_PASSWORD - DB password
To configure nightly mayo auth data sync cron job run 'crontab -e' command and and the following to the end of the file and save
0 0 22 * * * $HOME/.bioms/mayo-auth-sync/sync-mayo-auth-data.sh 2>&1 > $HOME/.bioms/mayo-auth-sync/log/mayo-auth-sync.log.`date +%y%m%d-%H%M%S`
This will run the Mayo auth data sync every night at 10PM.
10. CTEP Authentication Setup
In QA and Production setup of BIoMS users of BioMS will be authenticated against the CTEP user registry. To enable CTEP authentication
11. Participant Registration Sync Setup
...