/
deploy_standalone_example.xml
332 lines (328 loc) · 11.7 KB
/
deploy_standalone_example.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
<?xml version="1.0" encoding="UTF-8"?>
<!--
*$Id$
* $Revision$
* $Author$
* $Date$
*
* The Netarchive Suite - Software to harvest and preserve websites
* Copyright 2004-2012 The Royal Danish Library, the Danish State and
University Library, the National Library of France and the Austrian
National Library.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*
-->
<!--
This file contains an example of a deploy configuration file for the
one machine scenario. Kind of running 'quickstart' on another machine.
Uses HTTP as file transport agent. Requires the availability of
port 7676: JMS broker
port 8040-8050 for the http filetransport servers serving the HTTPRemoteFile;
port 8070 for the viewerproxy.
port 8074 for the GUIApplication webinterface
port 8090-8093 for the Heritrix1 GUI
port 8094-8097 for the Heritrix3 GUI
port 8110-8120: JMX ports
port 8210-8220: RMI ports
port 8120-8121: databases
Does not include a checksum replica w/ a ChecksumFileApplication
Uses the default ActiveBitPreservation implementation
(currently dk.netarkivet.archive.arcrepository.bitpreservation.
FileBasedActiveBitPreservation).
-->
<deployGlobal>
<deployClassPath>lib/netarchivesuite-monitor-core.jar</deployClassPath>
<settings>
<common>
<environmentName>QUICKSTART</environmentName>
<applicationInstanceId></applicationInstanceId>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
</remoteFile>
<jms>
<class>dk.netarkivet.common.distribute.JMSConnectionSunMQ</class>
<broker>localhost</broker>
<port>7676</port>
</jms>
<jmx>
<passwordFile>conf/jmxremote.password</passwordFile>
<timeout>120</timeout>
</jmx>
<indexClient>
<indexRequestTimeout>43200000</indexRequestTimeout>
</indexClient>
<replicas>
<replica>
<replicaId>A</replicaId>
<replicaName>ReplicaA</replicaName>
<replicaType>bitarchive</replicaType>
</replica>
</replicas>
<database>
<url></url>
</database>
<tempDir>tmpdircommon</tempDir>
</common>
<monitor>
<jmxUsername>monitorRole</jmxUsername>
<jmxPassword>test</jmxPassword>
</monitor>
<archive>
<bitpreservation>
<baseDir>bitpreservation</baseDir>
<class>dk.netarkivet.archive.arcrepository.bitpreservation.DatabaseBasedActiveBitPreservation</class>
</bitpreservation>
<arcrepository>
<baseDir>.</baseDir>
</arcrepository>
</archive>
</settings>
<thisPhysicalLocation name="NATIONAL_LIBRARY">
<deployInstallDir>/home/test</deployInstallDir>
<deployMachineUserName>test</deployMachineUserName>
<settings>
<common>
<useReplicaId>A</useReplicaId>
<mail>
<server>post.kb.dk</server>
</mail>
<notifications>
<class>dk.netarkivet.common.utils.EMailNotifications</class>
<receiver>example@netarkivet.dk</receiver>
<sender>example@netarkivet.dk</sender>
</notifications>
</common>
<viewerproxy>
<baseDir>viewerproxy</baseDir>
</viewerproxy>
</settings>
<deployMachine name="localhost">
<deployHarvestDatabaseDir>harvestDatabase</deployHarvestDatabaseDir>
<deployArchiveDatabaseDir>adminDB</deployArchiveDatabaseDir>
<settings>
<archive>
<admin>
<class>dk.netarkivet.archive.arcrepositoryadmin.DatabaseAdmin</class>
<database>
<class>dk.netarkivet.archive.arcrepositoryadmin.PostgreSQLSpecifics</class>
<baseUrl>jdbc:postgresql</baseUrl>
<machine>localhost</machine>
<port>5432</port>
<dir>admindb</dir>
<username>devel</username>
<password>develpass</password>
<pool>
<idleConnTestQuery>SELECT COUNT(*) FROM replica</idleConnTestQuery>
<idleConnTestOnCheckin>false</idleConnTestOnCheckin>
</pool>
</database>
</admin>
</archive>
<common>
<database>
<class>dk.netarkivet.harvester.datamodel.PostgreSQLSpecifics</class>
<baseUrl>jdbc:postgresql</baseUrl>
<machine>localhost</machine>
<port>5432</port>
<dir>harvestdb</dir>
<username>devel</username>
<password>develpass</password>
</database>
</common>
</settings>
<applicationName name="dk.netarkivet.common.webinterface.GUIApplication">
<deployClassPath>lib/netarchivesuite-harvest-scheduler.jar</deployClassPath>
<deployClassPath>lib/netarchivesuite-archive-core.jar</deployClassPath>
<settings>
<common>
<http>
<port>8074</port>
</http>
<jmx>
<port>8110</port>
<rmiPort>8210</rmiPort>
</jmx>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
<port>8040</port>
</remoteFile>
</common>
</settings>
</applicationName>
<applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
<deployClassPath>lib/netarchivesuite-archive-core.jar</deployClassPath>
<settings>
<common>
<jmx>
<port>8111</port>
<rmiPort>8211</rmiPort>
</jmx>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
<port>8041</port>
</remoteFile>
</common>
</settings>
</applicationName>
<applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
<deployClassPath>lib/netarchivesuite-archive-core.jar</deployClassPath>
<settings>
<common>
<jmx>
<port>8112</port>
<rmiPort>8212</rmiPort>
</jmx>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
<port>8042</port>
</remoteFile>
</common>
</settings>
</applicationName>
<applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
<deployClassPath>lib/netarchivesuite-archive-core.jar</deployClassPath>
<settings>
<common>
<jmx>
<port>8113</port>
<rmiPort>8213</rmiPort>
</jmx>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
<port>8043</port>
</remoteFile>
</common>
<archive>
<bitarchive>
<baseFileDir>bitarkiv</baseFileDir>
</bitarchive>
</archive>
</settings>
</applicationName>
<applicationName name="dk.netarkivet.harvester.heritrix3.HarvestControllerApplication">
<deployClassPath>lib/netarchivesuite-heritrix3-controller.jar</deployClassPath>
<settings>
<common>
<applicationInstanceId>snapshot1</applicationInstanceId>
<jmx>
<port>8114</port>
<rmiPort>8214</rmiPort>
</jmx>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
<port>8044</port>
</remoteFile>
</common>
<harvester>
<harvesting>
<channel>SNAPSHOT</channel>
<heritrix>
<guiPort>8190</guiPort>
<jmxPort>8191</jmxPort>
<jmxUsername>controlRole</jmxUsername>
<jmxPassword>R_D</jmxPassword>
</heritrix>
<heritrix3>
</heritrix3>
<serverDir>harvester_snapshot</serverDir>
</harvesting>
</harvester>
</settings>
</applicationName>
<applicationName name="dk.netarkivet.harvester.heritrix3.HarvestControllerApplication">
<deployClassPath>lib/netarchivesuite-heritrix3-controller.jar</deployClassPath>
<settings>
<common>
<applicationInstanceId>focused1</applicationInstanceId>
<jmx>
<port>8115</port>
<rmiPort>8215</rmiPort>
</jmx>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
<port>8045</port>
</remoteFile>
</common>
<harvester>
<harvesting>
<channel>FOCUSED</channel>
<heritrix>
<guiPort>8192</guiPort>
<jmxPort>8193</jmxPort>
<jmxUsername>controlRole</jmxUsername>
<jmxPassword>R_D</jmxPassword>
</heritrix>
<heritrix3>
</heritrix3>
<serverDir>harvester_focused</serverDir>
</harvesting>
</harvester>
</settings>
</applicationName>
<applicationName name="dk.netarkivet.harvester.indexserver.IndexServerApplication">
<deployClassPath>lib/netarchivesuite-harvest-scheduler.jar</deployClassPath>
<deployClassPath>lib/netarchivesuite-archive-core.jar</deployClassPath>
<settings>
<common>
<jmx>
<port>8116</port>
<rmiPort>8216</rmiPort>
</jmx>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
<port>8046</port>
</remoteFile>
</common>
</settings>
</applicationName>
<applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
<deployClassPath>lib/netarchivesuite-harvest-scheduler.jar</deployClassPath>
<deployClassPath>lib/netarchivesuite-archive-core.jar</deployClassPath>
<settings>
<common>
<http>
<port>8070</port>
</http>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
<port>8047</port >
</remoteFile>
<jmx>
<port>8117</port>
<rmiPort>8217</rmiPort>
</jmx>
</common>
</settings>
</applicationName>
<applicationName name="dk.netarkivet.harvester.scheduler.HarvestJobManagerApplication">
<deployClassPath>lib/netarchivesuite-harvest-scheduler.jar</deployClassPath>
<settings>
<common>
<jmx>
<port>8118</port>
<rmiPort>8218</rmiPort>
</jmx>
<remoteFile>
<class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
<port>8048</port>
</remoteFile>
</common>
</settings>
</applicationName>
</deployMachine>
</thisPhysicalLocation>
</deployGlobal>