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

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