Attachment 'deploy_distributed_example_single.xml'

Download

   1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!--  
   3  * File:        $Id$
   4  * Revision:    $Revision$
   5  * Author:      $Author$
   6  * Date:        $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.
  29         
  30         It contains a distributed single leg setup, which means that it does
  31         not support bitpreservation.
  32          
  33 -->
  34 <deployGlobal>
  35     <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
  36     <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
  37     <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
  38     <deployClassPath>lib/dk.netarkivet.wayback.jar</deployClassPath>
  39     <deployJavaOpt>-Xmx1536m</deployJavaOpt>
  40     <settings>
  41         <common>
  42             <environmentName>TEST</environmentName>
  43             <applicationInstanceId/>
  44             <remoteFile>
  45                 <class>
  46                     dk.netarkivet.common.distribute.FTPRemoteFile
  47                 </class>
  48                 <serverPort>21</serverPort>
  49                 <retries>3</retries>
  50             </remoteFile>
  51             <jms>
  52                 <class>
  53                     dk.netarkivet.common.distribute.JMSConnectionSunMQ
  54                 </class>
  55                 <broker>east-adm-001.kb.dk</broker>
  56                 <port>7676</port>
  57             </jms>
  58             <jmx>
  59                 <passwordFile>conf/jmxremote.password</passwordFile>
  60                 <timeout>120</timeout>
  61             </jmx>
  62             <indexClient>
  63                 <indexRequestTimeout>43200000</indexRequestTimeout>
  64             </indexClient>
  65             <replicas>
  66                 <!-- The names of all bit archive replicas in the
  67                  environment, e.g., "nameOfBitachiveOne" and "nameOfBitachiveTwo". -->
  68                 <replica>
  69                     <replicaId>A</replicaId>
  70                     <replicaName>ReplicaA</replicaName>
  71                     <replicaType>bitarchive</replicaType>
  72                 </replica>
  73             </replicas>
  74             <!-- Default bit archive to use for batch jobs (if none is specified) --> 
  75             <!-- or get and getFile oprations, (as well as bitArchive monitor)    --> 
  76             <database>
  77                 <url/>
  78             </database>
  79 
  80             <!-- tempDir corrected from ./tests/commontempdir -->
  81             <tempDir>tmpdircommon</tempDir>
  82         </common>
  83 
  84         <monitor>
  85             <jmxUsername>monitorRole</jmxUsername>
  86             <jmxPassword>test</jmxPassword>       
  87         </monitor>                                
  88                                                   
  89         <!-- directory for install -->
  90         <archive>
  91             <bitpreservation>
  92                 <baseDir>bitpreservation</baseDir>
  93             </bitpreservation>
  94             <arcrepository>
  95                 <baseDir>.</baseDir>
  96             </arcrepository>
  97         </archive>
  98         <!-- viewerproxy.baseDir is set below -->
  99         <!-- harvester.harvesting.serverDir is set below -->
 100         <harvester>
 101             <harvesting>
 102                 <deduplication>
 103                     <enabled>false</enabled>
 104                 </deduplication>
 105             </harvesting>
 106         </harvester>
 107     </settings>
 108     
 109     <thisPhysicalLocation name="EAST">
 110         <deployMachineUserName>test</deployMachineUserName>
 111         <deployInstallDir>/home/test</deployInstallDir>
 112         <deployDatabaseDir>databaseDir</deployDatabaseDir>
 113         <settings>
 114             <common>
 115                 <remoteFile>
 116                     <serverName>east-har-001.kb.dk</serverName>
 117                     <userName>ftptestuser</userName>
 118                     <userPassword>ftptestpasswd</userPassword>
 119                 </remoteFile>
 120                 <useReplicaId>A</useReplicaId>
 121                 <notifications>
 122                     <sender>example@netarkivet.dk</sender>
 123                     <receiver>example@netarkivet.dk</receiver>
 124                 </notifications>
 125             </common>
 126         </settings>
 127         
 128         <deployMachine name="east-adm-001.kb.dk">
 129             <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 130             <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 131             <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 132             <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
 133             <settings>
 134                 <common>
 135                     <jms>
 136                         <class>dk.netarkivet.common.distribute.JMSConnectionSunMQ</class>
 137                     </jms>
 138                 </common>
 139             </settings>
 140             <applicationName name="dk.netarkivet.common.webinterface.GUIApplication">
 141                 <settings>
 142                     <common>
 143                         <jmx>
 144                             <port>8100</port>
 145                             <rmiPort>8300</rmiPort>
 146                         </jmx>
 147                     </common>
 148                 </settings>
 149             </applicationName>
 150 
 151             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
 152                 <settings>
 153                     <common>
 154                         <useReplicaId>B</useReplicaId>
 155                         <applicationInstanceId>BBM</applicationInstanceId>
 156                         <jmx>
 157                             <port>8101</port>
 158                             <rmiPort>8301</rmiPort>
 159                         </jmx>
 160                     </common>
 161                 </settings>
 162             </applicationName>
 163 
 164             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
 165                 <settings>
 166                     <common>
 167                         <useReplicaId>A</useReplicaId>
 168                         <applicationInstanceId>ABM</applicationInstanceId>
 169                         <jmx>
 170                             <port>8102</port>
 171                             <rmiPort>8302</rmiPort>
 172                         </jmx>
 173                     </common>
 174                 </settings>
 175             </applicationName>
 176 
 177             <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
 178                 <settings>
 179                     <common>
 180                         <jmx>
 181                             <port>8103</port>
 182                             <rmiPort>8303</rmiPort>
 183                         </jmx>
 184                     </common>
 185                 </settings>
 186             </applicationName>
 187         </deployMachine>
 188         
 189         <deployMachine os="windows" name="east-bar-001.kb.dk">
 190             <deployMachineUserName>ba-test</deployMachineUserName>
 191             <deployInstallDir>c:\Documents and Settings\ba-test</deployInstallDir>
 192             <deployJavaOpt>-Xmx1150m</deployJavaOpt>
 193             
 194             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 195                 <settings>
 196                     <common>
 197                         <jmx>
 198                             <port>8100</port>
 199                             <rmiPort>8300</rmiPort>
 200                         </jmx>
 201                     </common>
 202                     <archive>
 203                         <bitarchive>
 204                             <baseFileDir>q:\bitarkiv</baseFileDir>
 205                         </bitarchive>
 206                     </archive>
 207                 </settings>
 208             </applicationName>
 209         </deployMachine>
 210         
 211         <deployMachine os="windows" name="east-bar-002.kb.dk">
 212             <deployMachineUserName>ba-test</deployMachineUserName>
 213             <deployInstallDir>c:\Documents and Settings\ba-test</deployInstallDir>
 214             <deployJavaOpt>-Xmx1150m</deployJavaOpt>
 215             
 216             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 217                 <settings>
 218                     <common>
 219                         <jmx>
 220                             <port>8100</port>
 221                             <rmiPort>8300</rmiPort>
 222                         </jmx>
 223                     </common>
 224                     <archive>
 225                         <bitarchive>
 226                             <baseFileDir>q:\bitarkiv</baseFileDir>
 227                         </bitarchive>
 228                     </archive>
 229                 </settings>
 230             </applicationName>
 231         </deployMachine>
 232 
 233         <deployMachine name="east-har-001.kb.dk">
 234              <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
 235              <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 236              <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 237              <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 238 
 239              <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 240                  <settings>
 241                      <common>
 242                          <jmx>
 243                              <port>8100</port>
 244                              <rmiPort>8300</rmiPort>
 245                          </jmx>
 246                          <http>
 247                              <port>8081</port>
 248                          </http>
 249                      </common>
 250                      <harvester>
 251                          <harvesting>
 252                              <queuePriority>LOWPRIORITY</queuePriority>
 253                              <heritrix>
 254                                  <guiPort>8190</guiPort>
 255                                  <jmxPort>8191</jmxPort>
 256                              </heritrix>
 257                             <serverDir>harvester_low</serverDir>
 258                          </harvesting>
 259                      </harvester>
 260                  </settings>
 261              </applicationName>
 262         </deployMachine>
 263 
 264         <deployMachine name="east-har-002.kb.dk">
 265              <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
 266              <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 267              <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 268              <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 269 
 270              <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 271                  <settings>
 272                      <common>
 273                          <jmx>
 274                              <port>8100</port>
 275                              <rmiPort>8300</rmiPort>
 276                          </jmx>
 277                          <http>
 278                              <port>8081</port>
 279                          </http>
 280                      </common>
 281                      <harvester>
 282                          <harvesting>
 283                              <queuePriority>LOWPRIORITY</queuePriority>
 284                              <heritrix>
 285                                  <guiPort>8190</guiPort>
 286                                  <jmxPort>8191</jmxPort>
 287                              </heritrix>
 288                             <serverDir>harvester_low</serverDir>
 289                          </harvesting>
 290                      </harvester>
 291                  </settings>
 292              </applicationName>
 293         </deployMachine>
 294 
 295         <deployMachine name="east-acs-001.kb.dk">
 296             <settings>
 297                 <common>
 298                     <http>
 299                         <port>8076</port>
 300                     </http>
 301                 </common>
 302                 <viewerproxy>
 303                     <baseDir>viewerproxy</baseDir>
 304                 </viewerproxy>
 305             </settings>
 306 
 307             <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
 308                 <settings>
 309                     <common>
 310                         <jmx>
 311                             <port>8100</port>
 312                             <rmiPort>8100</rmiPort>
 313                         </jmx>
 314                     </common>
 315                 </settings>
 316             </applicationName>
 317             <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
 318                 <settings>
 319                     <common>
 320                         <jmx>
 321                             <port>8101</port>
 322                             <rmiPort>8101</rmiPort>
 323                         </jmx>
 324                     </common>
 325                 </settings>
 326             </applicationName>
 327         </deployMachine>
 328     </thisPhysicalLocation>
 329 </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:04:48, 595.5 KB) [[attachment:BnF-setup-as-of-July2009.ppt]]
  • [get | view] (2010-05-04 14:05:59, 6.9 KB) [[attachment:HW_SW_production_example.txt]]
  • [get | view] (2010-05-04 14:06:08, 1.7 KB) [[attachment:RunNetarchiveSuite.sh]]
  • [get | view] (2010-06-16 11:58:45, 17.0 KB) [[attachment:deploy_distributed_example.xml]]
  • [get | view] (2010-10-27 12:13:18, 23.3 KB) [[attachment:deploy_distributed_example_3_14.xml]]
  • [get | view] (2010-06-16 11:59:31, 21.8 KB) [[attachment:deploy_distributed_example_database.xml]]
  • [get | view] (2010-10-27 12:12:38, 23.3 KB) [[attachment:deploy_distributed_example_database_3_14.xml]]
  • [get | view] (2010-06-16 12:00:09, 12.9 KB) [[attachment:deploy_distributed_example_single.xml]]
  • [get | view] (2010-06-16 12:01:03, 15.3 KB) [[attachment:deploy_example.xml]]
  • [get | view] (2010-09-14 07:33:48, 9.3 KB) [[attachment:deploy_example_one_machine.xml]]
  • [get | view] (2010-06-16 12:02:06, 10.6 KB) [[attachment:deploy_example_single.xml]]
  • [get | view] (2010-09-14 07:40:53, 11.1 KB) [[attachment:deploy_standalone_example.xml]]
  • [get | view] (2010-10-27 12:09:17, 14.1 KB) [[attachment:deploy_standalone_example_3_14.xml]]
 All files | Selected Files: delete move to page copy to page

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