Attachment 'deploy_example.xml'

Download

   1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!--  
   3  * File:        $Id: it_conf_example.xml 711 2009-02-19 11:36:02Z elzi $
   4  * Revision:    $Revision: 711 $
   5  * Author:      $Author: elzi $
   6  * Date:        $Date: 2009-02-19 12:36:02 +0100 (Thu, 19 Feb 2009) $
   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  USA
  24  */
  25 -->
  26 <!-- 
  27 	This file contains an example of a deploy configuration file.
  28 -->
  29 <deployGlobal>
  30     <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
  31     <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
  32     <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
  33     <deployClassPath>lib/dk.netarkivet.wayback.jar</deployClassPath>
  34     <deployJavaOpt>-Xmx1536m</deployJavaOpt>
  35     <settings>
  36         <common>
  37             <environmentName>test</environmentName>
  38             <indexClient>
  39                 <indexRequestTimeout>43200000</indexRequestTimeout>
  40             </indexClient>
  41             <replicas>
  42                 <replica>
  43                     <replicaId>A</replicaId>
  44                     <replicaName>ReplicaA</replicaName>
  45                     <replicaType>bitArchive</replicaType>
  46                 </replica>
  47                 <replica>
  48                     <replicaId>B</replicaId>
  49                     <replicaName>ReplicaB</replicaName>
  50                     <replicaType>bitArchive</replicaType>
  51                 </replica>
  52             </replicas>
  53         </common>
  54         <monitor>
  55             <jmxUsername>monitorRole</jmxUsername>
  56             <jmxPassword>test</jmxPassword>
  57         </monitor>
  58     </settings>
  59     
  60     <thisPhysicalLocation name="EAST">
  61         <deployMachineUserName>test</deployMachineUserName>
  62         <deployInstallDir>/home/test</deployInstallDir>
  63         <deployDatabaseDir>databaseDir</deployDatabaseDir>
  64         <settings>
  65             <common>
  66                 <remoteFile>
  67                     <serverName>kb-test-har-001.kb.dk</serverName>
  68                     <userName>ftptestuser</userName>
  69                     <userPassword>ftptestpasswd</userPassword>
  70                 </remoteFile>
  71                 <useReplicaId>A</useReplicaId>
  72                 <notifications>
  73                     <sender>example@netarkivet.dk</sender>
  74                     <receiver>example@netarkivet.dk</receiver>
  75                 </notifications>
  76             </common>
  77         </settings>
  78         
  79         <deployMachine name="kb-dev-adm-001.kb.dk">
  80             <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
  81             <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
  82             <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
  83             <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
  84             <settings>
  85                 <common>
  86                     <jms>
  87                         <class>dk.netarkivet.common.distribute.JMSConnectionSunMQ</class>
  88                     </jms>
  89                 </common>
  90             </settings>
  91             <applicationName name="dk.netarkivet.common.webinterface.GUIApplication">
  92                 <settings>
  93                     <common>
  94                         <jmx>
  95                             <port>8100</port>
  96                             <rmiPort>8300</rmiPort>
  97                         </jmx>
  98                     </common>
  99                 </settings>
 100             </applicationName>
 101 
 102             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
 103                 <settings>
 104                     <common>
 105                         <useReplicaId>B</useReplicaId>
 106                         <applicationInstanceId>BBM</applicationInstanceId>
 107                         <jmx>
 108                             <port>8101</port>
 109                             <rmiPort>8301</rmiPort>
 110                         </jmx>
 111                     </common>
 112                 </settings>
 113             </applicationName>
 114 
 115             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
 116                 <settings>
 117                     <common>
 118                         <useReplicaId>A</useReplicaId>
 119                         <applicationInstanceId>ABM</applicationInstanceId>
 120                         <jmx>
 121                             <port>8102</port>
 122                             <rmiPort>8302</rmiPort>
 123                         </jmx>
 124                     </common>
 125                 </settings>
 126             </applicationName>
 127 
 128             <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
 129                 <settings>
 130                     <common>
 131                         <jmx>
 132                             <port>8103</port>
 133                             <rmiPort>8303</rmiPort>
 134                         </jmx>
 135                     </common>
 136                 </settings>
 137             </applicationName>
 138         </deployMachine>
 139         
 140         <deployMachine os="windows" name="kb-dev-bar-010.bitarkiv.kb.dk">
 141             <deployMachineUserName>ba-test</deployMachineUserName>
 142             <deployInstallDir>c:\Documents and Settings\ba-test</deployInstallDir>
 143             <deployJavaOpt>-Xmx1150m</deployJavaOpt>
 144             
 145             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 146                 <settings>
 147                     <common>
 148                         <jmx>
 149                             <port>8100</port>
 150                             <rmiPort>8300</rmiPort>
 151                         </jmx>
 152                     </common>
 153                     <archive>
 154                         <bitarchive>
 155                             <baseFileDir>q:\bitarkiv</baseFileDir>
 156                         </bitarchive>
 157                     </archive>
 158                 </settings>
 159             </applicationName>
 160         </deployMachine>
 161         
 162         <deployMachine os="windows" name="kb-dev-bar-011.bitarkiv.kb.dk">
 163             <deployMachineUserName>ba-test</deployMachineUserName>
 164             <deployInstallDir>c:\Documents and Settings\ba-test</deployInstallDir>
 165             <deployJavaOpt>-Xmx1150m</deployJavaOpt>
 166             
 167             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 168                 <settings>
 169                     <common>
 170                         <jmx>
 171                             <port>8100</port>
 172                             <rmiPort>8300</rmiPort>
 173                         </jmx>
 174                     </common>
 175                     <archive>
 176                         <bitarchive>
 177                             <baseFileDir>q:\bitarkiv</baseFileDir>
 178                         </bitarchive>
 179                     </archive>
 180                 </settings>
 181             </applicationName>
 182         </deployMachine>
 183 
 184         <deployMachine name="kb-dev-har-001.kb.dk">
 185              <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
 186              <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 187              <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 188              <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 189 
 190              <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 191                  <settings>
 192                      <common>
 193                          <jmx>
 194                              <port>8100</port>
 195                              <rmiPort>8300</rmiPort>
 196                          </jmx>
 197                          <http>
 198                              <port>8081</port>
 199                          </http>
 200                      </common>
 201                      <harvester>
 202                          <harvesting>
 203                              <queuePriority>LOWPRIORITY</queuePriority>
 204                              <heritrix>
 205                                  <guiPort>8190</guiPort>
 206                                  <jmxPort>8191</jmxPort>
 207                              </heritrix>
 208                             <serverDir>harvester_low</serverDir>
 209                          </harvesting>
 210                      </harvester>
 211                  </settings>
 212              </applicationName>
 213         </deployMachine>
 214 
 215         <deployMachine name="kb-dev-har-002.kb.dk">
 216              <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
 217              <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 218              <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 219              <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 220 
 221              <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 222                  <settings>
 223                      <common>
 224                          <jmx>
 225                              <port>8100</port>
 226                              <rmiPort>8300</rmiPort>
 227                          </jmx>
 228                          <http>
 229                              <port>8081</port>
 230                          </http>
 231                      </common>
 232                      <harvester>
 233                          <harvesting>
 234                              <queuePriority>LOWPRIORITY</queuePriority>
 235                              <heritrix>
 236                                  <guiPort>8190</guiPort>
 237                                  <jmxPort>8191</jmxPort>
 238                              </heritrix>
 239                             <serverDir>harvester_low</serverDir>
 240                          </harvesting>
 241                      </harvester>
 242                  </settings>
 243              </applicationName>
 244         </deployMachine>
 245 
 246         <deployMachine name="kb-dev-acs-001.kb.dk">
 247             <settings>
 248                 <common>
 249                     <http>
 250                         <port>8076</port>
 251                     </http>
 252                 </common>
 253                 <viewerproxy>
 254                     <baseDir>viewerproxy</baseDir>
 255                 </viewerproxy>
 256             </settings>
 257 
 258             <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
 259                 <settings>
 260                     <common>
 261                         <jmx>
 262                             <port>8100</port>
 263                             <rmiPort>8100</rmiPort>
 264                         </jmx>
 265                     </common>
 266                 </settings>
 267             </applicationName>
 268 
 269             <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
 270                 <settings>
 271                     <common>
 272                         <jmx>
 273                             <port>8101</port>
 274                             <rmiPort>8101</rmiPort>
 275                         </jmx>
 276                     </common>
 277                 </settings>
 278             </applicationName>
 279         </deployMachine>
 280     </thisPhysicalLocation>
 281     
 282     <thisPhysicalLocation name="WEST">
 283         <deployMachineUserName>netarkiv</deployMachineUserName>
 284         <deployInstallDir>/home/netarkiv</deployInstallDir>
 285         <settings>
 286             <common>
 287                 <remoteFile>
 288                     <serverName>sb-dev-har-001.statsbiblioteket.dk</serverName>
 289                     <userName>ftptestuser</userName>
 290                     <userPassword>ftptestpasswd</userPassword>
 291                 </remoteFile>
 292                 <mail>
 293                     <server>examplesmtpserver.netarkivet.dk</server>
 294                 </mail>
 295                 <notifications>
 296                     <class>dk.netarkivet.common.utils.EMailNotifications</class>
 297                     <sender>example@netarkivet.dk</sender>
 298                     <receiver>example@netarkivet.dk</receiver>
 299                 </notifications>
 300                 <useReplicaId>B</useReplicaId>
 301             </common>
 302         </settings>
 303         
 304         <deployMachine name="sb-dev-bar-001.statsbiblioteket.dk">
 305             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 306                 <settings>
 307                     <common>
 308                         <jmx>
 309                             <port>8100</port>
 310                             <rmiPort>8300</rmiPort>
 311                         </jmx>
 312                     </common>
 313                     <archive>
 314                         <bitarchive>
 315                             <baseFileDir>/netarkiv/0001</baseFileDir>
 316                         </bitarchive>
 317                         <bitarchive>
 318                             <baseFileDir>/netarkiv/0002</baseFileDir>
 319                         </bitarchive>
 320                     </archive>
 321                 </settings>
 322             </applicationName>
 323         </deployMachine>
 324 
 325         <deployMachine name="sb-dev-har-001.statsbiblioteket.dk">
 326              <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
 327              <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 328              <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 329              <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 330 
 331              <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 332                  <settings>
 333                      <common>
 334                          <jmx>
 335                              <port>8100</port>
 336                              <rmiPort>8300</rmiPort>
 337                          </jmx>
 338                          <http>
 339                              <port>8081</port>
 340                          </http>
 341                      </common>
 342                      <harvester>
 343                          <harvesting>
 344                              <queuePriority>HIGHPRIORITY</queuePriority>
 345                              <heritrix>
 346                                  <guiPort>8190</guiPort>
 347                                  <jmxPort>8191</jmxPort>
 348                                  <jmxUsername>controlRole</jmxUsername>
 349                                  <jmxPassword>R_D</jmxPassword>
 350                              </heritrix>
 351                             <serverDir>harvester_low</serverDir>
 352                          </harvesting>
 353                      </harvester>
 354                  </settings>
 355              </applicationName>
 356         </deployMachine>
 357         
 358         <deployMachine name="sb-dev-acs-001.statsbiblioteket.dk">
 359             <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
 360                 <settings>
 361                     <common>
 362                         <http>
 363                             <port>8076</port>
 364                         </http>
 365                         <jmx>
 366                             <port>8100</port>
 367                             <rmiPort>8300</rmiPort>
 368                         </jmx>
 369                     </common>
 370                     <viewerproxy>
 371                         <baseDir>viewerproxy</baseDir>
 372                     </viewerproxy>
 373                 </settings>
 374             </applicationName>
 375         </deployMachine>
 376     </thisPhysicalLocation>
 377 </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.