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     <deployClassPath>lib/dk.netarkivet.wayback.jar</deployClassPath>
  37     <deployJavaOpt>-Xmx1536m</deployJavaOpt>
  38     <settings>
  39         <common>
  40             <environmentName>USER</environmentName>
  41             <applicationInstanceId/>
  42             <remoteFile>
  43                 <class>
  44                     dk.netarkivet.common.distribute.FTPRemoteFile
  45                 </class>
  46                 <serverPort>21</serverPort>
  47                 <retries>3</retries>
  48             </remoteFile>
  49             <jms>
  50                 <class>
  51                     dk.netarkivet.common.distribute.JMSConnectionSunMQ
  52                 </class>
  53                 <broker>localhost</broker>
  54                 <port>7676</port>
  55             </jms>
  56             <jmx>
  57                 <passwordFile>conf/jmxremote.password</passwordFile>
  58                 <timeout>120</timeout>
  59             </jmx>
  60 
  61             <indexClient>
  62                 <indexRequestTimeout>43200000</indexRequestTimeout> 
  63             </indexClient>
  64             <replicas>
  65                 <replica>
  66                     <replicaId>A</replicaId>
  67                     <replicaName>ReplicaA</replicaName>
  68                     <replicaType>bitArchive</replicaType>
  69                 </replica>
  70             </replicas>
  71             <database>
  72                 <url/>
  73             </database>
  74             <tempDir>tmpdircommon</tempDir> 
  75         </common>
  76         <harvester>
  77               <harvesting>
  78                      <deduplication><enabled>true</enabled></deduplication>
  79               </harvesting>
  80         </harvester>
  81         <monitor>
  82             <jmxUsername>monitorRole</jmxUsername>
  83             <jmxPassword>test</jmxPassword>
  84         </monitor>
  85     </settings>
  86 
  87     <thisPhysicalLocation name="THIS_NAS_ARCHIVE">
  88         <deployInstallDir>/home/test</deployInstallDir>
  89         <deployMachineUserName>test</deployMachineUserName>
  90     
  91         <settings>
  92             <common>
  93                 <remoteFile>
  94                     <serverName>localhost</serverName>
  95                     <userName>test</userName>
  96                     <userPassword>test123</userPassword>
  97                 </remoteFile>
  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                         <database>
 126                              <url>jdbc:derby:harvestDatabase/fullhddb</url>
 127                         </database>
 128                     </common>
 129                 </settings>
 130             </applicationName>
 131             <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
 132                 <settings>
 133                     <common>
 134                         <jmx>
 135                             <port>8111</port> 
 136                             <rmiPort>8211</rmiPort>
 137                         </jmx>
 138                     </common>
 139                 </settings>
 140             </applicationName>
 141             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
 142                 <settings>
 143                     <common>
 144                         <jmx>
 145                             <port>8112</port>  
 146                             <rmiPort>8212</rmiPort>
 147                         </jmx>
 148                     </common>
 149                 </settings>
 150             </applicationName>
 151             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 152                 <settings>
 153                     <common>
 154                         <jmx>
 155                             <port>8113</port>  
 156                             <rmiPort>8213</rmiPort>
 157                         </jmx>
 158                     </common>
 159                     <archive>
 160                         <bitarchive>
 161                             <baseFileDir>bitarkiv</baseFileDir>
 162                         </bitarchive>
 163                     </archive>
 164                 </settings>
 165             </applicationName>
 166             <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 167                 <settings>
 168                     <common>
 169                         <applicationInstanceId>low</applicationInstanceId>            
 170                         <jmx>
 171                             <port>8114</port>
 172                             <rmiPort>8214</rmiPort>
 173                         </jmx>
 174                     </common>
 175                     <harvester>
 176                         <harvesting>
 177                             <queuePriority>LOWPRIORITY</queuePriority>
 178                             <heritrix>
 179                                 <guiPort>8190</guiPort> 
 180                                 <jmxPort>8191</jmxPort>
 181                                  <jmxUsername>controlRole</jmxUsername>
 182                                  <jmxPassword>R_D</jmxPassword>
 183                             </heritrix>
 184                		    <serverDir>harvester_low</serverDir>
 185                         </harvesting>
 186                     </harvester>
 187                 </settings>
 188             </applicationName>
 189             <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 190                 <settings>
 191                     <common>
 192                         <applicationInstanceId>high</applicationInstanceId>
 193                         <jmx>
 194                             <port>8115</port>
 195                             <rmiPort>8215</rmiPort>
 196                         </jmx>
 197                     </common>
 198                     <harvester>
 199                         <harvesting>
 200                             <queuePriority>HIGHPRIORITY</queuePriority>
 201                             <heritrix>
 202                                 <guiPort>8192</guiPort> 
 203                                 <jmxPort>8193</jmxPort>
 204                                  <jmxUsername>controlRole</jmxUsername>
 205                                  <jmxPassword>R_D</jmxPassword>
 206                             </heritrix>
 207                		    <serverDir>harvester_high</serverDir>
 208                         </harvesting>
 209                     </harvester>
 210                 </settings>
 211             </applicationName>
 212             <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
 213                 <settings>
 214                     <common>
 215                         <jmx>
 216                             <port>8116</port>
 217                             <rmiPort>8216</rmiPort>
 218                         </jmx>
 219                     </common>
 220                 </settings>
 221             </applicationName>
 222             <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
 223                 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 224                 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 225                 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 226                 <settings>
 227                     <common>
 228                         <http>
 229                             <port>8070</port>
 230                         </http>
 231                         <jmx>
 232                             <port>8117</port>
 233                             <rmiPort>8217</rmiPort>
 234                         </jmx>
 235                     </common>
 236                 </settings>
 237             </applicationName>
 238         </deployMachine>
 239     </thisPhysicalLocation>
 240 </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-05-04 14:00:22, 6.9 KB) [[attachment:HW_SW_production_example.txt]]
  • [get | view] (2010-06-16 11:57:10, 9.5 KB) [[attachment:deploy_example_one_machine.xml]]
 All files | Selected Files: delete move to page copy to page

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