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