Difference between revisions of "PubMan 8 0"
Jump to navigation
Jump to search
Siedersleben (talk | contribs) |
Siedersleben (talk | contribs) |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
== Prepare read only system == | == Prepare read only system == | ||
* activate live configuration | |||
** /usr/share/jboss/bin/run.conf | |||
** escidoc-core.custom.properties | |||
** escidoc-core.properties | |||
** .../modules/pubman/main/cone.properties | |||
** .../modules/pubman/main/auth.properties | |||
** .../modules/pubman/main/pubman.properties | |||
** apache conf | |||
auf owner jboss:jboss achten | |||
== Backups == | == Backups == | ||
Line 15: | Line 25: | ||
== Java == | == Java == | ||
* adapt start script for wildfly in /srv/web/escidoc/wildfly/bin/standalone.conf (no more PermGenSpace for Java8) | * adapt start script for wildfly in /srv/web/escidoc/wildfly/bin/standalone.conf (no more PermGenSpace for Java8, -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=??/pubmanHeapdump.log) | ||
* install script rcwildfly | |||
* script rcwildfly | |||
== PubMan - Coreservice Wildfly== | == PubMan - Coreservice Wildfly== | ||
* make a copy from qa-pubman:/srv/web/escidoc/ | * make a copy from qa-pubman:/srv/web/escidoc/ | ||
* delete pidcache database (copied from qa-pubman). Replace with pidcache database from backup (formerly in /usr/share/pubman/standalone/data/pubman_db) | * delete pidcache database (copied from qa-pubman). Replace with pidcache database from backup (formerly in /usr/share/pubman/standalone/data/pubman_db) | ||
* copy the Fedora data/objects und data/datastreams from /opt/fedora to /srv/web/escidoc/fedora/data | * copy the Fedora data/objects und data/datastreams from /opt/fedora to /srv/web/escidoc/fedora/data /dynamic links) | ||
* adapt properties: qa-pubman, qa-coreservice -> pubman, coreservice, best replace from backup? | * adapt properties: qa-pubman, qa-coreservice -> pubman, coreservice, best replace from backup? | ||
Line 37: | Line 40: | ||
** modules/pubman/main/auth.properties | ** modules/pubman/main/auth.properties | ||
** modules/pubman/main/common.properties | ** modules/pubman/main/common.properties | ||
** modules/pubman/main/solution.properties | |||
** modules/pubman/main/conf.xml | ** modules/pubman/main/conf.xml | ||
** modules/pubman/main/pubman.properties | ** modules/pubman/main/pubman.properties | ||
** modules/pubman/main/cone.properties | ** modules/pubman/main/cone.properties | ||
* adapt sitemap | * adapt sitemap | ||
** modules/pubman/main/sitemap/sitemap1.xml.... | ** modules/pubman/main/sitemap/sitemap1.xml.... | ||
== Fedora Database == | == Fedora Database == | ||
* remove foxml's of VIRR and Faces content-models: | |||
escidoc:virrcmodel4, escidoc:virrcmodel3, escidoc:faces40, escidoc:virrcmodel1, escidoc:virrcmodel2, | |||
* drop database and rebuild database (fedora3 and riTriples) | * drop database and rebuild database (fedora3 and riTriples) | ||
CREATE DATABASE "fedora3" WITH ENCODING='UTF8' OWNER="fedoraAdmin"; | CREATE DATABASE "fedora3" WITH ENCODING='UTF8' OWNER="fedoraAdmin"; | ||
Line 53: | Line 58: | ||
cd /srv/web/escidoc/fedora/server/bin | cd /srv/web/escidoc/fedora/server/bin | ||
fedora-rebuild.sh (Enter 2-1; 1-1) | fedora-rebuild.sh (Enter 2-1; 1-1) | ||
== PubMan EAR == | == PubMan EAR == | ||
* wget http://rd.mpdl.mpg.de/nexus/service/local/repositories/releases/content/de/mpg/escidoc/pubman/wildfly/pubman_ear/8.0. | * wget http://rd.mpdl.mpg.de/nexus/service/local/repositories/releases/content/de/mpg/escidoc/pubman/wildfly/pubman_ear/8.0.1/pubman_ear-8.0.1-pure.ear | ||
* expolde wars: | * expolde wars: | ||
for w in *.war;do unzip "$w" -d "${w%.war}" && rm -f "$w" && mv "${w%.war}" "$w" && chown -R jboss:jboss "$w" ; done | for w in *.war;do unzip "$w" -d "${w%.war}" && rm -f "$w" && mv "${w%.war}" "$w" && chown -R jboss:jboss "$w" ; done | ||
* logging: adapt logging section in standalone.xml corresponding the one of qa-pubman | * logging: adapt logging section in standalone.xml corresponding the one of qa-pubman | ||
* remove log4j.xml in srw.war and fedoragsearch.war (now configured in standalone.xml) | |||
== PubMan Properties == | == PubMan Properties == | ||
Line 65: | Line 70: | ||
== PubMan Apache== | == PubMan Apache== | ||
* live adapt pubman.conf und pure.conf, port 8090 -> 8080 | |||
== PubMan PidCache == | == PubMan PidCache == | ||
* delete pidcache database (copied from qa-pubman). Replace with pidcache database from backup (formerly in /usr/share/pubman/standalone/data/pubman_db) | |||
== eSciDoc-OAI-Provider == | == eSciDoc-OAI-Provider == |
Latest revision as of 14:36, 12 April 2016
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 8.0 Release[edit]
Affected Servers[edit]
Prepare read only system[edit]
- activate live configuration
- /usr/share/jboss/bin/run.conf
- escidoc-core.custom.properties
- escidoc-core.properties
- .../modules/pubman/main/cone.properties
- .../modules/pubman/main/auth.properties
- .../modules/pubman/main/pubman.properties
- apache conf
auf owner jboss:jboss achten
Backups[edit]
- fedora3 database
- riTriples database
- JBoss coreservice (/usr/share/jboss)
- Wildfly PubMan (/usr/share/pubman)
Java[edit]
- adapt start script for wildfly in /srv/web/escidoc/wildfly/bin/standalone.conf (no more PermGenSpace for Java8, -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=??/pubmanHeapdump.log)
- install script rcwildfly
PubMan - Coreservice Wildfly[edit]
- make a copy from qa-pubman:/srv/web/escidoc/
- delete pidcache database (copied from qa-pubman). Replace with pidcache database from backup (formerly in /usr/share/pubman/standalone/data/pubman_db)
- copy the Fedora data/objects und data/datastreams from /opt/fedora to /srv/web/escidoc/fedora/data /dynamic links)
- adapt properties: qa-pubman, qa-coreservice -> pubman, coreservice, best replace from backup?
- modules/escidoc/main/gwdg.properties
- modules/escidoc/main/escidoc-core.custom.properties, modules/escidoc/main/escidoc-core.properties
- modules/pubman/main/auth.properties
- modules/pubman/main/common.properties
- modules/pubman/main/solution.properties
- modules/pubman/main/conf.xml
- modules/pubman/main/pubman.properties
- modules/pubman/main/cone.properties
- adapt sitemap
- modules/pubman/main/sitemap/sitemap1.xml....
Fedora Database[edit]
- remove foxml's of VIRR and Faces content-models:
escidoc:virrcmodel4, escidoc:virrcmodel3, escidoc:faces40, escidoc:virrcmodel1, escidoc:virrcmodel2,
- 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 /srv/web/escidoc/fedora/server/bin fedora-rebuild.sh (Enter 2-1; 1-1)
PubMan EAR[edit]
- wget http://rd.mpdl.mpg.de/nexus/service/local/repositories/releases/content/de/mpg/escidoc/pubman/wildfly/pubman_ear/8.0.1/pubman_ear-8.0.1-pure.ear
- expolde wars:
for w in *.war;do unzip "$w" -d "${w%.war}" && rm -f "$w" && mv "${w%.war}" "$w" && chown -R jboss:jboss "$w" ; done
- logging: adapt logging section in standalone.xml corresponding the one of qa-pubman
- remove log4j.xml in srw.war and fedoragsearch.war (now configured in standalone.xml)
PubMan Properties[edit]
- described above
PubMan Apache[edit]
- live adapt pubman.conf und pure.conf, port 8090 -> 8080
PubMan PidCache[edit]
- delete pidcache database (copied from qa-pubman). Replace with pidcache database from backup (formerly in /usr/share/pubman/standalone/data/pubman_db)