Description

This GobyWeb file defines the configuration of the Web Application.

Location

It is located under the ${WEBSERVER_HOME}/webapp/gobyweb_home/conf/ directory.

Settings

The fully qualified URL where the application will be available:

  • grails.serverURL = “http://hostname:port/gobyweb”

An arbitrary label to append after the version (it appears in the about page):

  • gobyweb.version += ” (production)”

The user name and host name of the machine running the Web Application:

  • gobyweb.webServerSshPrefix = “USERNAME@HOSTNAME” //must have ssh access from cluster nodes

An optional Google analytics code:

  • gobyweb.googleAnalyticsCode = “googlecode”

The invite code to send to users for new registration:

  • gobyweb.inviteCode = “my code”

The  email addresses tol be BCCed when a job starts or fails:

  • gobyweb.emailBccAddresses = [“user@mail.org”, “user2@mail.org”]

The PLUGINS_ROOT_LOCATION for loading the available plugins:

  • gobyweb.webPluginsRootDir = ‘absolute path of the folder where the plugins repository was downloaded’

The root folder (local to the web server) to optionally use in the next settings:

  • gobyweb.webHomeDir = System.getenv().get(‘GOBYWEB_HOME’) + ‘/webapp-files’

The folder where samples will be temporary placed during the upload:

  • gobyweb.webUploadDir = “${gobyweb.webHomeDir}/GOBYWEB_UPLOADS”

The folder where job results will be placed:

  • gobyweb.webResultsDir = “${gobyweb.webHomeDir}/GOBYWEB_RESULTS”

The folder where files uploaded by the users will be placed (a sub-folder for each user will be created):

  • gobyweb.webFilesDir = “${gobyweb.webHomeDir}/GOBYWEB_FILES”

A temporary folder used during the uploads of new samples

  • gobyweb.webTempUploadStageDir = “${gobyweb.webHomeDir}/GOBYWEB_UPLOAD_STAGING”

A temporary folder where queue messages sent by jobs will be placed:

  • gobyweb.queueMessagesDir = “${gobyweb.baseDir}/queue-messages”

The folder for log files:

  • gobyweb.logDir = “${gobyweb.baseDir}/logs”

The front-end Fanouts in the gobyweb.webResultsDir directory:

  • gobyweb.fanouts.FRONTEND_RESULTS = ([ “hostname” : [“A”, “B”]] as Map).asImmutable()

GobyWeb periodically calculates statistics about storage resources consumed by users. The interval between two statistics’ computations is configured in the following setting:

  • gobyweb.statisticsIntervalInHours = 10

The expiration time for uploaded but not used files (after it, they will be removed):

  • gobyweb.fileExpirationTimeInDays = 7

The last variables define how GobyWeb can access the Grid Engine (OGE).

The primary OGE queue  where jobs will be submitted for execution:

  • gobyweb.default_oge_queue = “QUEUE#1 NAME”

Other OGE queues to use if the primary is not available:

  • gobyweb.all_oge_queues = [<QUEUE#1 NAME>, <QUEUE#2 NAME>, …]

The entry point to the OGE cluster:

  • gobyweb.default_oge_server = “hostname”

The user on the oge_server. It requires ssh access  from the web server machine with no password or key-based:

  • gobyweb.oge_username = “username”