Attachment 'bnfsandbox.xml'
Download 1 <?xml version="1.0" encoding="UTF-8"?>
2 <deployGlobal>
3
4 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
5 <deployClassPath>lib/dk.netarkivet.common.jar</deployClassPath>
6 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
7 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
8 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
9 <deployClassPath>lib/db/mysql-connector-java-5.1.7-bin.jar</deployClassPath>
10
11 <settings>
12 <common>
13 <environmentName>bnfsandbox</environmentName>
14 <tempDir>tmp</tempDir>
15 <jms>
16 <class>dk.netarkivet.common.distribute.JMSConnectionSunMQ</class>
17 <broker>localhost</broker>
18 <port>7676</port>
19 </jms>
20 <jmx>
21 <timeout>120</timeout><!-- default 120 (sec) -->
22 <passwordFile>conf/jmxremote.password</passwordFile>
23 </jmx>
24 <replicas>
25 <replica>
26 <replicaId>ONE</replicaId>
27 <replicaType>bitarchive</replicaType>
28 <replicaName>ArchiveOne</replicaName>
29 </replica>
30 <!--replica>
31 <replicaId>TWO</replicaId>
32 <replicaType>bitarchive</replicaType>
33 <replicaName>ArchiveTwo</replicaName>
34 </replica-->
35 </replicas>
36 <useReplicaId>ONE</useReplicaId>
37 <remoteFile>
38 <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
39 </remoteFile>
40 </common>
41 <monitor>
42 <jmxUsername>monitorRole</jmxUsername>
43 <jmxPassword>bnfsandbox</jmxPassword>
44 <logging>
45 <historySize>100</historySize>
46 </logging>
47 </monitor>
48 <harvester>
49 <datamodel>
50 <domain>
51 <defaultSeedlist>defaultseeds</defaultSeedlist>
52 <defaultConfig>defaultconfig</defaultConfig>
53 <defaultOrderxml>default</defaultOrderxml>
54 <defaultMaxrate>100</defaultMaxrate>
55 <defaultMaxbytes>20000000</defaultMaxbytes>
56 <defaultMaxobjects>1000</defaultMaxobjects>
57 </domain>
58 </datamodel>
59 <scheduler>
60 <errorFactorPrevResult>10</errorFactorPrevResult>
61 <errorFactorBestGuess>20</errorFactorBestGuess>
62 <expectedAverageBytesPerObject>38000</expectedAverageBytesPerObject>
63 <maxDomainSize>5000</maxDomainSize>
64 <jobs>
65 <maxRelativeSizeDifference>100</maxRelativeSizeDifference>
66 <minAbsoluteSizeDifference>2000</minAbsoluteSizeDifference>
67 <!--maxTotalSize>2000000</maxTotalSize-->
68 <maxTotalSize>500000</maxTotalSize>
69 </jobs>
70 <configChunkSize>4</configChunkSize>
71 <splitByObjectLimit>true</splitByObjectLimit>
72 </scheduler>
73 <harvesting>
74 <heritrix>
75 <adminName>admin</adminName>
76 <adminPassword>dlweb</adminPassword>
77 <jmxUsername>controlRole</jmxUsername>
78 <jmxPassword>bnfsandbox</jmxPassword>
79 <inactivityTimeout>100</inactivityTimeout><!-- in seconds -->
80 <noresponseTimeout>100</noresponseTimeout><!-- in seconds -->
81 </heritrix>
82 <deduplication>
83 <enabled>true</enabled>
84 </deduplication>
85 <metadata>
86 <heritrixFilePattern>.*(\.xml|\.txt|\.log|\.out)</heritrixFilePattern>
87 <reportFilePattern>.*-report.txt</reportFilePattern>
88 <logFilePattern>.*(\.log|\.out)</logFilePattern>
89 </metadata>
90 </harvesting>
91 </harvester>
92 </settings>
93
94 <thisPhysicalLocation name="menelas3.bnf.fr">
95 <deployMachineUserName>ccm_nig</deployMachineUserName>
96 <deployInstallDir>/bnf/netarchivesuite</deployInstallDir>
97
98 <!-- Admin machine -->
99 <deployMachine name="menelas3.bnf.fr">
100
101 <applicationName
102 name="dk.netarkivet.common.webinterface.GUIApplication">
103
104 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000</deployJavaOpt>
105
106 <settings>
107 <common>
108 <http>
109 <port>8070</port>
110 </http>
111 <jmx>
112 <port>8100</port>
113 <rmiPort>8200</rmiPort>
114 </jmx>
115 <remoteFile>
116 <port>5442</port>
117 </remoteFile>
118 <database>
119 <url>jdbc:mysql://acheron1.bnf.fr:3306/bnfsandbox?user=bnfsandbox&autoReconnect=true</url>
120 <class>dk.netarkivet.harvester.datamodel.MySQLSpecifics</class>
121 <backupInitHour>3</backupInitHour>
122 </database>
123 <webinterface>
124 <language>
125 <locale>en</locale>
126 <name>English</name>
127 </language>
128 <siteSection>
129 <class>dk.netarkivet.harvester.webinterface.DefinitionsSiteSection</class>
130 <webapplication>webpages/HarvestDefinition.war</webapplication>
131 </siteSection>
132 <siteSection>
133 <class>dk.netarkivet.harvester.webinterface.HistorySiteSection</class>
134 <webapplication>webpages/History.war</webapplication>
135 </siteSection>
136 <siteSection>
137 <class>dk.netarkivet.viewerproxy.webinterface.QASiteSection</class>
138 <webapplication>webpages/QA.war</webapplication>
139 </siteSection>
140 <siteSection>
141 <class>dk.netarkivet.monitor.webinterface.StatusSiteSection</class>
142 <webapplication>webpages/Status.war</webapplication>
143 </siteSection>
144 <siteSection>
145 <class>dk.netarkivet.archive.webinterface.BitPreservationSiteSection</class>
146 <webapplication>webpages/BitPreservation.war</webapplication>
147 </siteSection>
148 </webinterface>
149 </common>
150 </settings>
151 </applicationName>
152
153 <applicationName
154 name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
155
156 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8001</deployJavaOpt>
157
158 <settings>
159 <common>
160 <applicationInstanceId>BAM_One</applicationInstanceId>
161 <jmx>
162 <port>8101</port>
163 <rmiPort>8201</rmiPort>
164 </jmx>
165 <remoteFile>
166 <port>5443</port>
167 </remoteFile>
168 <useReplicaId>ONE</useReplicaId>
169 </common>
170 </settings>
171 </applicationName>
172
173 <!--applicationName
174 name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
175
176 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8002</deployJavaOpt>
177
178 <settings>
179 <common>
180 <applicationInstanceId>BAM_Two</applicationInstanceId>
181 <jmx>
182 <port>8102</port>
183 <rmiPort>8202</rmiPort>
184 </jmx>
185 <remoteFile>
186 <port>5444</port>
187 </remoteFile>
188 <useReplicaId>TWO</useReplicaId>
189 </common>
190 </settings>
191 </applicationName-->
192
193 <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
194
195 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8003</deployJavaOpt>
196
197 <settings>
198 <common>
199 <jmx>
200 <port>8103</port>
201 <rmiPort>8203</rmiPort>
202 </jmx>
203 <remoteFile>
204 <port>5445</port>
205 </remoteFile>
206 </common>
207 </settings>
208 </applicationName>
209
210 <applicationName
211 name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
212
213 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8004</deployJavaOpt>
214
215 <settings>
216 <common>
217 <jmx>
218 <port>8104</port>
219 <rmiPort>8204</rmiPort>
220 </jmx>
221 <remoteFile>
222 <port>5446</port>
223 </remoteFile>
224 </common>
225 </settings>
226 </applicationName>
227
228 <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
229
230 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8005</deployJavaOpt>
231
232 <settings>
233 <common>
234 <http>
235 <port>8071</port>
236 </http>
237 <jmx>
238 <port>8105</port>
239 <rmiPort>8205</rmiPort>
240 </jmx>
241 <remoteFile>
242 <port>5447</port>
243 </remoteFile>
244 </common>
245 <viewerproxy>
246 <baseDir>/bnf/netarchivesuite//viewerproxy</baseDir>
247 </viewerproxy>
248 </settings>
249 </applicationName>
250
251 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
252
253 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8006</deployJavaOpt>
254
255 <settings>
256 <common>
257 <applicationInstanceId>ONE</applicationInstanceId>
258 <jmx>
259 <port>8106</port>
260 <rmiPort>8206</rmiPort>
261 </jmx>
262 <remoteFile>
263 <port>5448</port>
264 </remoteFile>
265 <useReplicaId>ONE</useReplicaId>
266 </common>
267 <archive>
268 <bitarchive>
269 <useReplicaId>ONE</useReplicaId>
270 <baseFileDir>bitarchive/1</baseFileDir>
271 </bitarchive>
272 </archive>
273 </settings>
274 </applicationName>
275
276 <!--applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
277
278 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8007</deployJavaOpt>
279
280 <settings>
281 <common>
282 <applicationInstanceId>TWO</applicationInstanceId>
283 <jmx>
284 <port>8107</port>
285 <rmiPort>8207</rmiPort>
286 </jmx>
287 <remoteFile>
288 <port>5449</port>
289 </remoteFile>
290 <useReplicaId>TWO</useReplicaId>
291 </common>
292 <archive>
293 <bitarchive>
294 <useReplicaId>TWO</useReplicaId>
295 <baseFileDir>bitarchive/2</baseFileDir>
296 </bitarchive>
297 </archive>
298 </settings>
299 </applicationName-->
300
301 <applicationName
302 name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
303
304 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8008</deployJavaOpt>
305
306 <settings>
307 <common>
308 <applicationInstanceId>high</applicationInstanceId>
309 <useReplicaId>ONE</useReplicaId>
310 <jmx>
311 <port>8108</port>
312 <rmiPort>8208</rmiPort>
313 </jmx>
314 <remoteFile>
315 <port>5450</port>
316 </remoteFile>
317 </common>
318 <harvester>
319 <harvesting>
320 <queuePriority>HIGHPRIORITY</queuePriority>
321 <heritrix>
322 <guiPort>8090</guiPort>
323 <jmxPort>8190</jmxPort>
324 <javaOpts></javaOpts>
325 </heritrix>
326 <oldjobsDir>jobs/old</oldjobsDir>
327 <serverDir>jobs/current/high</serverDir>
328 </harvesting>
329 </harvester>
330 </settings>
331 </applicationName>
332
333 <applicationName
334 name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
335
336 <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8009</deployJavaOpt>
337
338 <settings>
339 <common>
340 <applicationInstanceId>low</applicationInstanceId>
341 <useReplicaId>ONE</useReplicaId>
342 <jmx>
343 <port>8109</port>
344 <rmiPort>8209</rmiPort>
345 </jmx>
346 <remoteFile>
347 <port>5451</port>
348 </remoteFile>
349 </common>
350 <harvester>
351 <harvesting>
352 <queuePriority>LOWPRIORITY</queuePriority>
353 <heritrix>
354 <guiPort>8091</guiPort>
355 <jmxPort>8191</jmxPort>
356 <javaOpts></javaOpts>
357 </heritrix>
358 <oldjobsDir>jobs/old</oldjobsDir>
359 <serverDir>jobs/current/low</serverDir>
360 </harvesting>
361 </harvester>
362 </settings>
363 </applicationName>
364
365 </deployMachine>
366
367 </thisPhysicalLocation>
368
369
370 </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.