source: cows_wps/trunk/config.ini @ 5615

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows_wps/trunk/config.ini@5615
Revision 5615, 4.4 KB checked in by spascoe, 12 years ago (diff)

COWS WPS package copied from
 http://proj.badc.rl.ac.uk/svn/dcip/cows-wps/trunk.

This is a stripped down version of the DDP WPS. Some features are
removed and others have been deactivated until we reimplement them in a
more generic way.

Line 
1#
2# cows_wps - Pylons development environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7#debug = true
8# Uncomment and replace with the address which should receive any error reports
9email_to = Stephen.Pascoe@stfc.ac.uk
10smtp_server = localhost
11error_email_from = paste@localhost
12
13##############################################################################
14# Server configuration section
15
16[server:main]
17use = egg:Paste#http
18# Note host must be changed to 0.0.0.0 to listen for external connections
19host = 0.0.0.0
20port = 8443
21
22##############################################################################
23# Main WSGI application section
24
25[app:main]
26use = egg:cows_wps
27full_stack = true
28cache_dir = %(here)s/data
29
30# If behind a proxy uncomment this and edit the filter:proxy-prefix section
31#filter-with = proxy-prefix
32
33# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
34# Debug mode will enable the interactive debugging tool, allowing ANYONE to
35# execute malicious code after an exception is raised.
36set debug = true
37
38
39##############################################################################
40# WPS config section
41
42#!NOTE: wps.logs_dir is removed.  Use logging config section below
43
44# Directory where process output directories are stored.  Needs to be shared
45# across all nodes under the same path
46wps.proc_output_dir = %(here)s/proc_outputs
47
48# Place where config initialisation files are stored.  Theoretically doesn't
49# need to be visible to execute hosts but some processes might rely on it.
50wps.proc_config_dir = %(here)s/configs
51
52# Metadata output options
53wps.max_len_metadata_line = 42
54
55# Initiation file for the process output rules
56wps.outputs_rules = %(here)s/outputs_rules.ini
57
58# Database backend options
59#wps.database_url = sqlite:///:memory:
60wps.database_url = sqlite:///%(here)s/wps.db
61
62
63# Sun Grid Engine options
64wps.sge_root = /usr/local/sge
65wps.sge_cell = default
66wps.max_proc_duration = 300
67wps.sge_queue_l = wps_l.q
68wps.sge_queue_s = wps_s.q
69wps.max_l_proc = 1
70wps.max_s_proc = 2
71wps.sge_queue_timeout = 30
72wps.runproc_path = %(here)s/bin/wps_runproc
73
74# Nappy configuration
75#wps.nappy_locals = /usr/local/ddp/buildout/../config/nappy_ukcp09_attributes.ini
76#wps.nappy_annotations = /usr/local/ddp/buildout/../config/ukcp09_nappy_annotations.ini
77
78
79# VNC options
80# Where vncserver will put config information
81wps.vnc_user_dir = %(here)s/.vncctrl
82
83# Extra stuff needed for mod_wsgi and new in the codebase
84#!TODO: tidy this up
85wps.user = ddp
86wps.mpl_configdir = /disks/cache/wps/.matplotlib
87wps.worker_pool = 5
88
89# Caching configuration
90# Set wps.caching_enabled to "true", "on" or "1" to enable caching
91wps.caching_enabled = false
92#true
93
94#Email sending arguments
95wps.notify_email_from = no-reply@ukcp09-ui.defra.gov.uk
96wps.mailhost = localhost
97wps.ukcp_helpdesk_url = http://ukclimateprojections.defra.gov.uk/content/view/518/681/helpdesk.php
98wps.ui_url_to_jobs_page = http://ukclimateprojections-ui.defra.gov.uk/ui/outputs/jobs.php
99
100# Output directory striping.  Processes can be configured to be sent to a
101# host-dependent path
102wps.stripe_outputs = false
103###
104# In striping mode map each wps host to "proc_outputs_dir sge_host redirect_prefix"
105#wps.striped_outputs_host_map =
106#  ddp-app1.badc.rl.ac.uk = /disks/acache1/wps/proc_outputs ddp-store1 http://ddp-store1.badc.rl.ac.uk/wps_dl
107#  ddp-app2.badc.rl.ac.uk = /disks/acache2/wps/proc_outputs ddp-store2 http://ddp-store2.badc.rl.ac.uk/wps_dl
108#  ddp-app3.badc.rl.ac.uk = /disks/acache3/wps/proc_outputs ddp-store3 http://ddp-store3.badc.rl.ac.uk/wps_dl
109
110
111
112##############################################################################
113# COWS configuration section
114
115cows.capabilities_config = %(here)s/capabilities.conf
116
117
118##############################################################################
119# Proxy config
120
121# Edit this to work behind a proxy. 
122# It should match the apache ProxyPass directive
123[filter:proxy-prefix]
124use = egg:PasteDeploy#prefix
125prefix = /wps
126
127
128
129#############################################################################
130# Logging configuration
131[loggers]
132keys = root, cows_wps
133
134[handlers]
135keys = console
136
137[formatters]
138keys = generic
139
140[logger_root]
141level = INFO
142handlers = console
143
144[logger_cows_wps]
145level = DEBUG
146handlers =
147qualname = cows_wps
148
149[handler_console]
150class = StreamHandler
151args = (sys.stderr,)
152level = NOTSET
153formatter = generic
154
155[formatter_generic]
156format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
157datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.