Difference between revisions of "Upgrade Plan 290 II part"

From D4Science Wiki
Jump to: navigation, search
(Created page with "== 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/gh...")
 
(FARM Enabling Services (xx Jul AM))
Line 38: Line 38:
 
** upgrade the GHN to version  3.3.0
 
** upgrade the GHN to version  3.3.0
 
** Deploy the upgraded service using the new version of the RM.
 
** 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
 +
 +
 +
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
 +
 +
 +
=== FARM VO/VRE 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

Revision as of 16:19, 3 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


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


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