You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 26 Next »

Original FIZ-Oai-Docu: https://fiznetz.fiz-karlsruhe.de/display/IEEpubFIZ/FIZ-OAI

OAI-Backend:

Bitbucket: https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-backend/

warfile, Java 11, Tomcat

or dependency

        <dependency>
            <groupId>de.fiz.oai.backend</groupId>
            <artifactId>oai-backend</artifactId>
            <version>${fiz.oaibackend.version}</version>
            <classifier>classes</classifier>
        </dependency>


Prerequisites:

Initial Data: create with project https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer , ddb_import/import.groovy

OAI-Frontend:

warfile, Java 11, Tomcat

Frontend needs own Tomcat because of startorder. First start OAI-Backend, then start OAI-Frontend

Configuration:

Apache-VHost:

  • Redirect to the Servlet: https://dev-ddb.fiz-karlsruhe.de/oai --> http://ddb-di-vm08:8080/oai/OAIHandler
  • Redirect to Stylesheet + Images: https://dev-ddb.fiz-karlsruhe.de/oai/docs --> http://ddb-di-vm08:8080/oai
  • Rewrite-Rule because of tailing slash (may not be behind Servlet-Path)
  •     <Location /oai >
          # OAI-Test in DI-Network
          AuthType Basic
          AuthName "Sie greifen auf ein Testsystem der DDB zu. Wenn Sie den Benutzernamen und das Passwort nicht kennen, dann sind Sie hier wahrscheinlich falsch."
          AuthUserFile "/etc/httpd/conf/htaccess"
          Require valid-user
    
          ProxyPass http://ddb-di-vm08:8080/oai/OAIHandler 
          ProxyPassReverse http://ddb-di-vm08:8080/oai/OAIHandler
        </Location>
        <Location /oai/docs >
          # OAI-Test in DI-Network
          AuthType Basic
          AuthName "Sie greifen auf ein Testsystem der DDB zu. Wenn Sie den Benutzernamen und das Passwort nicht kennen, dann sind Sie hier wahrscheinlich falsch."
          AuthUserFile "/etc/httpd/conf/htaccess"
          Require valid-user
    
          ProxyPass http://ddb-di-vm08:8080/oai
          ProxyPassReverse http://ddb-di-vm08:8080/oai
        </Location>
    
        RewriteCond %{REQUEST_URI} ^/oai.*
        RewriteRule ^(/oai)/+$ $1 [R=301,L]
    
    

Stylesheets + related Images are located in https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer/browse/resources/docs/frontend

  • Edit oai2.xsl, adapt links to images (3 Images, just below <html>-element) , Put Images into the same Folder as the Stylesheet.
  • Put Stylesheet oai2.xsl and Images into webapps/oai/ and reference it in the Configuration (/oai/docs/oai2.xsl)
  • prepared xsl + images for the server is located in <tomcat_root>/conf/docs. Just copy to <tomcat_root>/webapps/oai after redeploy of App

Configuration (https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer/browse/resources/conf/frontend/oaicat.properties )

DI-Net:


DI
OAI-Backend

ddb-di-vm08

/data/ddb/tools/oai/tomcat

http://ddb-di-vm08.fiz-karlsruhe.de:8081/oai-backend

OAI-Frontend

ddb-di-vm08

/data/ddb/tools/oai/tomcat1

http://ddb-di-vm08.fiz-karlsruhe.de:8080/oai

http://dev-ddb.fiz-karlsruhe.de/oai

CassandraDDB-DI-Cluster, Keyspace oai_di
SOLRhttp://ddb-di-vm05.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

PROD-Net:


Q1P
OAI-Backend
OAI-Frontend

https://oai-q1.deutsche-digitale-bibliothek.de

https://oai.deutsche-digitale-bibliothek.de

CassandraDDB-P-Cluster, Keyspace oai_q1DDB-P-Cluster, Keyspace oai_p
SOLR

master: http://ddb-q1-solr01.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

slaves: http://ddb-q1-solr02.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

master: http://ddb-p1-solr01.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

slaves: http://ddb-p1-solr02.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

http://ddb-p1-solr03.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

http://ddb-p2-solr02.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

http://ddb-p2-solr03.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

  • No labels