Versions Compared

Key

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


Info
Diese Seite muss überarbeitet werden!

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

...

  • Cassanda-Tables
  • SOLR-Index
    • Schema can be found in oai-backend-project, src/main/resources/solr or in Cortex-Project Cortex/conf/solr/oaiitems
  • Configuration
    • fiz-oai-backend.properties Code Block
      collapsetrue
      #DI cassandra.nodes=141.66.133.19:8842,141.66.133.20:8842,141.66.133.21:8842,141.66.133.22:8842,141.66.133.23:8842,141.66.133.24:8842 cassandra.datacenter=DC_DI cassandra.replication.factor={'class': 'NetworkTopologyStrategy', 'DC_DI': '3'} cassandra.keyspace=oai_di #PROD #cassandra.nodes=141.66.7.34:8842,141.66.7.35:8842,141.66.7.36:8842,141.66.7.37:8842,141.66.7.38:8842,141.66.7.39:8842,141.66.7.40:8842,141.66.7.41:8842 #cassandra.datacenter=DC_LOAD01 #cassandra.replication.factor={'class': 'NetworkTopologyStrategy', 'DC_LOAD01': '3'} #cassandra.keyspace=oai_p cassandra.username=ddbuser cassandra.password=<passwd> cassandra.sessions=1 cassandra.requesttimeout=10 class.impl.search=de.fiz.oai.backend.service.impl.SolrSearchServiceImpl solr.url=http://ddb-di-vm05:8183/solr/oaiitems elasticsearch.host=ddb-di-vm08 elasticsearch.port=8200 . Can be found in https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer/browse/resources/conf/backend

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

Installer + Configuration: ddb-p1-vmtool01 + http://ics-git.fiz-karlsruhe.de:8990/projects/IEE/repos/installer/browse/oai-backend

OAI-Frontend:

warfile, Java 11, Tomcat

...

...

  • oai2_new.xsl edit, adapt links to images (3 Images, just below <html>-element) , Put Images into the same FOlder as the Stylesheet.
  • oai2.xsl is the original ePrints-Stylesheet.
  • Put Stylesheet oai2_new.xsl with name oai2.xsl into webapps/oai/ and reference it in the COnfiguration (/oai/docs/oai2.xsl)

Configuration (Tomcat/conf/oaicat.properties)


  • Code Block
    collapsetrue
        <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 )

Installer + Configuration: ddb-p1-vmtool01+ http://ics-git.fiz-karlsruhe.de:8990/projects/IEE/repos/installer/browse/oai-frontend

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
ddb

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

apd-q1-vmweb01

/data/www/tomcat

http://

ddb
8080

8001/oai

apd-q1-vmweb02

/data/www/tomcat

http://

www


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

apd-p1-vmweb01 + apd-p1-vmweb02

/data/www/tomcat

http://apd-p1-vmweb01.fiz-karlsruhe.de:8001/oai

http://apd-p1-vmweb02.fiz-karlsruhe.de:8001/oai

ddb-p2-vmweb01 + ddb-

q1


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