Attachment 'deploy_standalone_example.xml'

Download

   1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!-- 
   3 *$Id$
   4 * $Revision$
   5 * $Author$
   6 * $Date$
   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-8047 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-8117: JMX ports
  37         port 8210-8217: RMI ports
  38 
  39         Does not include a checksum replica w/ a ChecksumFileApplication
  40         Uses the default ActiveBitPreservation implementation
  41         (currently dk.netarkivet.archive.arcrepository.bitpreservation.
  42          FileBasedActiveBitPreservation).
  43 -->
  44 <deployGlobal>
  45     <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
  46     <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
  47     <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
  48     <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
  49     <deployJavaOpt>-Xmx1536m</deployJavaOpt>
  50     <settings>
  51         <common>
  52             <environmentName>USER</environmentName>
  53             <applicationInstanceId/>
  54             <remoteFile>
  55                 <class>
  56                     dk.netarkivet.common.distribute.HTTPRemoteFile
  57                 </class>
  58             </remoteFile>
  59             <jms>
  60                 <class>
  61                     dk.netarkivet.common.distribute.JMSConnectionSunMQ
  62                 </class>
  63                 <broker>localhost</broker>
  64                 <port>7676</port>
  65             </jms>
  66             <jmx>
  67                 <passwordFile>conf/jmxremote.password</passwordFile>
  68                 <timeout>120</timeout>
  69             </jmx>
  70 
  71             <indexClient>
  72                 <indexRequestTimeout>43200000</indexRequestTimeout> 
  73             </indexClient>
  74             <replicas>
  75                 <replica>
  76                     <replicaId>A</replicaId>
  77                     <replicaName>ReplicaA</replicaName>
  78                     <replicaType>bitarchive</replicaType>
  79                 </replica>
  80              </replicas>
  81             <database>
  82                 <url/>
  83             </database>
  84             <tempDir>tmpdircommon</tempDir> 
  85         </common>
  86         <monitor>
  87             <jmxUsername>monitorRole</jmxUsername>
  88             <jmxPassword>test</jmxPassword>
  89         </monitor>
  90     </settings>
  91 
  92     <thisPhysicalLocation name="NATIONAL_LIBRARY">
  93         <deployInstallDir>/home/test</deployInstallDir>
  94         <deployMachineUserName>test</deployMachineUserName>
  95         <settings>
  96             <common>
  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                         <remoteFile>
 125                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 126                         <port>8040</port>
 127                         </remoteFile>  
 128                         <database>
 129                              <url>jdbc:derby:harvestDatabase/fullhddb</url>
 130                         </database>
 131                     </common>
 132                 </settings>
 133             </applicationName>
 134             <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
 135                 <settings>
 136                     <common>
 137                         <jmx>
 138                             <port>8111</port> 
 139                             <rmiPort>8211</rmiPort>
 140                         </jmx>
 141                          <remoteFile>
 142                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 143                         <port>8041</port> 
 144                         </remoteFile>     
 145                     </common>
 146                 </settings>
 147             </applicationName>
 148             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
 149                 <settings>
 150                     <common>
 151                         <jmx>
 152                             <port>8112</port>  
 153                             <rmiPort>8212</rmiPort>
 154                         </jmx>
 155                          <remoteFile>
 156                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 157                         <port>8042</port> 
 158                         </remoteFile>  
 159                     </common>
 160                 </settings>
 161             </applicationName>
 162             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 163                 <settings>
 164                     <common>
 165                         <jmx>
 166                             <port>8113</port>  
 167                             <rmiPort>8213</rmiPort>
 168                         </jmx>
 169  		        <remoteFile>
 170                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 171                         <port>8043</port>
 172                         </remoteFile>  
 173                     </common>
 174                     <archive>
 175                         <bitarchive>
 176                             <baseFileDir>bitarkiv</baseFileDir>
 177                         </bitarchive>
 178                     </archive>
 179                 </settings>
 180             </applicationName>
 181             <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 182                 <settings>
 183                     <common>
 184                         <applicationInstanceId>low</applicationInstanceId>            
 185                         <jmx>
 186                             <port>8114</port>
 187                             <rmiPort>8214</rmiPort>
 188                         </jmx>
 189  			<remoteFile>
 190                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 191                         <port>8044</port> 
 192                         </remoteFile>  
 193                     </common>
 194                     <harvester>
 195                         <harvesting>
 196                             <queuePriority>LOWPRIORITY</queuePriority>
 197                             <heritrix>
 198                                 <guiPort>8190</guiPort> 
 199                                 <jmxPort>8191</jmxPort>
 200                                  <jmxUsername>controlRole</jmxUsername>
 201                                  <jmxPassword>R_D</jmxPassword>
 202                             </heritrix>
 203                		    <serverDir>harvester_low</serverDir>
 204                         </harvesting>
 205                     </harvester>
 206                 </settings>
 207             </applicationName>
 208             <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 209                 <settings>
 210                     <common>
 211                         <applicationInstanceId>high</applicationInstanceId>
 212                         <jmx>
 213                             <port>8115</port>
 214                             <rmiPort>8215</rmiPort>
 215                         </jmx>
 216  			<remoteFile>
 217                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 218                         <port>8045</port> 
 219                         </remoteFile>  
 220                     </common>
 221                     <harvester>
 222                         <harvesting>
 223                             <queuePriority>HIGHPRIORITY</queuePriority>
 224                             <heritrix>
 225                                 <guiPort>8192</guiPort> 
 226                                 <jmxPort>8193</jmxPort>
 227                                  <jmxUsername>controlRole</jmxUsername>
 228                                  <jmxPassword>R_D</jmxPassword>
 229                             </heritrix>
 230                		    <serverDir>harvester_high</serverDir>
 231                         </harvesting>
 232                     </harvester>
 233                 </settings>
 234             </applicationName>
 235             <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
 236                 <settings>
 237                     <common>
 238                         <jmx>
 239                             <port>8116</port>
 240                             <rmiPort>8216</rmiPort>
 241                         </jmx>
 242  			<remoteFile>
 243                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 244                         <port>8046</port> 
 245                         </remoteFile>  
 246                     </common>
 247                 </settings>
 248             </applicationName>
 249             <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
 250                 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 251                 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 252                 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 253                 <settings>
 254                     <common>
 255                         <http>
 256                             <port>8070</port>
 257                         </http>
 258  			<remoteFile>
 259                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 260                         <port>8047</port>
 261                         </remoteFile>  
 262                         <jmx>
 263                             <port>8117</port>
 264                             <rmiPort>8217</rmiPort>
 265                         </jmx>
 266                     </common>
 267                 </settings>
 268             </applicationName>
 269       </deployMachine>
 270     </thisPhysicalLocation>
 271 </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.
  • [get | view] (2009-11-17 08:49:41, 595.5 KB) [[attachment:BnF-setup-as-of-July2009.ppt]]
  • [get | view] (2009-11-17 08:50:13, 6.9 KB) [[attachment:HW_SW_production_example.txt]]
  • [get | view] (2010-04-13 15:51:05, 1.7 KB) [[attachment:RunNetarchiveSuite.sh]]
  • [get | view] (2010-04-27 08:21:10, 16.9 KB) [[attachment:deploy_distributed_example.xml]]
  • [get | view] (2010-04-27 08:21:24, 21.7 KB) [[attachment:deploy_distributed_example_database.xml]]
  • [get | view] (2010-04-27 08:21:39, 12.8 KB) [[attachment:deploy_distributed_example_single.xml]]
  • [get | view] (2009-11-17 08:49:56, 15.2 KB) [[attachment:deploy_example.xml]]
  • [get | view] (2009-11-17 08:50:02, 9.3 KB) [[attachment:deploy_example_one_machine.xml]]
  • [get | view] (2009-11-17 08:50:07, 10.5 KB) [[attachment:deploy_example_single.xml]]
  • [get | view] (2010-04-27 08:17:21, 11.1 KB) [[attachment:deploy_standalone_example.xml]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.