NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

...

Page info
title
title

Panel
titleContents of this Page
Table of Contents
minLevel2

...

Property

Description

master_lbconfig

Full path to "lbconfig.props" file. Used as the "source" environment to package from.

publish_dir

Full path to the directory to "publish" to. Needs to be large enough to contain the LexEVS 51 database export files as well Lucene index files for the selected terminologies.

Example file:

Code Block
borderStylesolid
titlepackage.propertiesborderStylesolid
#----------------------------------------------------------------------#
# Package Properties:                                                  #
#----------------------------------------------------------------------#

### Lexevs file locations (master)
master_lbconfig=/mnt/lexevs/5.1/resources/config/lbconfig.props
publish_dir=/mnt/lexevs/5.1/lexevsdata51

...

Property

Description

target_lbconfig

Full path to the "lbconfig.props" file of the target environment to be deployed to.

publish_dir

Full path to the publishing directory.

ssh.key.file

Full path to the SSH private key. A SSH public key needs to be installed under JBoss user account (as normally done with BDA projects).

 

The following "target_name_#" properties can be repeated for each web application that needs to be stopped/started after a data deployment. To uniquely identify server properties, target names are appended by a '_#' where '#' is an integer value from 0 to 9 to indicating the server number.
Example;

Code Block
target_url_0=http://localhost:8080/mylexapplication/

Note: Starting deploy.sh with a '-r' option disables stopping and starting of application servers all together.

target_url_#

URL to the lexevsapi51 server. Used by "deploy.sh" to determine if the lexevsapi51 application is running or not.

target_server_#

The application server name.

target_user_#

JBoss user id. Used for the SSH connection needed to stop/start the various application servers.

target_start_jboss_path_#

Full path to JBoss start_jboss script.

target_stop_jboss_path_#

Full path to JBoss stop_jboss script.

Example file:

Code Block
borderStylesolid
titledeploy.properties
borderStylesolid
#----------------------------------------------------------------------#
# Deploy Properties:                                                   #
#----------------------------------------------------------------------#

### Lexevs file locations (master)
target_lbconfig=/local/lexevs51/resources/config/lbconfig.props
publish_dir=/mnt/lexevsdata51

### Deployment
ssh.key.file=/local/home/user/ssh-keys/id_dsa_bda

### JBoss Server Information (Max of 10 servers)

target_url_0=http://server:8080/lexevsapi51
target_server_0=server
target_user_0=jbossuser
target_start_jboss_path_0=/usr/local/jboss/server/default/bin/start_jboss
target_stop_jboss_path_0=/usr/local/jboss/server/default/bin/stop_jboss

target_url_1=http://server1:8080/lexevsapi51
target_server_1=server1
target_user_1=jbossuser
target_start_jboss_path_1=/usr/local/jboss/server/default/bin/start_jboss
target_stop_jboss_path_1=/usr/local/jboss/server/default/bin/stop_jboss

...

1. Change to the directory where deploy.sh has been installed
2. Type deploy.sh <enter>
3. Type L <enter>
(This lists the contents of the package)
4. Type dd <enter>
(This runs the database portion of the deployment)
5. Type df <enter>
(This runs the application portion of the deployment)
6. Type q <enter>
(Exits the deployment application)

...

Scrollbar
iconsfalse