1 | # $Id: migrate.properties.in 2614 2006-08-31 11:13:36Z nicklas $ |
---|
2 | # |
---|
3 | # Copyright (C) Authors contributing to this file. |
---|
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 2 |
---|
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 this program; if not, write to the Free Software |
---|
20 | # Foundation, Inc., 59 Temple Place - Suite 330, |
---|
21 | # Boston, MA 02111-1307, USA. |
---|
22 | |
---|
23 | # ======================= |
---|
24 | # BASE settings |
---|
25 | # ======================= |
---|
26 | |
---|
27 | ## The login and password for a BASE user that the agent should run as |
---|
28 | ## The use must have privileges corresponding to the predefined 'Job agent' role. |
---|
29 | agent.user=jobagent |
---|
30 | agent.password= |
---|
31 | |
---|
32 | ## The ID of this job agent. This is the value used for the external ID property |
---|
33 | ## in the database and used for automatic registration of the job agent |
---|
34 | ## THE ID MUST BE UNIQUE AMONG ALL RUNNING JOB AGENTS |
---|
35 | agent.id=local |
---|
36 | agent.name=Local job agent |
---|
37 | agent.description=This is the default job agent running on the same server as the web server |
---|
38 | |
---|
39 | # ======================= |
---|
40 | # Job agent server settings |
---|
41 | # ======================= |
---|
42 | |
---|
43 | ## The port the job agen should listen to for incoming control requests |
---|
44 | ## such as the start, stop, pause and info command |
---|
45 | agent.port=47822 |
---|
46 | |
---|
47 | ## Comma-separated list of computer ip-adresses or names that are allowed |
---|
48 | ## to remotely control this job agent. If the web server is on another |
---|
49 | ## computer this list should at least include that server. The local |
---|
50 | ## host is always allowed remote control and doesn't have to be in the list |
---|
51 | agent.remotecontrol= |
---|
52 | |
---|
53 | ## If the computers listed above also should be allowed to stop, start and/or |
---|
54 | ## pause the job agent or not |
---|
55 | agent.allowremote.stop=false |
---|
56 | agent.allowremote.start=true |
---|
57 | agent.allowremote.pause=true |
---|
58 | |
---|
59 | |
---|
60 | # ======================= |
---|
61 | # Job agent execution settings |
---|
62 | # ======================= |
---|
63 | |
---|
64 | # The name of the executor class that is responsible for starting the job |
---|
65 | ## The default is ProcessJobExecutor which starts job in a separate process |
---|
66 | ## The class must implement the net.sf.basedb.clients.JobExecutor interface |
---|
67 | |
---|
68 | # ------------------------------------------------------------------- |
---|
69 | # Executor that executes the jobs in a separate process (recommended) |
---|
70 | # Options: |
---|
71 | # java = Path to the java executable |
---|
72 | # options = Extra command line options to pass to the java executable |
---|
73 | # ------------------------------------------------------------------- |
---|
74 | agent.executor.class=net.sf.basedb.clients.jobagent.executors.ProcessJobExecutor |
---|
75 | agent.executor.process.java=java |
---|
76 | agent.executor.process.options=-server |
---|
77 | |
---|
78 | # ------------------------------------------------------------------- |
---|
79 | # Executor that executes jobs in the same process as the job agent (not recommended) |
---|
80 | # ------------------------------------------------------------------- |
---|
81 | # agent.executor.class=net.sf.basedb.clients.jobagent.executors.ThreadJobExecutor |
---|
82 | |
---|
83 | # ------------------------------------------------------------------- |
---|
84 | # Executor useful for debugging purposes. It just marks the job as |
---|
85 | # executed without really executing it. |
---|
86 | # Options: |
---|
87 | # wait = Number of seconds it takes to execute a job |
---|
88 | # ------------------------------------------------------------------- |
---|
89 | # agent.executor.class=net.sf.basedb.clients.jobagent.executors.DummyJobExecutor |
---|
90 | # agent.executor.dummy.wait=120 |
---|
91 | |
---|
92 | |
---|
93 | ## Number of seconds between checks to the job queue |
---|
94 | agent.checkinterval=30 |
---|
95 | |
---|
96 | ## Note! A quick job may use a slot from any of the pools reserved for |
---|
97 | ## slower jobs if there are unused slots. Priority values should be between |
---|
98 | ## 1 and 10, with 10 as the maximum priority. |
---|
99 | ## See http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html |
---|
100 | |
---|
101 | ## Number of slots to reserved for jobs that takes < 1 minute to execute |
---|
102 | agent.shortest.slots=1 |
---|
103 | agent.shortest.priority=4 |
---|
104 | |
---|
105 | ## Number of slots to reserved for jobs that takes < 10 minutes to execute |
---|
106 | agent.short.slots=1 |
---|
107 | agent.short.priority=4 |
---|
108 | |
---|
109 | #" Number of slots to reserved for jobs that takes < 1 hour to execute |
---|
110 | agent.medium.slots=2 |
---|
111 | agent.medium.priority=3 |
---|
112 | |
---|
113 | # Number of slots to reserved for jobs that takes > 1 hour to execute |
---|
114 | agent.long.slots=2 |
---|
115 | agent.long.priority=3 |
---|
116 | |
---|