source: trunk/config/dist/jobagent.properties @ 4508

Last change on this file since 4508 was 4508, checked in by Jari Häkkinen, 13 years ago

Addresses #1106. Missed to change reference wherefrom retrive GPLv3 license text. And some other changes.

File size: 4.4 KB
Line 
1# $Id: migrate.properties.in 2614 2006-08-31 11:13:36Z nicklas $
2#
3# Copyright (C) 2006 Nicklas Nordborg
4#
5# This file is part of BASE - BioArray Software Environment.
6# Available at http://base.thep.lu.se/
7#
8# BASE is free software; you can redistribute it and/or
9# modify it under the terms of the GNU General Public License
10# as published by the Free Software Foundation; either version 3
11# of the License, or (at your option) any later version.
12#
13# BASE is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with BASE. If not, see <http://www.gnu.org/licenses/>.
20
21# =======================
22# BASE settings
23# =======================
24
25## The login and password for a BASE user that the agent should run as
26## The use must have privileges corresponding to the predefined 'Job agent' role.
27agent.user=jobagent
28agent.password=
29
30## The ID of this job agent. This is the value used for the external ID property
31## in the database and used for automatic registration of the job agent
32## THE ID MUST BE UNIQUE AMONG ALL RUNNING JOB AGENTS
33agent.id=local
34agent.name=Local job agent
35agent.description=This is the default job agent running on the same server as the web server
36
37# =======================
38# Job agent server settings
39# =======================
40
41## The port the job agen should listen to for incoming control requests
42## such as the start, stop, pause and info command
43agent.port=47822
44
45## Comma-separated list of computer ip-adresses or names that are allowed
46## to remotely control this job agent. If the web server is on another
47## computer this list should at least include that server. The local
48## host is always allowed remote control and doesn't have to be in the list
49agent.remotecontrol=
50
51## If the computers listed above also should be allowed to stop, start and/or
52## pause the job agent or not
53agent.allowremote.stop=false
54agent.allowremote.start=true
55agent.allowremote.pause=true
56
57
58# =======================
59# Job agent execution settings
60# =======================
61
62# The name of the executor class that is responsible for starting the job
63## The default is ProcessJobExecutor which starts job in a separate process
64## The class must implement the net.sf.basedb.clients.JobExecutor interface
65
66# -------------------------------------------------------------------
67# Executor that executes the jobs in a separate process (recommended)
68# Options:
69#  java = Path to the java executable
70#  options = Extra command line options to pass to the java executable
71# -------------------------------------------------------------------
72agent.executor.class=net.sf.basedb.clients.jobagent.executors.ProcessJobExecutor
73agent.executor.process.java=java
74agent.executor.process.options=-server
75
76# -------------------------------------------------------------------
77# Executor that executes jobs in the same process as the job agent (not recommended)
78# -------------------------------------------------------------------
79# agent.executor.class=net.sf.basedb.clients.jobagent.executors.ThreadJobExecutor
80
81# -------------------------------------------------------------------
82# Executor useful for debugging purposes. It just marks the job as
83# executed without really executing it.
84# Options:
85#  wait = Number of seconds it takes to execute a job
86# -------------------------------------------------------------------
87# agent.executor.class=net.sf.basedb.clients.jobagent.executors.DummyJobExecutor
88# agent.executor.dummy.wait=120
89
90
91## Number of seconds between checks to the job queue
92agent.checkinterval=30
93
94## Note! A quick job may use a slot from any of the pools reserved for
95## slower jobs if there are unused slots. Priority values should be between
96## 1 and 10, with 10 as the maximum priority.
97## See http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html
98
99## Number of slots to reserved for jobs that takes < 1 minute to execute
100agent.shortest.slots=1
101agent.shortest.priority=4
102
103## Number of slots to reserved for jobs that takes < 10 minutes to execute
104agent.short.slots=1
105agent.short.priority=4
106
107#" Number of slots to reserved for jobs that takes < 1 hour to execute
108agent.medium.slots=2
109agent.medium.priority=3
110
111# Number of slots to reserved for jobs that takes > 1 hour to execute
112agent.long.slots=2
113agent.long.priority=3
114
Note: See TracBrowser for help on using the repository browser.