<<O>>  Difference Topic SrbRepMon (r1.20 - 18 Dec 2007 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 20 to 20

The SRB Replica monitor is a simple webapp that will watch registered directories and ensure that copies exist at designated mirrors. The monitor stores enough information to know if files have been removed from the master site and when the last time a file was seen. In addition any action that the webapp takes on files is logged. The monitor does NOT do any type of integrity checking, this is the responsibility of additional components.

Added:
>
>
For the more adventurous, we have a newer version under development here

Files

 <<O>>  Difference Topic SrbRepMon (r1.19 - 12 Jul 2007 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 215 to 215

    • low priority, startup cost even in large (2m collections) is only a few hours.
  • Allow collections and replica's to have excluded directories
  • Highlight currently selected item in status window
Deleted:
<
<
  • sync partial directories (dearp)

Added:
>
>
  • sync partial directories (dearp)

  • remove individual directories from monitoring. (dearp)
  • Create report showing which items are not currently active. (dearp)
  • Fix ordering of items on status screen. (dearp)
 <<O>>  Difference Topic SrbRepMon (r1.18 - 12 Jul 2007 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 214 to 214

  • Checkpointing during sync of collections in case of restart or crash. This should be done per directory.
    • low priority, startup cost even in large (2m collections) is only a few hours.
  • Allow collections and replica's to have excluded directories
Deleted:
<
<
  • Create report showing which items are not currently active. (dearp)

  • Highlight currently selected item in status window
Changed:
<
<
  • remove individual directories from monitoring.
>
>
  • sync partial directories (dearp)

Added:
>
>
  • remove individual directories from monitoring. (dearp)
  • Create report showing which items are not currently active. (dearp)

  • Fix ordering of items on status screen. (dearp)
  • Link errors to directory or file (dearp)
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still.
 <<O>>  Difference Topic SrbRepMon (r1.17 - 31 May 2007 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 211 to 211

  • what happens when replicas are removed when a thread is running.
Deleted:
<
<
  • Fix ordering of items on status screen.

  • Checkpointing during sync of collections in case of restart or crash. This should be done per directory.
    • low priority, startup cost even in large (2m collections) is only a few hours.
Deleted:
<
<

  • Allow collections and replica's to have excluded directories
Changed:
<
<
  • Link errors to directory or file
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still.
    • Filter logs based on collection
  • Create report showing which items are not currently active.
>
>
  • Create report showing which items are not currently active. (dearp)

  • Highlight currently selected item in status window
  • remove individual directories from monitoring.
Added:
>
>
  • Fix ordering of items on status screen. (dearp)
  • Link errors to directory or file (dearp)
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still.
    • Filter logs based on collection

  • login for admin functions (web.xml filter...), and accounts creation page (dearp)
  • Add stop replication button
  • when determining what replica to run, choose the one w/ the greatest time since last checked.
 <<O>>  Difference Topic SrbRepMon (r1.16 - 19 Apr 2007 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 129 to 129

SRB Setup

Added:
>
>
The replication monitor allows for different collections to use different SRB accounts to replicate data.

srb-add-account-web-small.png

Collection Configuration

Added:
>
>
There are two parts to configuring a collection for monitoring in the replica monitor. First, you need to configure a master collection that will be used as the source of data. Second you need to configure a set of replica sites that are used to receive copies of data from the master site. There are a few simple requirements for the replica collections. They include
  • replica sites and master site must be federated.
  • Account listed in the master site is the one used for replication to all child sites. It must exist on all replica sites

A common practice that works for replicating is to create a second account rooted in the replica zone, give this account read access to the master collection, use this account for the master and replica account. This provides a degree of safety in that this account cannot change the original copy.


collection-modify-master-web-small.png

Added:
>
>
  • Name - descriptive name for the collection
  • SRB Account - account that will be used to replicate this collection. Account must have read access to master collection
  • path - SRB directory containing the master collection.

collection-modify-replica-web-small.png

Added:
>
>
  • SRB Account - account to use for browsing and selecting a resource only (not used during replication)
  • resource - destination resource
  • path - destination path.

Event Logs

 <<O>>  Difference Topic SrbRepMon (r1.15 - 17 Apr 2007 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 6 to 6

Changed:
<
<
    • Adding Collections
    • Viewing Errors
>
>
    • SRB Setup
    • Collection Configuration
    • Event Logs

Line: 20 to 21

The SRB Replica monitor is a simple webapp that will watch registered directories and ensure that copies exist at designated mirrors. The monitor stores enough information to know if files have been removed from the master site and when the last time a file was seen. In addition any action that the webapp takes on files is logged. The monitor does NOT do any type of integrity checking, this is the responsibility of additional components.
Added:
>
>

Files


Quick Setup

Line: 56 to 64

Change WHERE_YOU_DOWNLOADED_SCHEMA.sql to correspond to the location you downloaded the schema listed below. Set YOUR_PASSWORD to a password to use for this database.

Changed:
<
<
3. Install webapp
Install tomcat on your server and verify it's working. Shutdown the server and place a copy of the xxx.war file in your webapps directory. Place a copy of the configuration file xxx.xml in your conf/Catalina/localhost directory. Open up the configuration file and edit the following settings
>
>
3. Install webapp
Install tomcat on your server and verify it's working. Shutdown the server and place a copy of the srb-monitor.war file in your TOMCAT/webapps directory. Place a copy of the configuration file srb-monitor.xml in your TOMCAT/conf/Catalina/localhost directory. Open up the configuration file and edit the following settings.

...
    <Parameter name="hibernate.connection.username" value="monitor" />
    <Parameter name="hibernate.connection.password" value="YOUR_PASSWORD" />
    <Parameter name="hibernate.connection.url" value="jdbc:mysql://localhost/srbmon" />
...
...
    <Realm className="org.apache.catalina.realm.JDBCRealm"
        driverName="org.gjt.mm.mysql.Driver"
        connectionURL="jdbc:mysql://localhost/srbmon" 
            connectionName="monitor" connectionPassword="YOUR_PASSWORD"
        userTable="USERS" userNameCol="username" userCredCol="password"
        userRoleTable="USER_ROLES" roleNameCol="rolename"
    />
...

  • connectionPassword and hibernate.connection.password should be set to the password you used above
  • if your database is running on a different server, or you used a username other than monitor when creating your database, update the above sections accordingly

If you haven't already done so, you will need to place a copy of the mysql connector in your tomcat TOMCAT/common/lib directory so the monitor can use the database for authentication.

You can now restart tomcat and browse to http://localhost:8080/srb-monitor where localhost is the name of the machine you installed the monitor on.


Added:
>
>
4. Register your first collection
When the monitor starts up, you will see a status screen with no collections.
  • Click on SRB Configuration. You will be prompted for a username and password, enter 'admin' for both. Fill in the six blanks with an account that has read access to your collection. Click Add when finished.
  • Click on Collection Configuration. Enter a name of your collection, and choose the path in the SRB where you collection is located. When finished click Add.
  • Click on Add Replica on the left. Select a resource that will store your replica, and then select the destination path for your collection. Click Add when finished.

5. Start the sync
Click on the Status tab, click your collection, then click Synchronize Mirrors at the bottom. After a few seconds, you should see files in your collection listed, and the counts for replicated items start to increase.

Usage

Added:
>
>
There are five main sections to the replication monitor.
  • Status - view current status and browse collections
  • Collections - register new collections and replica's for those collections
  • SRB Configuration - Register accounts that will be used to access collections.
  • Event Log - detailed event list of everything the replica monitor has done.
  • Accounts - Control access to the replica monitor.

Status
Changed:
<
<
Adding Collections
>
>
The status screen shows an overview of all monitored collections. Clicking on a collection will bring up an expanded view of the collection.

status-web-small.png

  • Collection Name: descriptive name of the collection, preceded with a red icon showing no syncing is in progress or a green icon showing a sync is actively running.
  • Site Status - State of the master site as of the last sync.
  • Total Files - Count of monitored files, this will not be accurate until after the first complete sync has finished.

status-idle-sync-web-small.png

status-active-sync-web-small.png

  • Stop / Start sync - Start or start the syncing of master site to replica sites.
  • Collection Configuration - Go to the collection configuration screen for this collection.
  • Browse - browse and display the current status of any file in the collection

Changed:
<
<
Viewing Errors
>
>
SRB Setup

srb-add-account-web-small.png

Collection Configuration

collection-modify-master-web-small.png

collection-modify-replica-web-small.png

Event Logs

The event logs track every action that occurs while syncing a collection. As the logs can grow quite large, there are a number of filtering options available. The beginning and end of every sync is recorded as well as any new files or new replicas that were created and any errors that may have occurred. For a new file, you will generally see 3 entries per file, an entry for a new master file discovered, and two entries for the beginning and ending of the replica creation.

event-web-small.png

  • Errors - show only errors that occurred during transfer. This is any error from master site to replica
  • Missing Files - Logged when a master file has gone missing.
  • New Master Items - Logged when a new master file has been found
  • New Replica - show when a new replica was created.
  • Sync Start/Stop - show when syncs started and stopped, good for showing over time involved in syncing a collection
  • Collections - limit the displayed errors to a given collection.

  • Show per page: display 20, 50, or 100 log items per page
  • |< >| - start at beginning or end of logs
  • << >> - show previous or next page

Account Management

Added:
>
>
  • accounts-new-web-small.png:
    accounts-new-web-small.png

  • accounts-roles-web-small.png:
    accounts-roles-web-small.png

System Configuration
Changed:
<
<
System configuration is done in the xxx.xml file for the webapp. This included database connection properties and some properties controlling logging and how replica sites are checked.
>
>
System configuration is done in the TOMCAT/conf/Catalina/localhost/srb-monitor.xml file for the webapp. This included database connection properties and some properties controlling logging and how replica sites are checked.

The settings that most will want to change are:

    <!-- Time after which a replica check is needed, in hours -->
    <Parameter name="edu.umiacs.checkTime" value="168" />
    <!-- Max number of running replica's, if set to 0 or blank, then no limit -->
    <Parameter name="edu.umiacs.maxSyncThreads" value="5" />
    <!-- Max number of attempts to copy a file if we get an error -->
    <Parameter name="edu.umiacs.maxRetry" value="5" />
    <!-- Should we schedule sync's or require them to be run manually -->
    <Parameter name="edu.umiacs.autoSync" value="false" />

Implementation

Line: 84 to 193

Logging

Deleted:
<
<

Files


TODO

Line: 95 to 200

  • what happens when replicas are removed when a thread is running.
  • Fix ordering of items on status screen.
Deleted:
<
<
  • login for admin functions (web.xml filter...), and accounts creation page (dearp)

  • Checkpointing during sync of collections in case of restart or crash. This should be done per directory.
Added:
>
>
    • low priority, startup cost even in large (2m collections) is only a few hours.

  • Allow collections and replica's to have excluded directories
  • Link errors to directory or file
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still.
Changed:
<
<
    • Filter logs based on collection
>
>
    • Filter logs based on collection

  • Create report showing which items are not currently active.
  • Highlight currently selected item in status window
  • remove individual directories from monitoring.
Added:
>
>
  • login for admin functions (web.xml filter...), and accounts creation page (dearp)

  • Add stop replication button
  • when determining what replica to run, choose the one w/ the greatest time since last checked.
  • Fix bug where files don't get marked active if they are replicated
Line: 116 to 222

-- MikeSmorul - 25 Aug 2006

Changed:
<
<

META FILEATTACHMENT schema-export.sql attr="h" comment="" date="1165259727" path="schema-export.sql" size="4272" user="MikeSmorul" version="1.1"
>
>
META FILEATTACHMENT schema-export.sql attr="h" comment="" date="1176831647" path="schema-export.sql" size="4459" user="MikeSmorul" version="1.2"
META FILEATTACHMENT srb-monitor.war attr="h" comment="" date="1176831953" path="srb-monitor.war" size="19299554" user="MikeSmorul" version="1.1"
META FILEATTACHMENT context.xml attr="h" comment="" date="1176834662" path="context.xml" size="3048" user="MikeSmorul" version="1.1"
META FILEATTACHMENT accounts-new-web.png attr="h" comment="" date="1176839285" path="accounts-new-web.png" size="36760" user="MikeSmorul" version="1.1"
META FILEATTACHMENT accounts-roles-web.png attr="h" comment="" date="1176839311" path="accounts-roles-web.png" size="9295" user="MikeSmorul" version="1.1"
META FILEATTACHMENT collection-modify-master-web.png attr="h" comment="" date="1176839329" path="collection-modify-master-web.png" size="30368" user="MikeSmorul" version="1.1"
META FILEATTACHMENT collection-modify-replica-web.png attr="h" comment="" date="1176839342" path="collection-modify-replica-web.png" size="33885" user="MikeSmorul" version="1.1"
META FILEATTACHMENT event-web.png attr="h" comment="" date="1176839469" path="event-web.png" size="55817" user="MikeSmorul" version="1.1"
META FILEATTACHMENT srb-add-account-web.png attr="h" comment="" date="1176839481" path="srb-add-account-web.png" size="36676" user="MikeSmorul" version="1.1"
META FILEATTACHMENT status-active-sync-web.png attr="h" comment="" date="1176839494" path="status-active-sync-web.png" size="36071" user="MikeSmorul" version="1.1"
META FILEATTACHMENT status-idle-sync-web.png attr="h" comment="" date="1176839517" path="status-idle-sync-web.png" size="24160" user="MikeSmorul" version="1.1"
META FILEATTACHMENT status-web.png attr="h" comment="" date="1176839534" path="status-web.png" size="32151" user="MikeSmorul" version="1.1"
META FILEATTACHMENT status-web-small.png attr="h" comment="" date="1176839628" path="status-web-small.png" size="28201" user="MikeSmorul" version="1.1"
META FILEATTACHMENT accounts-new-web-small.png attr="h" comment="" date="1176839913" path="accounts-new-web-small.png" size="26915" user="MikeSmorul" version="1.1"
META FILEATTACHMENT accounts-roles-web-small.png attr="h" comment="" date="1176839923" path="accounts-roles-web-small.png" size="6997" user="MikeSmorul" version="1.1"
META FILEATTACHMENT collection-modify-master-web-small.png attr="h" comment="" date="1176839933" path="collection-modify-master-web-small.png" size="27079" user="MikeSmorul" version="1.1"
META FILEATTACHMENT collection-modify-replica-web-small.png attr="h" comment="" date="1176839944" path="collection-modify-replica-web-small.png" size="31881" user="MikeSmorul" version="1.1"
META FILEATTACHMENT event-web-small.png attr="h" comment="" date="1176839959" path="event-web-small.png" size="56718" user="MikeSmorul" version="1.1"
META FILEATTACHMENT srb-add-account-web-small.png attr="h" comment="" date="1176839973" path="srb-add-account-web-small.png" size="31619" user="MikeSmorul" version="1.1"
META FILEATTACHMENT status-active-sync-web-small.png attr="h" comment="" date="1176839983" path="status-active-sync-web-small.png" size="31132" user="MikeSmorul" version="1.1"
META FILEATTACHMENT status-idle-sync-web-small.png attr="h" comment="" date="1176839995" path="status-idle-sync-web-small.png" size="19821" user="MikeSmorul" version="1.1"
 <<O>>  Difference Topic SrbRepMon (r1.14 - 14 Dec 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 97 to 97

  • login for admin functions (web.xml filter...), and accounts creation page (dearp)
  • Checkpointing during sync of collections in case of restart or crash. This should be done per directory.
Changed:
<
<
  • Add stop replication button
>
>

  • Allow collections and replica's to have excluded directories
  • Link errors to directory or file
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still.
Line: 106 to 106

  • Highlight currently selected item in status window
  • remove individual directories from monitoring.
Added:
>
>
  • Add stop replication button

  • when determining what replica to run, choose the one w/ the greatest time since last checked.
  • Fix bug where files don't get marked active if they are replicated
  • Check hourly for stuff that has passed it's check time, while respecting max run
 <<O>>  Difference Topic SrbRepMon (r1.13 - 13 Dec 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

 <<O>>  Difference Topic SrbRepMon (r1.12 - 05 Dec 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 103 to 103

    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still.
    • Filter logs based on collection
  • Create report showing which items are not currently active.
Added:
>
>
  • Highlight currently selected item in status window
  • remove individual directories from monitoring.

  • when determining what replica to run, choose the one w/ the greatest time since last checked.
  • Fix bug where files don't get marked active if they are replicated
 <<O>>  Difference Topic SrbRepMon (r1.11 - 04 Dec 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 100 to 100

  • Add stop replication button
  • Allow collections and replica's to have excluded directories
  • Link errors to directory or file
Changed:
<
<
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still
>
>
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still.
    • Filter logs based on collection
  • Create report showing which items are not currently active.

  • when determining what replica to run, choose the one w/ the greatest time since last checked.
  • Fix bug where files don't get marked active if they are replicated
 <<O>>  Difference Topic SrbRepMon (r1.10 - 04 Dec 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 11 to 11

Added:
>
>

Line: 26 to 27

Changed:
<
<
2. Create database
Create a new database called 'srbmon'
>
>
2. Create database
Create a new database called 'srbmon', grant permissions and setup table structure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> create database srbmon;
Query OK, 1 row affected (0.01 sec)

mysql> grant all on srbmon.* to monitor@localhost identified by 'YOUR_PASSWORD';
Query OK, 0 rows affected (0.00 sec)

mysql> use srbmon;
Database changed
mysql> source WHERE_YOU_DOWNLOADED_SCHEMA.sql;
ERROR 1146 (42S02): Table 'srbmon.ACTIVITY_LOG_ENTRY' doesn't exist
ERROR 1146 (42S02): Table 'srbmon.ACTIVITY_LOG_ENTRY' doesn't exist
...
...
Query OK, 0 rows affected (0.00 sec)
Records: 0  Duplicates: 0  Warnings: 0

mysql> exit
Bye

Change WHERE_YOU_DOWNLOADED_SCHEMA.sql to correspond to the location you downloaded the schema listed below. Set YOUR_PASSWORD to a password to use for this database.


3. Install webapp
Install tomcat on your server and verify it's working. Shutdown the server and place a copy of the xxx.war file in your webapps directory. Place a copy of the configuration file xxx.xml in your conf/Catalina/localhost directory. Open up the configuration file and edit the following settings
Line: 56 to 84

Logging

Added:
>
>

Files


TODO

Changed:
<
<
  • Move hibernate config into context.xml
>
>

  • what happens when replicas are removed when a thread is running.
Changed:
<
<
  • Make interface IE proof
>
>
  • Fix ordering of items on status screen.

  • login for admin functions (web.xml filter...), and accounts creation page (dearp)
  • Checkpointing during sync of collections in case of restart or crash. This should be done per directory.
  • Add stop replication button
  • Allow collections and replica's to have excluded directories
  • Link errors to directory or file
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still
Changed:
<
<
  • Fix ordering of items on status screen.
>
>

  • when determining what replica to run, choose the one w/ the greatest time since last checked.
  • Fix bug where files don't get marked active if they are replicated
  • Check hourly for stuff that has passed it's check time, while respecting max run
Changed:
<
<
  • get total file count prior to starting replica
>
>
  • get total file count prior to starting replica
  • Make interface IE proof
  • Move hibernate config into context.xml

-- MikeSmorul - 25 Aug 2006

Added:
>
>

META FILEATTACHMENT schema-export.sql attr="h" comment="" date="1165259727" path="schema-export.sql" size="4272" user="MikeSmorul" version="1.1"
 <<O>>  Difference Topic SrbRepMon (r1.9 - 01 Dec 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 72 to 72

  • when determining what replica to run, choose the one w/ the greatest time since last checked.
  • Fix bug where files don't get marked active if they are replicated
  • Check hourly for stuff that has passed it's check time, while respecting max run
Added:
>
>
  • get total file count prior to starting replica

-- MikeSmorul - 25 Aug 2006

 <<O>>  Difference Topic SrbRepMon (r1.8 - 01 Dec 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 69 to 69

  • Link errors to directory or file
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still
  • Fix ordering of items on status screen.
Changed:
<
<
  • when determining what replica to run, choose the one w/ the greatest time since last checked.
>
>
  • when determining what replica to run, choose the one w/ the greatest time since last checked.

  • Fix bug where files don't get marked active if they are replicated
Added:
>
>
  • Check hourly for stuff that has passed it's check time, while respecting max run

-- MikeSmorul - 25 Aug 2006

 <<O>>  Difference Topic SrbRepMon (r1.7 - 01 Dec 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 22 to 22

Quick Setup

Added:
>
>
1. Requirements

2. Create database
Create a new database called 'srbmon'

3. Install webapp
Install tomcat on your server and verify it's working. Shutdown the server and place a copy of the xxx.war file in your webapps directory. Place a copy of the configuration file xxx.xml in your conf/Catalina/localhost directory. Open up the configuration file and edit the following settings

Usage

Line: 35 to 44

System Configuration

Added:
>
>
System configuration is done in the xxx.xml file for the webapp. This included database connection properties and some properties controlling logging and how replica sites are checked.

Implementation

Line: 48 to 59

TODO

Changed:
<
<
  • Move hibernate config into context.xml
>
>
  • Move hibernate config into context.xml

  • what happens when replicas are removed when a thread is running.
  • Make interface IE proof
Changed:
<
<
  • login for admin functions (web.xml filter...) (dearp)
>
>
  • login for admin functions (web.xml filter...), and accounts creation page (dearp)

  • Checkpointing during sync of collections in case of restart or crash. This should be done per directory.
  • Add stop replication button
  • Allow collections and replica's to have excluded directories
  • Link errors to directory or file
Added:
>
>
    • logging handles this, just need to finish gui. masterfile and replicafile in gui finished, replica site and master site needs done still

  • Fix ordering of items on status screen.
  • when determining what replica to run, choose the one w/ the greatest time since last checked.
  • Fix bug where files don't get marked active if they are replicated
 <<O>>  Difference Topic SrbRepMon (r1.6 - 30 Nov 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 58 to 58

  • Link errors to directory or file
  • Fix ordering of items on status screen.
  • when determining what replica to run, choose the one w/ the greatest time since last checked.
Added:
>
>
  • Fix bug where files don't get marked active if they are replicated

-- MikeSmorul - 25 Aug 2006

 <<O>>  Difference Topic SrbRepMon (r1.5 - 28 Nov 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Added:
>
>

Line: 10 to 18

The SRB Replica monitor is a simple webapp that will watch registered directories and ensure that copies exist at designated mirrors. The monitor stores enough information to know if files have been removed from the master site and when the last time a file was seen. In addition any action that the webapp takes on files is logged. The monitor does NOT do any type of integrity checking, this is the responsibility of additional components.

Added:
>
>

Quick Setup

Usage

Status

Adding Collections

Viewing Errors

Account Management

System Configuration


Implementation

The Monitor consists of three parts, first a database backend that tracks all monitored files, configuration, and logging information. Second a sync thread that runs across each collection, looking for new items and logging any changes. Third an interface for configuring collections and viewing the results of a synchronization.

Line: 24 to 50

  • Move hibernate config into context.xml
  • what happens when replicas are removed when a thread is running.
Changed:
<
<
  • Clean up the interface.
  • login for admin functions (filter...)
>
>
  • Make interface IE proof
  • login for admin functions (web.xml filter...) (dearp)
  • Checkpointing during sync of collections in case of restart or crash. This should be done per directory.
  • Add stop replication button
  • Allow collections and replica's to have excluded directories
  • Link errors to directory or file
  • Fix ordering of items on status screen.
  • when determining what replica to run, choose the one w/ the greatest time since last checked.

-- MikeSmorul - 25 Aug 2006

 <<O>>  Difference Topic SrbRepMon (r1.4 - 06 Oct 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 14 to 14

The Monitor consists of three parts, first a database backend that tracks all monitored files, configuration, and logging information. Second a sync thread that runs across each collection, looking for new items and logging any changes. Third an interface for configuring collections and viewing the results of a synchronization.

Added:
>
>
Replication Workflow

Logging


TODO

 <<O>>  Difference Topic SrbRepMon (r1.3 - 06 Oct 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 10 to 10

The SRB Replica monitor is a simple webapp that will watch registered directories and ensure that copies exist at designated mirrors. The monitor stores enough information to know if files have been removed from the master site and when the last time a file was seen. In addition any action that the webapp takes on files is logged. The monitor does NOT do any type of integrity checking, this is the responsibility of additional components.

Changed:
<
<

+

>
>

Implementation

The Monitor consists of three parts, first a database backend that tracks all monitored files, configuration, and logging information. Second a sync thread that runs across each collection, looking for new items and logging any changes. Third an interface for configuring collections and viewing the results of a synchronization.


TODO

  • Move hibernate config into context.xml
Deleted:
<
<
  • start threads in background from webapp startup

  • what happens when replicas are removed when a thread is running.
  • Clean up the interface.
Deleted:
<
<
  • bug - cross-zone copies don't always work, why

  • login for admin functions (filter...)
Added:
>
>


-- MikeSmorul - 25 Aug 2006
 <<O>>  Difference Topic SrbRepMon (r1.2 - 11 Sep 2006 - MikeSmorul)

META TOPICPARENT WebHome

SRB Replication Monitor

Line: 10 to 10

The SRB Replica monitor is a simple webapp that will watch registered directories and ensure that copies exist at designated mirrors. The monitor stores enough information to know if files have been removed from the master site and when the last time a file was seen. In addition any action that the webapp takes on files is logged. The monitor does NOT do any type of integrity checking, this is the responsibility of additional components.

Added:
>
>

+


TODO

  • Move hibernate config into context.xml
Deleted:
<
<
  • status monitoring for running threads

  • start threads in background from webapp startup
  • what happens when replicas are removed when a thread is running.
  • Clean up the interface.
 <<O>>  Difference Topic SrbRepMon (r1.1 - 25 Aug 2006 - MikeSmorul)
Line: 1 to 1
Added:
>
>
META TOPICPARENT WebHome

SRB Replication Monitor

Overview

The SRB Replica monitor is a simple webapp that will watch registered directories and ensure that copies exist at designated mirrors. The monitor stores enough information to know if files have been removed from the master site and when the last time a file was seen. In addition any action that the webapp takes on files is logged. The monitor does NOT do any type of integrity checking, this is the responsibility of additional components.

TODO

  • Move hibernate config into context.xml
  • status monitoring for running threads
  • start threads in background from webapp startup
  • what happens when replicas are removed when a thread is running.
  • Clean up the interface.
  • bug - cross-zone copies don't always work, why
  • login for admin functions (filter...)

-- MikeSmorul - 25 Aug 2006

Revision r1.1 - 25 Aug 2006 - 20:03 - MikeSmorul
Revision r1.20 - 18 Dec 2007 - 05:30 - MikeSmorul