Attachment 'deploy_example_one_machine.xml'
Download 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 *$Id: deploy_example_one_machine.xml,v 1.2 2009/10/01 14:10:10 test Exp $
4 * $Revision: 1.2 $
5 * $Author: test $
6 * $Date: 2009/10/01 14:10:10 $
7 *
8 * The Netarchive Suite - Software to harvest and preserve websites
9 * Copyright 2004-2007 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 -->
31 <deployGlobal>
32 <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
33 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
34 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
35 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
36 <deployJavaOpt>-Xmx1536m</deployJavaOpt>
37 <settings>
38 <common>
39 <environmentName>USER</environmentName>
40 <applicationInstanceId/>
41 <remoteFile>
42 <class>
43 dk.netarkivet.common.distribute.FTPRemoteFile
44 </class>
45 <serverPort>21</serverPort>
46 <retries>3</retries>
47 </remoteFile>
48 <jms>
49 <class>
50 dk.netarkivet.common.distribute.JMSConnectionSunMQ
51 </class>
52 <broker>localhost</broker>
53 <port>7676</port>
54 </jms>
55 <jmx>
56 <passwordFile>conf/jmxremote.password</passwordFile>
57 <timeout>120</timeout>
58 </jmx>
59
60 <indexClient>
61 <indexRequestTimeout>43200000</indexRequestTimeout>
62 </indexClient>
63 <replicas>
64 <replica>
65 <replicaId>A</replicaId>
66 <replicaName>ReplicaA</replicaName>
67 <replicaType>bitArchive</replicaType>
68 </replica>
69 </replicas>
70 <database>
71 <url/>
72 </database>
73 <tempDir>tmpdircommon</tempDir>
74 </common>
75 <harvester>
76 <harvesting>
77 <deduplication><enabled>true</enabled></deduplication>
78 </harvesting>
79 </harvester>
80 <monitor>
81 <jmxUsername>monitorRole</jmxUsername>
82 <jmxPassword>test</jmxPassword>
83 </monitor>
84 </settings>
85
86 <thisPhysicalLocation name="THIS_NAS_ARCHIVE">
87 <deployInstallDir>/home/test</deployInstallDir>
88 <deployMachineUserName>test</deployMachineUserName>
89
90 <settings>
91 <common>
92 <remoteFile>
93 <serverName>localhost</serverName>
94 <userName>test</userName>
95 <userPassword>test123</userPassword>
96 </remoteFile>
97 <useReplicaId>A</useReplicaId>
98 <mail>
99 <server>post.kb.dk</server>
100 </mail>
101 <notifications>
102 <class>dk.netarkivet.common.utils.EMailNotifications</class>
103 <receiver>example@netarkivet.dk</receiver>
104 <sender>example@netarkivet.dk</sender>
105 </notifications>
106 </common>
107 <viewerproxy>
108 <baseDir>viewerproxy</baseDir>
109 </viewerproxy>
110 </settings>
111
112 <deployMachine name="localhost">
113 <deployDatabaseDir>harvestDatabase</deployDatabaseDir>
114 <applicationName name="dk.netarkivet.common.webinterface.GUIApplication">
115 <settings>
116 <common>
117 <http>
118 <port>8074</port>
119 </http>
120 <jmx>
121 <port>8110</port>
122 <rmiPort>8210</rmiPort>
123 </jmx>
124 <database>
125 <url>jdbc:derby:harvestDatabase/fullhddb</url>
126 </database>
127 </common>
128 </settings>
129 </applicationName>
130 <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
131 <settings>
132 <common>
133 <jmx>
134 <port>8111</port>
135 <rmiPort>8211</rmiPort>
136 </jmx>
137 </common>
138 </settings>
139 </applicationName>
140 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
141 <settings>
142 <common>
143 <jmx>
144 <port>8112</port>
145 <rmiPort>8212</rmiPort>
146 </jmx>
147 </common>
148 </settings>
149 </applicationName>
150 <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
151 <settings>
152 <common>
153 <jmx>
154 <port>8113</port>
155 <rmiPort>8213</rmiPort>
156 </jmx>
157 </common>
158 <archive>
159 <bitarchive>
160 <baseFileDir>bitarkiv</baseFileDir>
161 </bitarchive>
162 </archive>
163 </settings>
164 </applicationName>
165 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
166 <settings>
167 <common>
168 <applicationInstanceId>low</applicationInstanceId>
169 <jmx>
170 <port>8114</port>
171 <rmiPort>8214</rmiPort>
172 </jmx>
173 </common>
174 <harvester>
175 <harvesting>
176 <queuePriority>LOWPRIORITY</queuePriority>
177 <heritrix>
178 <guiPort>8190</guiPort>
179 <jmxPort>8191</jmxPort>
180 <jmxUsername>controlRole</jmxUsername>
181 <jmxPassword>R_D</jmxPassword>
182 </heritrix>
183 <serverDir>harvester_low</serverDir>
184 </harvesting>
185 </harvester>
186 </settings>
187 </applicationName>
188 <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
189 <settings>
190 <common>
191 <applicationInstanceId>high</applicationInstanceId>
192 <jmx>
193 <port>8115</port>
194 <rmiPort>8215</rmiPort>
195 </jmx>
196 </common>
197 <harvester>
198 <harvesting>
199 <queuePriority>HIGHPRIORITY</queuePriority>
200 <heritrix>
201 <guiPort>8192</guiPort>
202 <jmxPort>8193</jmxPort>
203 <jmxUsername>controlRole</jmxUsername>
204 <jmxPassword>R_D</jmxPassword>
205 </heritrix>
206 <serverDir>harvester_high</serverDir>
207 </harvesting>
208 </harvester>
209 </settings>
210 </applicationName>
211 <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
212 <settings>
213 <common>
214 <jmx>
215 <port>8116</port>
216 <rmiPort>8216</rmiPort>
217 </jmx>
218 </common>
219 </settings>
220 </applicationName>
221 <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
222 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
223 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
224 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
225 <settings>
226 <common>
227 <http>
228 <port>8070</port>
229 </http>
230 <jmx>
231 <port>8117</port>
232 <rmiPort>8217</rmiPort>
233 </jmx>
234 </common>
235 </settings>
236 </applicationName>
237 </deployMachine>
238 </thisPhysicalLocation>
239 </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.