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