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     <deployClassPath>lib/dk.netarkivet.wayback.jar</deployClassPath>
  50     <deployJavaOpt>-Xmx1536m</deployJavaOpt>
  51     <settings>
  52         <common>
  53             <environmentName>USER</environmentName>
  54             <applicationInstanceId/>
  55             <remoteFile>
  56                 <class>
  57                     dk.netarkivet.common.distribute.HTTPRemoteFile
  58                 </class>
  59             </remoteFile>
  60             <jms>
  61                 <class>
  62                     dk.netarkivet.common.distribute.JMSConnectionSunMQ
  63                 </class>
  64                 <broker>localhost</broker>
  65                 <port>7676</port>
  66             </jms>
  67             <jmx>
  68                 <passwordFile>conf/jmxremote.password</passwordFile>
  69                 <timeout>120</timeout>
  70             </jmx>
  71 
  72             <indexClient>
  73                 <indexRequestTimeout>43200000</indexRequestTimeout> 
  74             </indexClient>
  75             <replicas>
  76                 <replica>
  77                     <replicaId>A</replicaId>
  78                     <replicaName>ReplicaA</replicaName>
  79                     <replicaType>bitarchive</replicaType>
  80                 </replica>
  81              </replicas>
  82             <database>
  83                 <url/>
  84             </database>
  85             <tempDir>tmpdircommon</tempDir> 
  86         </common>
  87         <monitor>
  88             <jmxUsername>monitorRole</jmxUsername>
  89             <jmxPassword>test</jmxPassword>
  90         </monitor>
  91     </settings>
  92 
  93     <thisPhysicalLocation name="NATIONAL_LIBRARY">
  94         <deployInstallDir>/home/test</deployInstallDir>
  95         <deployMachineUserName>test</deployMachineUserName>
  96         <settings>
  97             <common>
  98                 <useReplicaId>A</useReplicaId> 
  99                 <mail>
 100                     <server>post.kb.dk</server>
 101                 </mail>
 102                 <notifications>
 103                     <class>dk.netarkivet.common.utils.EMailNotifications</class>
 104                     <receiver>example@netarkivet.dk</receiver> 
 105                     <sender>example@netarkivet.dk</sender>
 106                 </notifications>
 107             </common>
 108             <viewerproxy>
 109                 <baseDir>viewerproxy</baseDir>
 110             </viewerproxy>
 111         </settings>
 112 
 113         <deployMachine name="localhost">
 114             <deployDatabaseDir>harvestDatabase</deployDatabaseDir>
 115             <applicationName name="dk.netarkivet.common.webinterface.GUIApplication">
 116                 <settings>
 117                     <common>
 118                         <http>
 119                             <port>8074</port>
 120                         </http>
 121                         <jmx>
 122                             <port>8110</port> 
 123                             <rmiPort>8210</rmiPort>
 124                         </jmx>
 125                         <remoteFile>
 126                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 127                         <port>8040</port>
 128                         </remoteFile>  
 129                         <database>
 130                              <url>jdbc:derby:harvestDatabase/fullhddb</url>
 131                         </database>
 132                     </common>
 133                 </settings>
 134             </applicationName>
 135             <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
 136                 <settings>
 137                     <common>
 138                         <jmx>
 139                             <port>8111</port> 
 140                             <rmiPort>8211</rmiPort>
 141                         </jmx>
 142                          <remoteFile>
 143                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 144                         <port>8041</port> 
 145                         </remoteFile>     
 146                     </common>
 147                 </settings>
 148             </applicationName>
 149             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
 150                 <settings>
 151                     <common>
 152                         <jmx>
 153                             <port>8112</port>  
 154                             <rmiPort>8212</rmiPort>
 155                         </jmx>
 156                          <remoteFile>
 157                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 158                         <port>8042</port> 
 159                         </remoteFile>  
 160                     </common>
 161                 </settings>
 162             </applicationName>
 163             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 164                 <settings>
 165                     <common>
 166                         <jmx>
 167                             <port>8113</port>  
 168                             <rmiPort>8213</rmiPort>
 169                         </jmx>
 170  		        <remoteFile>
 171                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 172                         <port>8043</port>
 173                         </remoteFile>  
 174                     </common>
 175                     <archive>
 176                         <bitarchive>
 177                             <baseFileDir>bitarkiv</baseFileDir>
 178                         </bitarchive>
 179                     </archive>
 180                 </settings>
 181             </applicationName>
 182             <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 183                 <settings>
 184                     <common>
 185                         <applicationInstanceId>low</applicationInstanceId>            
 186                         <jmx>
 187                             <port>8114</port>
 188                             <rmiPort>8214</rmiPort>
 189                         </jmx>
 190  			<remoteFile>
 191                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 192                         <port>8044</port> 
 193                         </remoteFile>  
 194                     </common>
 195                     <harvester>
 196                         <harvesting>
 197                             <queuePriority>LOWPRIORITY</queuePriority>
 198                             <heritrix>
 199                                 <guiPort>8190</guiPort> 
 200                                 <jmxPort>8191</jmxPort>
 201                                  <jmxUsername>controlRole</jmxUsername>
 202                                  <jmxPassword>R_D</jmxPassword>
 203                             </heritrix>
 204                		    <serverDir>harvester_low</serverDir>
 205                         </harvesting>
 206                     </harvester>
 207                 </settings>
 208             </applicationName>
 209             <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 210                 <settings>
 211                     <common>
 212                         <applicationInstanceId>high</applicationInstanceId>
 213                         <jmx>
 214                             <port>8115</port>
 215                             <rmiPort>8215</rmiPort>
 216                         </jmx>
 217  			<remoteFile>
 218                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 219                         <port>8045</port> 
 220                         </remoteFile>  
 221                     </common>
 222                     <harvester>
 223                         <harvesting>
 224                             <queuePriority>HIGHPRIORITY</queuePriority>
 225                             <heritrix>
 226                                 <guiPort>8192</guiPort> 
 227                                 <jmxPort>8193</jmxPort>
 228                                  <jmxUsername>controlRole</jmxUsername>
 229                                  <jmxPassword>R_D</jmxPassword>
 230                             </heritrix>
 231                		    <serverDir>harvester_high</serverDir>
 232                         </harvesting>
 233                     </harvester>
 234                 </settings>
 235             </applicationName>
 236             <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
 237                 <settings>
 238                     <common>
 239                         <jmx>
 240                             <port>8116</port>
 241                             <rmiPort>8216</rmiPort>
 242                         </jmx>
 243  			<remoteFile>
 244                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 245                         <port>8046</port> 
 246                         </remoteFile>  
 247                     </common>
 248                 </settings>
 249             </applicationName>
 250             <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
 251                 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 252                 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 253                 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 254                 <settings>
 255                     <common>
 256                         <http>
 257                             <port>8070</port>
 258                         </http>
 259  			<remoteFile>
 260                         <class>dk.netarkivet.common.distribute.HTTPRemoteFile</class>
 261                         <port>8047</port>
 262                         </remoteFile>  
 263                         <jmx>
 264                             <port>8117</port>
 265                             <rmiPort>8217</rmiPort>
 266                         </jmx>
 267                     </common>
 268                 </settings>
 269             </applicationName>
 270       </deployMachine>
 271     </thisPhysicalLocation>
 272 </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] (2010-04-13 11:44:44, 1.7 KB) [[attachment:RunNetarchiveSuite.sh]]
  • [get | view] (2009-11-17 08:53:16, 194.7 KB) [[attachment:Screenshot-1.png]]
  • [get | view] (2009-11-17 08:53:24, 9.3 KB) [[attachment:deploy_example_one_machine.xml]]
  • [get | view] (2010-09-14 07:43:36, 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.