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