Attachment 'deploy_distributed_example_single.xml'
Download 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * File: $Id$
4 * Revision: $Revision$
5 * Author: $Author$
6 * Date: $Date$
7 *
8 * The Netarchive Suite - Software to harvest and preserve websites
9 * Copyright 2004-2010 Det Kongelige Bibliotek and Statsbiblioteket, Denmark
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation; either
14 * version 2.1 of the License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
24 * USA
25 */
26 -->
27 <!--
28 This file contains an example of a deploy configuration file.
29
30 It contains a distributed single leg setup, which means that it does
31 not support bitpreservation.
32
33 -->
34 <deployGlobal>
35 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
36 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
37 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
38 <deployJavaOpt>-Xmx1536m</deployJavaOpt>
39 <settings>
40 <common>
41 <environmentName>TEST</environmentName>
42 <applicationInstanceId/>
43 <remoteFile>
44 <class>
45 dk.netarkivet.common.distribute.FTPRemoteFile
46 </class>
47 <serverPort>21</serverPort>
48 <retries>3</retries>
49 </remoteFile>
50 <jms>
51 <class>
52 dk.netarkivet.common.distribute.JMSConnectionSunMQ
53 </class>
54 <broker>east-adm-001.kb.dk</broker>
55 <port>7676</port>
56 </jms>
57 <jmx>
58 <passwordFile>conf/jmxremote.password</passwordFile>
59 <timeout>120</timeout>
60 </jmx>
61 <indexClient>
62 <indexRequestTimeout>43200000</indexRequestTimeout>
63 </indexClient>
64 <replicas>
65 <!-- The names of all bit archive replicas in the
66 environment, e.g., "nameOfBitachiveOne" and "nameOfBitachiveTwo". -->
67 <replica>
68 <replicaId>A</replicaId>
69 <replicaName>ReplicaA</replicaName>
70 <replicaType>bitarchive</replicaType>
71 </replica>
72 </replicas>
73 <!-- Default bit archive to use for batch jobs (if none is specified) -->
74 <!-- or get and getFile oprations, (as well as bitArchive monitor) -->
75 <database>
76 <url/>
77 </database>
78
79 <!-- tempDir corrected from ./tests/commontempdir -->
80 <tempDir>tmpdircommon</tempDir>
81 </common>
82
83 <monitor>
84 <jmxUsername>monitorRole</jmxUsername>
85 <jmxPassword>test</jmxPassword>
86 </monitor>
87
88 <!-- directory for install -->
89 <archive>
90 <bitpreservation>
91 <baseDir>bitpreservation</baseDir>
92 </bitpreservation>
93 <arcrepository>
94 <baseDir>.</baseDir>
95 </arcrepository>
96 </archive>
97 <!-- viewerproxy.baseDir is set below -->
98 <!-- harvester.harvesting.serverDir is set below -->
99 <harvester>
100 <harvesting>
101 <deduplication>
102 <enabled>false</enabled>
103 </deduplication>
104 </harvesting>
105 </harvester>
106 </settings>
107
108 <thisPhysicalLocation name="EAST">
109 <deployMachineUserName>test</deployMachineUserName>
110 <deployInstallDir>/home/test</deployInstallDir>
111 <deployDatabaseDir>databaseDir</deployDatabaseDir>
112 <settings>
113 <common>
114 <remoteFile>
115 <serverName>east-har-001.kb.dk</serverName>
116 <userName>ftptestuser</userName>
117 <userPassword>ftptestpasswd</userPassword>
118 </remoteFile>
119 <useReplicaId>A</useReplicaId>
120 <notifications>
121 <sender>example@netarkivet.dk</sender>
122 <receiver>example@netarkivet.dk</receiver>
123 </notifications>
124 </common>
125 </settings>
126
127 <deployMachine name="east-adm-001.kb.dk">
128 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
129 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
130 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
131 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
132 <settings>
133 <common>
134 <jms>
135 <class>dk.netarkivet.common.distribute.JMSConnectionSunMQ</class>
136 </jms>
137 </common>
138 </settings>
139 <applicationName name="dk.netarkivet.common.webinterface.GUIApplication">
140 <settings>
141 <common>
142 <jmx>
143 <port>8100</port>
144 <rmiPort>8300</rmiPort>
145 </jmx>
146 </common>
147 </settings>
148 </applicationName>
149
150 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
151 <settings>
152 <common>
153 <useReplicaId>B</useReplicaId>
154 <applicationInstanceId>BBM</applicationInstanceId>
155 <jmx>
156 <port>8101</port>
157 <rmiPort>8301</rmiPort>
158 </jmx>
159 </common>
160 </settings>
161 </applicationName>
162
163 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
164 <settings>
165 <common>
166 <useReplicaId>A</useReplicaId>
167 <applicationInstanceId>ABM</applicationInstanceId>
168 <jmx>
169 <port>8102</port>
170 <rmiPort>8302</rmiPort>
171 </jmx>
172 </common>
173 </settings>
174 </applicationName>
175
176 <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
177 <settings>
178 <common>
179 <jmx>
180 <port>8103</port>
181 <rmiPort>8303</rmiPort>
182 </jmx>
183 </common>
184 </settings>
185 </applicationName>
186 </deployMachine>
187
188 <deployMachine os="windows" name="east-bar-001.kb.dk">
189 <deployMachineUserName>ba-test</deployMachineUserName>
190 <deployInstallDir>c:\Documents and Settings\ba-test</deployInstallDir>
191 <deployJavaOpt>-Xmx1150m</deployJavaOpt>
192
193 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
194 <settings>
195 <common>
196 <jmx>
197 <port>8100</port>
198 <rmiPort>8300</rmiPort>
199 </jmx>
200 </common>
201 <archive>
202 <bitarchive>
203 <baseFileDir>q:\bitarkiv</baseFileDir>
204 </bitarchive>
205 </archive>
206 </settings>
207 </applicationName>
208 </deployMachine>
209
210 <deployMachine os="windows" name="east-bar-002.kb.dk">
211 <deployMachineUserName>ba-test</deployMachineUserName>
212 <deployInstallDir>c:\Documents and Settings\ba-test</deployInstallDir>
213 <deployJavaOpt>-Xmx1150m</deployJavaOpt>
214
215 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
216 <settings>
217 <common>
218 <jmx>
219 <port>8100</port>
220 <rmiPort>8300</rmiPort>
221 </jmx>
222 </common>
223 <archive>
224 <bitarchive>
225 <baseFileDir>q:\bitarkiv</baseFileDir>
226 </bitarchive>
227 </archive>
228 </settings>
229 </applicationName>
230 </deployMachine>
231
232 <deployMachine name="east-har-001.kb.dk">
233 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
234 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
235 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
236 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
237
238 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
239 <settings>
240 <common>
241 <jmx>
242 <port>8100</port>
243 <rmiPort>8300</rmiPort>
244 </jmx>
245 <http>
246 <port>8081</port>
247 </http>
248 </common>
249 <harvester>
250 <harvesting>
251 <queuePriority>LOWPRIORITY</queuePriority>
252 <heritrix>
253 <guiPort>8190</guiPort>
254 <jmxPort>8191</jmxPort>
255 </heritrix>
256 <serverDir>harvester_low</serverDir>
257 </harvesting>
258 </harvester>
259 </settings>
260 </applicationName>
261 </deployMachine>
262
263 <deployMachine name="east-har-002.kb.dk">
264 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
265 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
266 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
267 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
268
269 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
270 <settings>
271 <common>
272 <jmx>
273 <port>8100</port>
274 <rmiPort>8300</rmiPort>
275 </jmx>
276 <http>
277 <port>8081</port>
278 </http>
279 </common>
280 <harvester>
281 <harvesting>
282 <queuePriority>LOWPRIORITY</queuePriority>
283 <heritrix>
284 <guiPort>8190</guiPort>
285 <jmxPort>8191</jmxPort>
286 </heritrix>
287 <serverDir>harvester_low</serverDir>
288 </harvesting>
289 </harvester>
290 </settings>
291 </applicationName>
292 </deployMachine>
293
294 <deployMachine name="east-acs-001.kb.dk">
295 <settings>
296 <common>
297 <http>
298 <port>8076</port>
299 </http>
300 </common>
301 <viewerproxy>
302 <baseDir>viewerproxy</baseDir>
303 </viewerproxy>
304 </settings>
305
306 <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
307 <settings>
308 <common>
309 <jmx>
310 <port>8100</port>
311 <rmiPort>8100</rmiPort>
312 </jmx>
313 </common>
314 </settings>
315 </applicationName>
316 <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
317 <settings>
318 <common>
319 <jmx>
320 <port>8101</port>
321 <rmiPort>8101</rmiPort>
322 </jmx>
323 </common>
324 </settings>
325 </applicationName>
326 </deployMachine>
327 </thisPhysicalLocation>
328 </deployGlobal>
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.