Attachment 'deploy_example_one_machine.xml'

Download

   1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!-- 
   3 *$Id: deploy_config_single.xml,v 1.2 2009/03/26 09:25:30 test Exp $
   4 * $Revision: 1.2 $
   5 * $Author: test $
   6 * $Date: 2009/03/26 09:25:30 $
   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 
  32 
  33 <deployGlobal>
  34     <deployClassPath>lib/dk.netarkivet.harvester.jar</deployClassPath>
  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     <deployJavaOpt>-Xmx1536m</deployJavaOpt>
  39     <settings>
  40         <common>
  41             <environmentName>USER</environmentName>
  42             <applicationInstanceId></applicationInstanceId>
  43             <remoteFile>
  44                 <class>
  45                     dk.netarkivet.common.distribute.FTPRemoteFile
  46                 </class>
  47                 <serverPort>21</serverPort>
  48                 <retries>3</retries>
  49             </remoteFile>
  50             <jms>
  51                 <class>
  52                     dk.netarkivet.common.distribute.JMSConnectionSunMQ
  53                 </class>
  54                 <broker>localhost</broker>
  55                 <port>7676</port>
  56             </jms>
  57             <jmx>
  58                 <passwordFile>conf/jmxremote.password</passwordFile>
  59                 <timeout>120</timeout>
  60             </jmx>
  61 
  62             <indexClient>
  63                 <indexRequestTimeout>43200000</indexRequestTimeout> 
  64             </indexClient>
  65             <replicas>
  66                 <replica>
  67                     <replicaId>A</replicaId>
  68                     <replicaName>ReplicaA</replicaName>
  69                     <replicaType>bitArchive</replicaType>
  70                 </replica>
  71             </replicas>
  72             <database>
  73                 <url></url>
  74             </database>
  75             <tempDir>tmpdircommon</tempDir> 
  76         </common>
  77         <monitor>
  78             <jmxUsername>monitorRole</jmxUsername>
  79             <jmxPassword>test</jmxPassword>
  80         </monitor>
  81     </settings>
  82 
  83     <thisPhysicalLocation name="NATIONAL_LIBRARY">
  84         <deployInstallDir>/home/test</deployInstallDir>
  85         <deployMachineUserName>test</deployMachineUserName>
  86     
  87         <settings>
  88             <common>
  89                 <remoteFile>
  90                     <serverName>localhost</serverName>
  91                     <userName>test</userName>
  92                     <userPassword>test123</userPassword>
  93                 </remoteFile>
  94                 <useReplicaId>A</useReplicaId> 
  95                 <mail>
  96                     <server>post.kb.dk</server>
  97                 </mail>
  98                 <notifications>
  99                     <class>dk.netarkivet.common.utils.EMailNotifications</class>
 100                     <receiver>example@netarkivet.dk</receiver> 
 101                     <sender>example@netarkivet.dk</sender>
 102                 </notifications>
 103             </common>
 104             <viewerproxy>
 105                 <baseDir>viewerproxy</baseDir>
 106             </viewerproxy>
 107         </settings>
 108 
 109         <deployMachine name="localhost">
 110             <deployDatabaseDir>harvestDatabase</deployDatabaseDir>
 111             <applicationName name="dk.netarkivet.common.webinterface.GUIApplication">
 112                 <settings>
 113                     <common>
 114                         <http>
 115                             <port>8074</port>
 116                         </http>
 117                         <jmx>
 118                             <port>8110</port> 
 119                             <rmiPort>8210</rmiPort>
 120                         </jmx>
 121                         <database>
 122                              <url>jdbc:derby:harvestDatabase/fullhddb</url>
 123                         </database>
 124                     </common>
 125                 </settings>
 126             </applicationName>
 127             <applicationName name="dk.netarkivet.archive.arcrepository.ArcRepositoryApplication">
 128                 <settings>
 129                     <common>
 130                         <jmx>
 131                             <port>8111</port> 
 132                             <rmiPort>8211</rmiPort>
 133                         </jmx>
 134                     </common>
 135                 </settings>
 136             </applicationName>
 137             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveMonitorApplication">
 138                 <settings>
 139                     <common>
 140                         <jmx>
 141                             <port>8112</port>  
 142                             <rmiPort>8212</rmiPort>
 143                         </jmx>
 144                     </common>
 145                 </settings>
 146             </applicationName>
 147             <applicationName name="dk.netarkivet.archive.bitarchive.BitarchiveApplication">
 148                 <settings>
 149                     <common>
 150                         <jmx>
 151                             <port>8113</port>  
 152                             <rmiPort>8213</rmiPort>
 153                         </jmx>
 154                     </common>
 155                     <archive>
 156                         <bitarchive>
 157                             <baseFileDir>bitarkiv</baseFileDir>
 158                         </bitarchive>
 159                     </archive>
 160                 </settings>
 161             </applicationName>
 162             <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 163                 <settings>
 164                     <common>
 165                         <applicationInstanceId>low</applicationInstanceId>            
 166                         <jmx>
 167                             <port>8114</port>
 168                             <rmiPort>8214</rmiPort>
 169                         </jmx>
 170                     </common>
 171                     <harvester>
 172                         <harvesting>
 173                             <queuePriority>LOWPRIORITY</queuePriority>
 174                             <heritrix>
 175                                 <guiPort>8190</guiPort> 
 176                                 <jmxPort>8191</jmxPort>
 177                                  <jmxUsername>controlRole</jmxUsername>
 178                                  <jmxPassword>R_D</jmxPassword>
 179                             </heritrix>
 180                		    <serverDir>harvester_low</serverDir>
 181                         </harvesting>
 182                     </harvester>
 183                 </settings>
 184             </applicationName>
 185             <applicationName name="dk.netarkivet.harvester.harvesting.HarvestControllerApplication">
 186                 <settings>
 187                     <common>
 188                         <applicationInstanceId>high</applicationInstanceId>
 189                         <jmx>
 190                             <port>8115</port>
 191                             <rmiPort>8215</rmiPort>
 192                         </jmx>
 193                     </common>
 194                     <harvester>
 195                         <harvesting>
 196                             <queuePriority>HIGHPRIORITY</queuePriority>
 197                             <heritrix>
 198                                 <guiPort>8192</guiPort> 
 199                                 <jmxPort>8193</jmxPort>
 200                                  <jmxUsername>controlRole</jmxUsername>
 201                                  <jmxPassword>R_D</jmxPassword>
 202                             </heritrix>
 203                		    <serverDir>harvester_high</serverDir>
 204                         </harvesting>
 205                     </harvester>
 206                 </settings>
 207             </applicationName>
 208             <applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
 209                 <settings>
 210                     <common>
 211                         <jmx>
 212                             <port>8116</port>
 213                             <rmiPort>8216</rmiPort>
 214                         </jmx>
 215                     </common>
 216                 </settings>
 217             </applicationName>
 218             <applicationName name="dk.netarkivet.viewerproxy.ViewerProxyApplication">
 219                 <deployClassPath>lib/dk.netarkivet.viewerproxy.jar</deployClassPath>
 220                 <deployClassPath>lib/dk.netarkivet.archive.jar</deployClassPath>
 221                 <deployClassPath>lib/dk.netarkivet.monitor.jar</deployClassPath>
 222                 <settings>
 223                     <common>
 224                         <http>
 225                             <port>8070</port>
 226                         </http>
 227                         <jmx>
 228                             <port>8117</port>
 229                             <rmiPort>8217</rmiPort>
 230                         </jmx>
 231                     </common>
 232                 </settings>
 233             </applicationName>
 234         </deployMachine>
 235     </thisPhysicalLocation>
 236 </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-04-13 11:44:44, 1.7 KB) [[attachment:RunNetarchiveSuite.sh]]
  • [get | view] (2009-11-17 08:53:16, 194.7 KB) [[attachment:Screenshot-1.png]]
  • [get | view] (2009-11-17 08:53:24, 9.3 KB) [[attachment:deploy_example_one_machine.xml]]
  • [get | view] (2010-09-14 07:43:36, 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.