Attachment 'deploy_distributed_example.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 <deployGlobal>
  31     <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
  32     <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
  33     <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
  34     <deployJavaOpt>-Xmx1536m</deployJavaOpt>
  35     <settings>
  36         <common>
  37             <environmentName>TEST</environmentName>
  38             <applicationInstanceId/>
  39             <remoteFile>
  40                 <class>
  41                     dk.netarkivet.common.distribute.FTPRemoteFile
  42                 </class>
  43                 <serverPort>21</serverPort>
  44                 <retries>3</retries>
  45             </remoteFile>
  46             <jms>
  47                 <class>
  48                     dk.netarkivet.common.distribute.JMSConnectionSunMQ
  49                 </class>
  50                 <broker>east-adm-001.kb.dk</broker>
  51                 <port>7676</port>
  52             </jms>
  53             <jmx>
  54                 <passwordFile>conf/jmxremote.password</passwordFile>
  55                 <timeout>120</timeout>
  56             </jmx>
  57             <indexClient>
  58                 <indexRequestTimeout>43200000</indexRequestTimeout>
  59             </indexClient>
  60             <replicas>
  61                 <!-- The names of all bit archive replicas in the
  62                  environment, e.g., "nameOfBitachiveOne" and "nameOfBitachiveTwo". -->
  63                 <replica>
  64                     <replicaId>A</replicaId>
  65                     <replicaName>ReplicaA</replicaName>
  66                     <replicaType>bitarchive</replicaType>
  67                 </replica>
  68                 <replica>
  69                     <replicaId>B</replicaId>
  70                     <replicaName>ReplicaB</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     
 330     <thisPhysicalLocation name="WEST">
 331         <deployMachineUserName>netarkiv</deployMachineUserName>
 332         <deployInstallDir>/home/netarkiv</deployInstallDir>
 333         <settings>
 334             <common>
 335                 <remoteFile>
 336                     <serverName>west-har-001.statsbiblioteket.dk</serverName>
 337                     <userName>ftptestuser</userName>
 338                     <userPassword>ftptestpasswd</userPassword>
 339                 </remoteFile>
 340                 <mail>
 341                     <server>examplesmtpserver.netarkivet.dk</server>
 342                 </mail>
 343                 <notifications>
 344                     <class>dk.netarkivet.common.utils.EMailNotifications</class>
 345                     <sender>example@netarkivet.dk</sender>
 346                     <receiver>example@netarkivet.dk</receiver>
 347                 </notifications>
 348                 <useReplicaId>B</useReplicaId>
 349             </common>
 350         </settings>
 351         
 352         <deployMachine name="west-bar-001.statsbiblioteket.dk">
 353             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 354                 <settings>
 355                     <common>
 356                         <jmx>
 357                             <port>8100</port>
 358                             <rmiPort>8300</rmiPort>
 359                         </jmx>
 360                     </common>
 361                     <archive>
 362                         <bitarchive>
 363                             <baseFileDir>/netarkiv/0001</baseFileDir>
 364                         </bitarchive>
 365                         <bitarchive>
 366                             <baseFileDir>/netarkiv/0002</baseFileDir>
 367                         </bitarchive>
 368                     </archive>
 369                 </settings>
 370             </applicationName>
 371         </deployMachine>
 372 
 373         <deployMachine name="west-har-001.statsbiblioteket.dk">
 374              <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
 375              <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 376              <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 377              <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 378 
 379              <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 380                  <settings>
 381                      <common>
 382                          <jmx>
 383                              <port>8100</port>
 384                              <rmiPort>8300</rmiPort>
 385                          </jmx>
 386                          <http>
 387                              <port>8081</port>
 388                          </http>
 389                      </common>
 390                      <harvester>
 391                          <harvesting>
 392                              <queuePriority>HIGHPRIORITY</queuePriority>
 393                              <heritrix>
 394                                  <guiPort>8190</guiPort>
 395                                  <jmxPort>8191</jmxPort>
 396                                  <jmxUsername>controlRole</jmxUsername>
 397                                  <jmxPassword>R_D</jmxPassword>
 398                              </heritrix>
 399                             <serverDir>harvester_low</serverDir>
 400                          </harvesting>
 401                      </harvester>
 402                  </settings>
 403              </applicationName>
 404         </deployMachine>
 405         
 406         <deployMachine name="west-acs-001.statsbiblioteket.dk">
 407             <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
 408                 <settings>
 409                     <common>
 410                         <http>
 411                             <port>8076</port>
 412                         </http>
 413                         <jmx>
 414                             <port>8100</port>
 415                             <rmiPort>8300</rmiPort>
 416                         </jmx>
 417                     </common>
 418                     <viewerproxy>
 419                         <baseDir>viewerproxy</baseDir>
 420                     </viewerproxy>
 421                 </settings>
 422             </applicationName>
 423         </deployMachine>
 424     </thisPhysicalLocation>
 425 </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.