Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to provide bit level preservation, we use the Audit Control Environment Audit Manager to run periodic fixity checks on Bags stored in Chronopolis. The ACE Audit Managear Manager webapp gives us two levels of verification when doing our checks: the first is that the file is valid, and the second is that the digest for the file is valid.

...

In addition, there is timestamp information stored in the ACE Tokens which serves as a piece of provenance for when a file was first validated by Chronopolis.

Links

Installation

Installation instructions are available on the ACE Wiki

Administration

Database Connection Setup

Note: ACE-AM does not currently work with the mariadb java connector

https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing

It is recommended that the connection pool size for your database is max_connections = ((core_count * 2) + effective_spindle_count. So for a cpu with a core count of 16, you should start with a maximum pool size of 32.

In addition, the maximum idle and wait times should also be set in order to reclaim old connections.

By default Tomcat ships with DBCP and its configuration should look like:

Code Block
languagexml
titleace-am.xml
<Resource name="jdbc/aceamdb" auth="Container"
  driverClassName="com.mysql.jdbc.Driver" 
  maxTotal="32" 
  maxIdle="10" 
  maxWaitMillis="300000" 
  testOnBorrow="true" 
  type="javax.sql.DataSource" 
  url="jdbc:mysql://localhost/aceam?characterEncoding=UTF-8" 
  username="ace"
  password="-----------" 
  validationQuery="SELECT 1"/>

If using HikariCP, the HikariCP jar and slf4j-api jars will need to be added to Tomcat's lib directory. The resource configuration will then look like

Code Block
languagexml
titleace-am.xml
<Resource name="jdbc/aceamdb" auth="Container"
      factory="com.zaxxer.hikari.HikariJNDIFactory"
      type="javax.sql.DataSource"
      minimumIdle="10" 
      maximumPoolSize="32"
      connectionTimeout="300000"
      driverClassName="com.mysql.jdbc.Driver"
      jdbcUrl="jdbc:mysql://localhost/aceinnodb?characterEncoding=UTF-8" 
      dataSource.user="ace"
      dataSource.password="-----------" />

Adding A Collection

Removing A Collection

...