Attachment 'deploy_distributed_example_database_3_14.xml'
Download 1 <?xml version="1.0" encoding="UTF-8"?>
2 <deployGlobal>
3 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
4 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
5 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
6 <deployClassPath>lib/dk.netarkivet.wayback.jar</deployClassPath>
7 <deployJavaOpt>-Xmx1536m</deployJavaOpt>
8 <settings>
9 <common>
10 <environmentName>TEST</environmentName>
11 <applicationInstanceId></applicationInstanceId>
12 <remoteFile>
13 <class>
14 dk.netarkivet.common.distribute.FTPRemoteFile
15 </class>
16 <serverPort>21</serverPort>
17 <retries>3</retries>
18 </remoteFile>
19 <jms>
20 <class>
21 dk.netarkivet.common.distribute.JMSConnectionSunMQ
22 </class>
23 <broker>east-adm-001.kb.dk</broker>
24 <port>7676</port>
25 </jms>
26 <jmx>
27 <passwordFile>conf/jmxremote.password</passwordFile>
28 <timeout>120</timeout>
29 </jmx>
30 <indexClient>
31 <indexRequestTimeout>43200000</indexRequestTimeout>
32 </indexClient>
33 <replicas>
34 <!-- The names of all bit archive replicas in the
35 environment, e.g., "nameOfBitachiveOne" and "nameOfBitachiveTwo". -->
36 <replica>
37 <replicaId>A</replicaId>
38 <replicaName>ReplicaA</replicaName>
39 <replicaType>bitarchive</replicaType>
40 </replica>
41 <replica>
42 <replicaId>B</replicaId>
43 <replicaName>ReplicaB</replicaName>
44 <replicaType>bitarchive</replicaType>
45 </replica>
46 <replica>
47 <replicaId>C</replicaId>
48 <replicaName>ReplicaC</replicaName>
49 <replicaType>checksum</replicaType>
50 </replica>
51 </replicas>
52 <!-- tempDir corrected from ./tests/commontempdir -->
53 <tempDir>tmpdircommon</tempDir>
54 </common>
55
56 <monitor>
57 <jmxUsername>monitorRole</jmxUsername>
58 <jmxPassword>test</jmxPassword>
59 </monitor>
60
61 <!-- directory for install -->
62 <archive>
63 <bitpreservation>
64 <baseDir>bitpreservation</baseDir>
65 <class>dk.netarkivet.archive.arcrepository.bitpreservation.DatabaseBasedActiveBitPreservation</class>
66 </bitpreservation>
67 <arcrepository>
68 <baseDir>.</baseDir>
69 </arcrepository>
70 </archive>
71 <!-- viewerproxy.baseDir is set below -->
72 <!-- harvester.harvesting.serverDir is set below -->
73 <harvester>
74 <harvesting>
75 <deduplication>
76 <enabled>true</enabled>
77 </deduplication>
78 </harvesting>
79 </harvester>
80 </settings>
81
82 <thisPhysicalLocation name="EAST">
83 <!-- installation directories only used by deploy -->
84 <deployInstallDir>/home/test</deployInstallDir>
85 <deployMachineUserName>test</deployMachineUserName>
86
87 <settings>
88 <common>
89 <remoteFile>
90 <serverName>east-har-001.kb.dk</serverName>
91 <userName>test</userName>
92 <userPassword>test123</userPassword>
93 </remoteFile>
94 <mail>
95 <server>post.kb.dk</server>
96 </mail>
97 <notifications>
98 <class>dk.netarkivet.common.utils.EMailNotifications</class>
99 <!-- T: receiver to be modified by test -->
100 <receiver>example@netarkivet.dk</receiver>
101 <sender>example@netarkivet.dk</sender>
102 </notifications>
103 <useReplicaId>A</useReplicaId>
104 </common>
105 </settings>
106
107 <deployMachine name="east-adm-001.kb.dk">
108 <deployInstallDir>/home/test</deployInstallDir>
109 <deployHarvestDatabaseDir>harvestDatabase</deployHarvestDatabaseDir>
110 <deployArchiveDatabaseDir>adminDB</deployArchiveDatabaseDir>
111 <settings>
112 <archive>
113 <admin>
114 <class>dk.netarkivet.archive.arcrepositoryadmin.DatabaseAdmin</class>
115 <database>
116 <class>dk.netarkivet.archive.arcrepositoryadmin.DerbyServerSpecifics</class>
117 <baseUrl>jdbc:derby</baseUrl>
118 <machine>localhost</machine>
119 <port>8119</port>
120 <dir>adminDB</dir>
121 </database>
122 </admin>
123 </archive>
124 <common>
125 <database>
126 <class>dk.netarkivet.harvester.datamodel.DerbyServerSpecifics</class>
127 <baseUrl>jdbc:derby</baseUrl>
128 <machine>localhost</machine>
129 <port>8118</port>
130 <dir>harvestDatabase/fullhddb</dir>
131 </database>
132 </common>
133 </settings>
134 <applicationName name="dk.netarkivet.common.webinterface.GUIApplication">
135 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
136 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
137 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
138 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
139 <settings>
140 <common>
141 <http>
142 <port>8076</port>
143 </http>
144 <jmx>
145 <port>8110</port>
146 <rmiPort>8210</rmiPort>
147 </jmx>
148 </common>
149 </settings>
150 </applicationName>
151 <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
152 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
153 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
154 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
155 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
156 <settings>
157 <common>
158 <jmx>
159 <port>8111</port>
160 <rmiPort>8211</rmiPort>
161 </jmx>
162 </common>
163 </settings>
164 </applicationName>
165 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
166 <settings>
167 <common>
168 <applicationInstanceId>ABM</applicationInstanceId>
169 <jmx>
170 <port>8112</port>
171 <rmiPort>8212</rmiPort>
172 </jmx>
173 </common>
174 </settings>
175 </applicationName>
176 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
177 <settings>
178 <common>
179 <applicationInstanceId>BBM</applicationInstanceId>
180 <jmx>
181 <port>8113</port>
182 <rmiPort>8213</rmiPort>
183 </jmx>
184 <useReplicaId>B</useReplicaId>
185 </common>
186 </settings>
187 </applicationName>
188 <applicationName name="dk.netarkivet.harvester.scheduler.HarvestJobManagerApplication">
189 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
190 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
191 <settings>
192 <common>
193 <jmx>
194 <port>8114</port>
195 <rmiPort>8214</rmiPort>
196 </jmx>
197 </common>
198 </settings>
199 </applicationName>
200 <applicationName name="dk.netarkivet.harvester.harvesting.monitor.HarvestMonitorApplication">
201 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
202 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
203 <settings>
204 <common>
205 <jmx>
206 <port>8115</port>
207 <rmiPort>8215</rmiPort>
208 </jmx>
209 </common>
210 </settings>
211 </applicationName>
212 </deployMachine>
213
214 <deployMachine os="windows" name="east-bar-013.bitarkiv.kb.dk">
215 <deployMachineUserName>ba-test</deployMachineUserName>
216 <deployInstallDir>c:\Users\Ba-Test</deployInstallDir>
217 <deployJavaOpt>-Xmx1150m</deployJavaOpt>
218
219 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
220 <settings>
221 <common>
222 <jmx>
223 <port>8110</port>
224 <rmiPort>8210</rmiPort>
225 </jmx>
226 </common>
227 <archive>
228 <!-- T: fileDir to be extended with $TESTX by test -->
229 <bitarchive>
230 <baseFileDir>c:\bitarkiv</baseFileDir>
231 </bitarchive>
232 </archive>
233 </settings>
234 </applicationName>
235 </deployMachine>
236
237 <deployMachine os="windows" name="east-bar-014.bitarkiv.kb.dk">
238 <deployMachineUserName>ba-test</deployMachineUserName>
239 <deployInstallDir>c:\Users\Ba-test</deployInstallDir>
240 <deployJavaOpt>-Xmx1150m</deployJavaOpt>
241
242 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
243 <settings>
244 <common>
245 <applicationInstanceId>BitApp_1</applicationInstanceId>
246 <jmx>
247 <port>8110</port>
248 <rmiPort>8210</rmiPort>
249 </jmx>
250 <tempDir>tempDir_1</tempDir>
251 </common>
252 <archive>
253 <!-- T: fileDir to be extended with $TESTX by test -->
254 <bitarchive>
255 <baseFileDir>d:\bitarkiv_1</baseFileDir>
256 </bitarchive>
257 </archive>
258 </settings>
259 </applicationName>
260 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
261 <settings>
262 <common>
263 <applicationInstanceId>BitApp_2</applicationInstanceId>
264 <jmx>
265 <port>8111</port>
266 <rmiPort>8211</rmiPort>
267 </jmx>
268 <tempDir>tempDir_2</tempDir>
269 </common>
270 <archive>
271 <!-- T: fileDir to be extended with $TESTX by test -->
272 <bitarchive>
273 <baseFileDir>e:\bitarkiv_2</baseFileDir>
274 </bitarchive>
275 </archive>
276 </settings>
277 </applicationName>
278 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
279 <settings>
280 <common>
281 <applicationInstanceId>BitApp_3</applicationInstanceId>
282 <jmx>
283 <port>8112</port>
284 <rmiPort>8212</rmiPort>
285 </jmx>
286 <tempDir>tempDir_3</tempDir>
287 </common>
288 <archive>
289 <!-- T: fileDir to be extended with $TESTX by test -->
290 <bitarchive>
291 <baseFileDir>f:\bitarkiv_3</baseFileDir>
292 </bitarchive>
293 </archive>
294 </settings>
295 </applicationName>
296
297 </deployMachine>
298
299 <deployMachine name="east-har-001.kb.dk">
300 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
301 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
302 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
303 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
304 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
305 <settings>
306 <common>
307 <jmx>
308 <port>8110</port>
309 <rmiPort>8210</rmiPort>
310 </jmx>
311 </common>
312 <harvester>
313 <harvesting>
314 <queuePriority>LOWPRIORITY</queuePriority> <!-- on http port-->
315 <heritrix>
316 <guiPort>8111</guiPort>
317 <!-- T: jmxPort to be modified by test (was 8091) -->
318 <jmxPort>8211</jmxPort>
319 <jmxUsername>controlRole</jmxUsername>
320 <jmxPassword>R_D</jmxPassword>
321 </heritrix>
322 <serverDir>harvester_low</serverDir>
323 </harvesting>
324 </harvester>
325 </settings>
326 </applicationName>
327 </deployMachine>
328
329
330 <deployMachine name="east-har-002.kb.dk">
331 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
332 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
333 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
334 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
335
336 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
337 <settings>
338 <common>
339 <applicationInstanceId>low</applicationInstanceId>
340 <jmx>
341 <port>8110</port>
342 <rmiPort>8210</rmiPort>
343 </jmx>
344 </common>
345 <harvester>
346 <harvesting>
347 <queuePriority>LOWPRIORITY</queuePriority>
348 <heritrix>
349 <guiPort>8111</guiPort>
350 <!-- T: jmxPort to be modified by test (was 8091) -->
351 <jmxPort>8211</jmxPort>
352 <jmxUsername>controlRole</jmxUsername>
353 <jmxPassword>R_D</jmxPassword>
354 </heritrix>
355 <serverDir>harvester_low</serverDir>
356 </harvesting>
357 </harvester>
358 </settings>
359 </applicationName>
360
361 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
362 <settings>
363 <common>
364 <applicationInstanceId>high</applicationInstanceId>
365 <jmx>
366 <port>8112</port>
367 <rmiPort>8212</rmiPort>
368 </jmx>
369 </common>
370 <harvester>
371 <harvesting>
372 <queuePriority>HIGHPRIORITY</queuePriority>
373 <heritrix>
374 <guiPort>8113</guiPort>
375 <!-- T: jmxPort to be modified by test (was 8093) -->
376 <jmxPort>8213</jmxPort>
377 <jmxUsername>controlRole</jmxUsername>
378 <jmxPassword>R_D</jmxPassword>
379 </heritrix>
380 <serverDir>harvester_high</serverDir>
381 </harvesting>
382 </harvester>
383 </settings>
384 </applicationName>
385 </deployMachine>
386
387 <deployMachine name="east-acs-001.kb.dk">
388 <settings>
389 <viewerproxy>
390 <baseDir>viewerproxy</baseDir>
391 </viewerproxy>
392 </settings>
393
394 <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
395 <settings>
396 <common>
397 <jmx>
398 <port>8111</port>
399 <rmiPort>8211</rmiPort>
400 </jmx>
401 </common>
402 </settings>
403 </applicationName>
404
405 <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
406 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
407 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
408 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
409 <settings>
410 <common>
411 <http>
412 <port>8076</port>
413 </http>
414 <jmx>
415 <port>8110</port>
416 <rmiPort>8210</rmiPort>
417 </jmx>
418 </common>
419 </settings>
420 </applicationName>
421
422 <applicationName name="dk.netarkivet.archive.checksum.ChecksumFileApplication">
423 <settings>
424 <archive>
425 <checksum>
426 <baseDir>CS</baseDir>
427 </checksum>
428 </archive>
429 <common>
430 <jmx>
431 <port>8112</port>
432 <rmiPort>8212</rmiPort>
433 </jmx>
434 <useReplicaId>C</useReplicaId>
435 </common>
436 </settings>
437 </applicationName>
438 </deployMachine>
439 </thisPhysicalLocation>
440
441 <thisPhysicalLocation name="WEST">
442 <!-- installation directories only used by deploy -->
443 <deployInstallDir>/home/netarkiv</deployInstallDir>
444 <deployMachineUserName>netarkiv</deployMachineUserName>
445
446 <settings>
447 <common>
448 <remoteFile>
449 <serverName>west-har-001.statsbiblioteket.dk</serverName>
450 <userName>ftptestuser</userName>
451 <userPassword>ftptestpassword</userPassword>
452 </remoteFile>
453 <mail>
454 <server>examplefptserver.netarkivet.dk</server>
455 </mail>
456 <notifications>
457 <class>dk.netarkivet.common.utils.EMailNotifications</class>
458 <!-- T: receiver to be modified by test -->
459 <receiver>example@netarkivet.dk</receiver>
460 <sender>example@netarkivet.dk</sender>
461 </notifications>
462 <useReplicaId>B</useReplicaId>
463 </common>
464 </settings>
465
466 <deployMachine name="west-har-001.statsbiblioteket.dk">
467 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
468 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
469 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
470 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
471
472 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
473 <settings>
474 <common>
475 <jmx>
476 <port>8110</port>
477 <rmiPort>8210</rmiPort>
478 </jmx>
479 </common>
480 <harvester>
481 <harvesting>
482 <queuePriority>HIGHPRIORITY</queuePriority>
483 <heritrix>
484 <guiPort>8111</guiPort>
485 <!-- T: jmxPort to be modified by test (was 8091) -->
486 <jmxPort>8211</jmxPort>
487 <jmxUsername>controlRole</jmxUsername>
488 <jmxPassword>R_D</jmxPassword>
489 </heritrix>
490 <metadata>
491 <heritrixFilePattern>.*(\.xml|\.txt|\.log|\.out)</heritrixFilePattern>
492 <reportFilePattern>.*-report.txt</reportFilePattern>
493 <logFilePattern>.*(\.log|\.out)</logFilePattern>
494 </metadata>
495 <serverDir>harvester_high</serverDir>
496 </harvesting>
497 </harvester>
498 </settings>
499 </applicationName>
500 </deployMachine>
501
502 <deployMachine name="west-bar-001.statsbiblioteket.dk">
503 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
504 <settings>
505 <common>
506 <jmx>
507 <port>8110</port>
508 <rmiPort>8210</rmiPort>
509 </jmx>
510 </common>
511 <archive>
512 <!-- T: baseFileDir to be extended with $TESTX by test -->
513 <bitarchive>
514 <baseFileDir>/netarkiv/0001</baseFileDir>
515 </bitarchive>
516 <!-- T: baseFileDir to be extended with $TESTX by test -->
517 <bitarchive>
518 <baseFileDir>/netarkiv/0002</baseFileDir>
519 </bitarchive>
520 </archive>
521 </settings>
522 </applicationName>
523 </deployMachine>
524
525 <deployMachine name="west-acs-001.statsbiblioteket.dk">
526 <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
527 <settings>
528 <common>
529 <jmx>
530 <port>8110</port>
531 <rmiPort>8210</rmiPort>
532 </jmx>
533 <http>
534 <port>8076</port>
535 </http>
536 </common>
537 <viewerproxy>
538 <baseDir>viewerproxy</baseDir>
539 </viewerproxy>
540 </settings>
541 </applicationName>
542 </deployMachine>
543 </thisPhysicalLocation>
544 </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.