PubMan 7 3

From MPDLMediaWiki
Revision as of 13:35, 24 May 2013 by Siedersleben (talk | contribs) (→‎Prepare read only system)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page shall contain every change that is made during a qa release of the version mentioned above. If it's not here, it never happened!

PubMan 7.3 Release[edit]

Affected Servers[edit]





Prepare read only system[edit]

Fedora[edit]

  • PID Migration on srv01.mpdl.mpg.de
    • save /opt/fedora/data/objects
    • save database(fedora3 and riTriples)
    • adapt properties in pidMigration.properties
# pidcache server configuration - getting the PIDs from
escidoc.pidcache.service.url=http://srv03.mpdl.mpg.de:8080/pidcache/handle
escidoc.pidcache.server=srv03.mpdl.mpg.de
escidoc.pidcache.user.name=pid_manager
escidoc.pidcache.user.password=wannapid
escidoc.pidprovider.class=de.mpg.escidoc.handler.PIDProvider
# the pubman instance registering handles for
escidoc.pubman.instance.url=http://pubman.mpdl.mpg.de
escidoc.pubman.instance.context.path=/pubman
escidoc.pubman.item.pattern=/item/$1
escidoc.pubman.component.pattern=/item/$1/component/$2/$3
# triplestore database configuration - needed for item component mapping
triplestore.datasource.url=jdbc:postgresql://localhost:5432/riTriples
triplestore.datasource.driverClassName=org.postgresql.Driver
triplestore.datasource.username=postgres
triplestore.datasource.password=postgres
triplestore.datasource.table=t4
  • run pid migration
 cd  /opt/fedora/data/objects
 java -jar pid_migration-1.0-SNAPSHOT-jar-with-dependencies.jar -transformvalidate .
  • drop database and rebuild database (fedora3 and riTriples)
 CREATE DATABASE "fedora3" WITH ENCODING='UTF8' OWNER="fedoraAdmin";
 CREATE DATABASE "riTriples" WITH ENCODING='SQL_ASCII' OWNER="fedoraAdmin" TEMPLATE=template0;
 cd /opt/fedora/server/bin
 rebuild.sh (Enter 2-1; 1-1)

Coreservice Apache[edit]

Coreservice JBoss[edit]

  • pidmanager.war, PidManager.properties, gwdg.properties

Core Infrastructure[edit]

  • install framework 1.3.9

Core Properties[edit]

Core Index Properties[edit]

Core Lucene Index[edit]

  • copy xslt stylesheets from subversion to /usr/share/jboss/server/default/conf/search/config/index/escidoc_all and .. item/container_admin
  • switch off optimize in escidoc-core.properties, e.g.
 escidoc-core.om.indexer.optimize.interval=0 0 2 1 12 ?
  • reindex
  • switch on optimize again

PubMan EAR[edit]

PubMan Properties[edit]

  • Siegelnummer für PubMan:
    • escidoc.pubman.instance.seal_number=ZDB-97-MPR
  • Kontexte für die der SSRN-Button verfügbar ist:
    • escidoc.pubman.instance.ssrn_contexts= TODO
  • Stylesheet paths (Die anderen Stylesheets aus dem Ordner müssen auch aktuell sein! Genauso die vocabulary Mappings in transformations!)
    • escidoc.transformation.pmc2escidoc_publication_item.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/bmc2escidoc-publication-item.xsl
    • escidoc.transformation.pmc2escidoc_publication_component.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/pmc2escidoc-publication-component.xsl
    • escidoc.transformation.pmc_fulltext_xml2pmc_fulltext_xslfo.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/pmc_fulltext_xml2pmc_fulltext_xslfo.xsl
    • escidoc.transformation.bmc2escidoc_publication_item.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/bmc2escidoc-publication-item.xsl
    • escidoc.transformation.bmc2escidoc_publication_component.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/bmc2escidoc-publication-component.xsl
    • escidoc.transformation.bmc_fulltext_xml2bmc_fulltext_html.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/bmc_fulltext_xml2bmc_fulltext_html.xsl
    • escidoc.transformation.arxiv2escidoc_publication_item.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/arxiv2escidoc-publication-item.xsl
    • escidoc.transformation.arxiv2escidoc_publication_component.stylesheet.filename=/usr/share/jboss/server/default/conf/transformation/transformations/thirdParty/xslt/arxiv2escidoc-publication-component.xsl
  • PID-Component-Pattern
    • escidoc.pubman.component.pattern=/item/$1/component/$2/$3
  • Policy-Link
  • Bibtex-import implementierende Klasse
    • escidoc.transformation.bibtex.class=de.mpg.escidoc.services.transformation.transformations.commonPublicationFormats.Bibtex

Transformation Properties[edit]


PubMan Apache[edit]

PubMan JBoss[edit]

AA[edit]

Validation Database[edit]

Migration database[edit]

CoNE Database (all except zim02.gwdg.de)[edit]

  • Add new columns type and sort to result table:
CREATE TABLE results (
   id character varying NOT NULL,
   value character varying NOT NULL,
   lang character varying,
   type character varying,
   sort character varying
);

eSciDoc Admin[edit]

Data Migration[edit]

PubMan Software Homepage[edit]

http://pubman.mpdl.mpg.de/software/

Miscellaneous[edit]

Statistics[edit]

  • A new aggregation definition for the statistics was defined and is automatically created in the coreservice when PubMan starts up for the first time. Additionally, the complete statistics have to be preprocessed for this aggregation definition:
    • After first pubman start, find out aggregation-definition id (eg. by having a look in the escidoc-core database under sm: The prefix of the table 'pubman_object_stats' is the correct id)
    • Go to escidoc_core database
    • Copy values from old aggregation table to new aggregation table using the following sql

DELETE FROM sm.<aggregation_definition_id>_pubman_object_stats; INSERT INTO sm.<aggregation_definition_id>_pubman_object_stats ( SELECT handler, request, regexp_replace(object_id, '(.*:.*)(:.*)', '\1') AS short_object_id, regexp_replace(parent_object_id, '(.*:.*)(:.*)', '\1') AS short_parent_object_id, (user_id IS NOT NULL and user_id!='') AS user_id_available, month, year, sum(requests) FROM sm.escidocaggdef1_object_stats GROUP BY handler, request, short_object_id, short_parent_object_id, user_id_available, month, year);

Installer[edit]

  • apache-fop-config.xml soll auch im Installer direkt ins conf-Verzeichnis des Servers übernommen werden

PubMan Configuration[edit]

  • apache-fop-config.xml + Fonts von QA kopieren