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

Compare with Current View Page History

« Previous Version 12 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:

  • Cassanda-Tables
  • SOLR-Index
    • Schema can be found in oai-backend-project, src/main/resources/solr
  • Configuration
    • fiz-oai-backend.properties

      #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
      #cassandra.datacenter=DC_LOAD01
      #cassandra.replication.factor={'class': 'NetworkTopologyStrategy', 'DC_LOAD01': '3'}
      #cassandra.keyspace=oai_p
      
      cassandra.username=ddbuser
      cassandra.password=f6Th!eoP
      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
      [admin@ddb-di-vm08 conf]$ vi fiz-oai-backend.properties
      [admin@ddb-di-vm08 conf]$ more fiz-oai-backend.properties
      #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=f6Th!eoP
      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
      
      
  • Initial Data: create with project https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer

OAI-Frontend:

warfile, Java 11, Tomcat

Frontend needs own Tomcat because of startorder. First start OAI-Backend, then start 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:

  • No labels