Difference between revisions of "Upgrade Plan 290 II part"
Andrea.manzi (Talk | contribs) (→Upgrade) |
Andrea.manzi (Talk | contribs) (→Portals) |
||
Line 117: | Line 117: | ||
both D4science.org and Imarine portal need to complete their upgrade to gCube 2.9.0 | both D4science.org and Imarine portal need to complete their upgrade to gCube 2.9.0 | ||
− | ===Maven installation === | + | |
+ | === iMarine portal === | ||
+ | |||
+ | ====Maven installation ==== | ||
The new War Management portlet has introduced a dependency towards Maven client. The maven installation has been already performed on d4science.org portal so only Imarine portal is affected | The new War Management portlet has introduced a dependency towards Maven client. The maven installation has been already performed on d4science.org portal so only Imarine portal is affected | ||
Line 129: | Line 132: | ||
once installed, the settings for gcube maven repository should be configured inside the file ''$HOME/.m2/settings.xml''. Please check with the infrastructure-managers those settings | once installed, the settings for gcube maven repository should be configured inside the file ''$HOME/.m2/settings.xml''. Please check with the infrastructure-managers those settings | ||
− | === Upgrade === | + | ==== Upgrade ==== |
new portlets: | new portlets: | ||
Line 180: | Line 183: | ||
* common-clients-1.0.0 | * common-clients-1.0.0 | ||
* org.gcube.vre-management.softwaregateway-client.1-0-0 | * org.gcube.vre-management.softwaregateway-client.1-0-0 | ||
+ | |||
+ | === d4science.org portal === | ||
+ | |||
+ | ==== Upgrade ==== |
Revision as of 14:47, 6 July 2012
gHN Upgrade Instructions
It should be carried as follows:
1) Download the upgrade script from
wget http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/ghn-distribution/upgrade-scripts/upgrade-ghn-3-3-0.sh
and make it executable:
chmod 700 upgrade-ghn-3-3-0.sh
2) Verify that the GLOBUS_LOCATION environment variable is correctly set
echo $GLOBUS_LOCATION
3) Run the upgrade script with the following arguments:
- <port>: The port where the container runs.
- <restart/norestart>: tells if the container has to be restarted or not after the upgrade
./upgrade-ghn-3-3-0.sh <port> <restart/norestart>
Notes:
- The script ask for the removal of previous GHNgCube Hosting Node. logs ( recommended )
4) Verify the upgrade operation using the infrastructure monitoring tools
http://monitor.d4science.research-infrastructures.eu
FARM VOVirtual Organization;
FARM Enabling Services (xx Jul AM)
In order to enable the upgrade to the new Maven based dynamic deployment of packages, we need to have a procedure for the upgrade:
- The old and new RM are incompatible, cause they use 2 different services for Dependencies resolution and deployment ( SR vs SG)
- In order to undeploy the current installed packages we need to use the old version of the RM services
- In parallel the new version should be deployed in order to perform the new deployment
- In addition the undeployment of packages must be performed with the old version of the Deployer Service, while the deployment with the new one.
- The flow of action is the following.
- remove the service from VREVirtual Research Environment. scopes before performing the undeployment ( we fond a bug in this case (https://support.d4science-ii.research-infrastructures.eu/ticket/429), and nodes must be patched before removing the scope)
- undeploy the service
- upgrade the GHNgCube Hosting Node. to version 3.3.0
- Deploy the upgraded service using the new version of the RM.
gHNs:
- (CNR) node24.p.d4science.research-infrastructures.eu:8002: upgrade node ( restart )
- (CNR) node24.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
- (CNR) node26.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
Services:
- (CNR) node26.p.d4science.research-infrastructures.eu:8080: upgrade IS-Registry
- (CNR) node24.p.d4science.research-infrastructures.eu:8002: upgrade RM
Configuration:
The following RuntimeResource must be configured
- DONE Geo Server
- DONE GeoNetwork
- DONE RStudio
- DONE TimeSeries Database
- DONE Ecological Modeling Database
- DONE PostGis Database
- Obis database
- Species Link
- Worms
- CoL
- Maven Repository
- Transect
The SG must be added to FARM scope and 2.9.0 profile registered on this scope.
FARM VOVirtual Organization;/VREVirtual Research Environment. Services (xx Jul AM)
gHNs:
- (FAO): ldvapp08.fao.org:8081 : upgrade node (restart)
- (FAO) ldvapp08.fao.org:8080: upgrade node (restart)
- (CNR) node6.p.d4science.research-infrastructures.eu:8000 : upgrade node (restart)
- (CNR) node9.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
- (CNR) node14.p.d4science.research-infrastructures.eu:8080: upgrade node(restart)
- (CNR) node28.p.d4science.research-infrastructures.eu:8080: upgrade node(restart)
- (CNR) node23.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
- (CNR) node27.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
- (CNR) node30.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
- (CNR) node33.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
- (CNR) node38.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
- (CNR) node44.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
- (CNR) node37.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)
- (NKUA) dl16.di.uoa.gr:8084 : upgrade node (restart)
- (NKUA) dl16.di.uoa.gr:8080: upgrade node (restart)
- (NKUA) dl17.di.uoa.gr:8080 : upgrade node (restart)
- (NKUA) dl23.di.uoa.gr:8080 : upgrade node (restart)
- (NKUA) dl25.di.uoa.gr:8080 : upgrade node (restart)
- (NKUA) dl25.di.uoa.gr:8084 : upgrade node (restart)
Services:
- (CERN) node28.p.d4science.research-infrastructures.eu:8080:upgrade TS service
- org.gcube.content-management.time-series.2-3-0
- org.gcube.content-management.time-series-geo-tools.1-4-0
- org.gcube.common.TSDBInterface.1-3-0
- org.gcube.common.TSPostgresImplementation.1-3-0
- org.gcube.common.GeoServerInterface.1-8-0
- org.gcube.data-analysis.ecological-engine.1-2-0
- org.gcube.content-management.codelist-manager.1-2-0
- (CERN) node44.p.d4science.research-infrastructures.eu:8080: upgrade VREModeler
- (CERN) node14.p.d4science.research-infrastructures.eu:8080: upgrade RM
- (CERN) ldvapp08.fao.org:8080 : upgrade RM
- (CERN) dl16.di.uoa.gr:8080: upgrade RM
- (CERN) dl25.di.uoa.gr:8084: upgrade RM
Portals
both D4science.org and Imarine portal need to complete their upgrade to gCube 2.9.0
iMarine portal
Maven installation
The new War Management portlet has introduced a dependency towards Maven client. The maven installation has been already performed on d4science.org portal so only Imarine portal is affected
In order to install the maven client on ubuntu node please type :
sudo apt-get install maven2
once installed, the settings for gcube maven repository should be configured inside the file $HOME/.m2/settings.xml. Please check with the infrastructure-managers those settings
Upgrade
new portlets:
- org.gcube.portlets-user.species-discovery.1-0-0
- org.gcube.application.aquamaps.aquamapsspeciesview.1-0-0
upgraded portlets:
- org.gcube.messaging.accounting-portlet.1-6-0
- org.gcube.messaging.monitoring-portlet.1-2-0
- org.gcube.messaging.node-accounting-portlet.1-4-0
- org.gcube.portlets-user.template-generator.3-4-0
- org.gcube.portlets-user.report-generator-portlet.3-4-0
- org.gcube.portlets-user.results-portlet.4-4-0
- org.gcube.portlets-user.time-series-portlet.3-3-0
- org.gcube.portlets-user.codelist-management-portlet.1-1-0
- org.gcube.portlets-user.geoexplorer.1-1-0
- org.gcube.portlets-user.gcube-geoexplorer.1-1-0
- org.gcube.portlets-user.geoexplorer-portlet.1-1-0
- org.gcube.portlets-user.workspace-portlet.5-0-0
- org.gcube.portlets-user.war-management-portlet.1-1-1
- org.gcube.portlets-user.web-application-management-portlet.1-1-1
- org.gcube.portlets-user.wf-documents-portlet.1-1-0
- org.gcube.portlets-admin.wf-docs-manager.1-1-0
- org.gcube.application.aquamaps.aquamapsportlet.2-8-0
- org.gcube.application.aquamaps.datamanagementfacilityportlet.1-4-0
- org.gcube.portlets-user.gcube-login-portlet.1-6-0
- org.gcube.portlets-admin.runtime-resource-creator.1-1-0
upgraded libraries:
- org.gcube.portlets-user.war-management-widget.1-1-0
- org.gcube.portlets-user.GISViewer.2-0-0
- org.gcube.portlets-user.gcube-GISViewer.1-1-0
- org.gcube.application.aquamaps.enhabling.iscrawler.1-2-0
- org.gcube.messaging.accounting-portal.1-4-0
- org.gcube.messaging.consumer-library.1-5-0
- org.gcube.application.aquamaps.aquamapsservice-stubs.3-2-0
- org.gcube.common.GeoServerInterface.1-8-0 ( to install from remote build cause the last fix is not available in the release).
new libraries:
- species-products-discovery-stubs.1-0-0
- tree-manager-stubs-1.0.0
- tree-manager-library-1.0.0
- tree-manager-framework-1.0.0
- streams-.1.0.0
- trees-1.0.0
- common-gcore-clients-1.0.0
- common-clients-1.0.0
- org.gcube.vre-management.softwaregateway-client.1-0-0