Attachment 'deploy_distributed_example.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 <deployGlobal>
31 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
32 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
33 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
34 <deployClassPath>lib/dk.netarkivet.wayback.jar</deployClassPath>
35 <deployJavaOpt>-Xmx1536m</deployJavaOpt>
36 <settings>
37 <common>
38 <environmentName>TEST</environmentName>
39 <applicationInstanceId/>
40 <remoteFile>
41 <class>
42 dk.netarkivet.common.distribute.FTPRemoteFile
43 </class>
44 <serverPort>21</serverPort>
45 <retries>3</retries>
46 </remoteFile>
47 <jms>
48 <class>
49 dk.netarkivet.common.distribute.JMSConnectionSunMQ
50 </class>
51 <broker>east-adm-001.kb.dk</broker>
52 <port>7676</port>
53 </jms>
54 <jmx>
55 <passwordFile>conf/jmxremote.password</passwordFile>
56 <timeout>120</timeout>
57 </jmx>
58 <indexClient>
59 <indexRequestTimeout>43200000</indexRequestTimeout>
60 </indexClient>
61 <replicas>
62 <!-- The names of all bit archive replicas in the
63 environment, e.g., "nameOfBitachiveOne" and "nameOfBitachiveTwo". -->
64 <replica>
65 <replicaId>A</replicaId>
66 <replicaName>ReplicaA</replicaName>
67 <replicaType>bitarchive</replicaType>
68 </replica>
69 <replica>
70 <replicaId>B</replicaId>
71 <replicaName>ReplicaB</replicaName>
72 <replicaType>bitarchive</replicaType>
73 </replica>
74 </replicas>
75 <!-- Default bit archive to use for batch jobs (if none is specified) -->
76 <!-- or get and getFile oprations, (as well as bitArchive monitor) -->
77 <database>
78 <url/>
79 </database>
80
81 <!-- tempDir corrected from ./tests/commontempdir -->
82 <tempDir>tmpdircommon</tempDir>
83 </common>
84
85 <monitor>
86 <jmxUsername>monitorRole</jmxUsername>
87 <jmxPassword>test</jmxPassword>
88 </monitor>
89
90 <!-- directory for install -->
91 <archive>
92 <bitpreservation>
93 <baseDir>bitpreservation</baseDir>
94 </bitpreservation>
95 <arcrepository>
96 <baseDir>.</baseDir>
97 </arcrepository>
98 </archive>
99 <!-- viewerproxy.baseDir is set below -->
100 <!-- harvester.harvesting.serverDir is set below -->
101 <harvester>
102 <harvesting>
103 <deduplication>
104 <enabled>false</enabled>
105 </deduplication>
106 </harvesting>
107 </harvester>
108 </settings>
109
110 <thisPhysicalLocation name="EAST">
111 <deployMachineUserName>test</deployMachineUserName>
112 <deployInstallDir>/home/test</deployInstallDir>
113 <deployDatabaseDir>databaseDir</deployDatabaseDir>
114 <settings>
115 <common>
116 <remoteFile>
117 <serverName>east-har-001.kb.dk</serverName>
118 <userName>ftptestuser</userName>
119 <userPassword>ftptestpasswd</userPassword>
120 </remoteFile>
121 <useReplicaId>A</useReplicaId>
122 <notifications>
123 <sender>example@netarkivet.dk</sender>
124 <receiver>example@netarkivet.dk</receiver>
125 </notifications>
126 </common>
127 </settings>
128
129 <deployMachine name="east-adm-001.kb.dk">
130 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
131 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
132 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
133 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
134 <settings>
135 <common>
136 <jms>
137 <class>dk.netarkivet.common.distribute.JMSConnectionSunMQ</class>
138 </jms>
139 </common>
140 </settings>
141 <applicationName name="dk.netarkivet.common.webinterface.GUIApplication">
142 <settings>
143 <common>
144 <jmx>
145 <port>8100</port>
146 <rmiPort>8300</rmiPort>
147 </jmx>
148 </common>
149 </settings>
150 </applicationName>
151
152 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
153 <settings>
154 <common>
155 <useReplicaId>B</useReplicaId>
156 <applicationInstanceId>BBM</applicationInstanceId>
157 <jmx>
158 <port>8101</port>
159 <rmiPort>8301</rmiPort>
160 </jmx>
161 </common>
162 </settings>
163 </applicationName>
164
165 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
166 <settings>
167 <common>
168 <useReplicaId>A</useReplicaId>
169 <applicationInstanceId>ABM</applicationInstanceId>
170 <jmx>
171 <port>8102</port>
172 <rmiPort>8302</rmiPort>
173 </jmx>
174 </common>
175 </settings>
176 </applicationName>
177
178 <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
179 <settings>
180 <common>
181 <jmx>
182 <port>8103</port>
183 <rmiPort>8303</rmiPort>
184 </jmx>
185 </common>
186 </settings>
187 </applicationName>
188 </deployMachine>
189
190 <deployMachine os="windows" name="east-bar-001.kb.dk">
191 <deployMachineUserName>ba-test</deployMachineUserName>
192 <deployInstallDir>c:\Documents and Settings\ba-test</deployInstallDir>
193 <deployJavaOpt>-Xmx1150m</deployJavaOpt>
194
195 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
196 <settings>
197 <common>
198 <jmx>
199 <port>8100</port>
200 <rmiPort>8300</rmiPort>
201 </jmx>
202 </common>
203 <archive>
204 <bitarchive>
205 <baseFileDir>q:\bitarkiv</baseFileDir>
206 </bitarchive>
207 </archive>
208 </settings>
209 </applicationName>
210 </deployMachine>
211
212 <deployMachine os="windows" name="east-bar-002.kb.dk">
213 <deployMachineUserName>ba-test</deployMachineUserName>
214 <deployInstallDir>c:\Documents and Settings\ba-test</deployInstallDir>
215 <deployJavaOpt>-Xmx1150m</deployJavaOpt>
216
217 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
218 <settings>
219 <common>
220 <jmx>
221 <port>8100</port>
222 <rmiPort>8300</rmiPort>
223 </jmx>
224 </common>
225 <archive>
226 <bitarchive>
227 <baseFileDir>q:\bitarkiv</baseFileDir>
228 </bitarchive>
229 </archive>
230 </settings>
231 </applicationName>
232 </deployMachine>
233
234 <deployMachine name="east-har-001.kb.dk">
235 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
236 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
237 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
238 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
239
240 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
241 <settings>
242 <common>
243 <jmx>
244 <port>8100</port>
245 <rmiPort>8300</rmiPort>
246 </jmx>
247 <http>
248 <port>8081</port>
249 </http>
250 </common>
251 <harvester>
252 <harvesting>
253 <queuePriority>LOWPRIORITY</queuePriority>
254 <heritrix>
255 <guiPort>8190</guiPort>
256 <jmxPort>8191</jmxPort>
257 </heritrix>
258 <serverDir>harvester_low</serverDir>
259 </harvesting>
260 </harvester>
261 </settings>
262 </applicationName>
263 </deployMachine>
264
265 <deployMachine name="east-har-002.kb.dk">
266 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
267 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
268 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
269 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
270
271 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
272 <settings>
273 <common>
274 <jmx>
275 <port>8100</port>
276 <rmiPort>8300</rmiPort>
277 </jmx>
278 <http>
279 <port>8081</port>
280 </http>
281 </common>
282 <harvester>
283 <harvesting>
284 <queuePriority>LOWPRIORITY</queuePriority>
285 <heritrix>
286 <guiPort>8190</guiPort>
287 <jmxPort>8191</jmxPort>
288 </heritrix>
289 <serverDir>harvester_low</serverDir>
290 </harvesting>
291 </harvester>
292 </settings>
293 </applicationName>
294 </deployMachine>
295
296 <deployMachine name="east-acs-001.kb.dk">
297 <settings>
298 <common>
299 <http>
300 <port>8076</port>
301 </http>
302 </common>
303 <viewerproxy>
304 <baseDir>viewerproxy</baseDir>
305 </viewerproxy>
306 </settings>
307
308 <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
309 <settings>
310 <common>
311 <jmx>
312 <port>8100</port>
313 <rmiPort>8100</rmiPort>
314 </jmx>
315 </common>
316 </settings>
317 </applicationName>
318 <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
319 <settings>
320 <common>
321 <jmx>
322 <port>8101</port>
323 <rmiPort>8101</rmiPort>
324 </jmx>
325 </common>
326 </settings>
327 </applicationName>
328 </deployMachine>
329 </thisPhysicalLocation>
330
331 <thisPhysicalLocation name="WEST">
332 <deployMachineUserName>netarkiv</deployMachineUserName>
333 <deployInstallDir>/home/netarkiv</deployInstallDir>
334 <settings>
335 <common>
336 <remoteFile>
337 <serverName>west-har-001.statsbiblioteket.dk</serverName>
338 <userName>ftptestuser</userName>
339 <userPassword>ftptestpasswd</userPassword>
340 </remoteFile>
341 <mail>
342 <server>examplesmtpserver.netarkivet.dk</server>
343 </mail>
344 <notifications>
345 <class>dk.netarkivet.common.utils.EMailNotifications</class>
346 <sender>example@netarkivet.dk</sender>
347 <receiver>example@netarkivet.dk</receiver>
348 </notifications>
349 <useReplicaId>B</useReplicaId>
350 </common>
351 </settings>
352
353 <deployMachine name="west-bar-001.statsbiblioteket.dk">
354 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
355 <settings>
356 <common>
357 <jmx>
358 <port>8100</port>
359 <rmiPort>8300</rmiPort>
360 </jmx>
361 </common>
362 <archive>
363 <bitarchive>
364 <baseFileDir>/netarkiv/0001</baseFileDir>
365 </bitarchive>
366 <bitarchive>
367 <baseFileDir>/netarkiv/0002</baseFileDir>
368 </bitarchive>
369 </archive>
370 </settings>
371 </applicationName>
372 </deployMachine>
373
374 <deployMachine name="west-har-001.statsbiblioteket.dk">
375 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
376 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
377 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
378 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
379
380 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
381 <settings>
382 <common>
383 <jmx>
384 <port>8100</port>
385 <rmiPort>8300</rmiPort>
386 </jmx>
387 <http>
388 <port>8081</port>
389 </http>
390 </common>
391 <harvester>
392 <harvesting>
393 <queuePriority>HIGHPRIORITY</queuePriority>
394 <heritrix>
395 <guiPort>8190</guiPort>
396 <jmxPort>8191</jmxPort>
397 <jmxUsername>controlRole</jmxUsername>
398 <jmxPassword>R_D</jmxPassword>
399 </heritrix>
400 <serverDir>harvester_low</serverDir>
401 </harvesting>
402 </harvester>
403 </settings>
404 </applicationName>
405 </deployMachine>
406
407 <deployMachine name="west-acs-001.statsbiblioteket.dk">
408 <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
409 <settings>
410 <common>
411 <http>
412 <port>8076</port>
413 </http>
414 <jmx>
415 <port>8100</port>
416 <rmiPort>8300</rmiPort>
417 </jmx>
418 </common>
419 <viewerproxy>
420 <baseDir>viewerproxy</baseDir>
421 </viewerproxy>
422 </settings>
423 </applicationName>
424 </deployMachine>
425 </thisPhysicalLocation>
426 </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.