Difference between revisions of "Upgrade Plan 290 Ecosystem"

From D4Science Wiki
Jump to: navigation, search
(Ecosystem Enabling Services (22 Jun AM))
(Ecosystem Enabling Services (22 Jun AM))
Line 29: Line 29:
 
In order to enable the upgrade to the new Maven based dynamic deployment of packages, we need to have a procedure for the upgrade:
 
In order to enable the upgrade to the new Maven based dynamic deployment of packages, we need to have a procedure for the upgrade:
  
1) The old and new RM are incompatible, cause they use 2 different services for Dependencies resolution and deployment ( SR vs SG)
+
* The old and new RM are incompatible, cause they use 2 different services for Dependencies resolution and deployment ( SR vs SG)
2) In order to undeploy the current installed packages we need to use the old version of the RM services
+
* In order to undeploy the current installed packages we need to use the old version of the RM services
3) In parallel the new version should be deployed in order to perform the new deployment
+
* In parallel the new version should be deployed in order to perform the new deployment
4) In addition the undeployment of packages must be performed with the old version of the Deployer Service, while the deployment with the new one.
+
* In addition the undeployment of packages must be performed with the old version of the Deployer Service, while the deployment with the new one.
5) The flow of action is the following.  
+
* The flow of action is the following.  
5a) Undeploy the service using the old RM instance ( remove the service from VRE scopes before performing the undeployment  
+
** remove the service from VRE 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 GHN to version  3.3.0
 +
** Deploy the upgraded service using the new version of the RM.
  
  
Line 42: Line 45:
 
* (CERN) node8.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)   
 
* (CERN) node8.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)   
 
* (CERN) node10.p.d4science.research-infrastructures.eu:8080:  upgrade node (restart)  
 
* (CERN) node10.p.d4science.research-infrastructures.eu:8080:  upgrade node (restart)  
 
+
* (CERN) dl28.di.uoa.gr:8080: upgrade node(restart)
  
 
Services:
 
Services:
 
* '''DONE''' (CERN) node7.p.d4science.research-infrastructures.eu:8080:  upgrade IS-Registry
 
* '''DONE''' (CERN) node7.p.d4science.research-infrastructures.eu:8080:  upgrade IS-Registry
 
* (CERN) node8.p.d4science.research-infrastructures.eu:8080:  upgrade RM
 
* (CERN) node8.p.d4science.research-infrastructures.eu:8080:  upgrade RM
 +
* (CERN) dl28.di.uoa.gr:8080: install RM
  
 
Configuration:
 
Configuration:

Revision as of 10:51, 29 June 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

Ecosystem VOVirtual Organization;

Ecosystem Enabling Services (22 Jun 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:

  • DONE (CERN) node7.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)
  • (CERN) node8.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)
  • (CERN) node10.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)
  • (CERN) dl28.di.uoa.gr:8080: upgrade node(restart)

Services:

  • DONE (CERN) node7.p.d4science.research-infrastructures.eu:8080: upgrade IS-Registry
  • (CERN) node8.p.d4science.research-infrastructures.eu:8080: upgrade RM
  • (CERN) dl28.di.uoa.gr:8080: install RM

Configuration:

The following RuntimeResource must be Added to Ecosystem Scope

  • Maven Repository

gHNs:

  • (CNR) node1.hadoop.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node6.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node13.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node20.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node22.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node25.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node29.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node31.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node40.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node41.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node43.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node46.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node51.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node55.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node56.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node57.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (NKUA) dewn01.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dewn02.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dewn03.madgik.di.uoa.gr:8080:upgrade node ( restart
  • (NKUA) dewn04.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dewn05.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dewn06.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dewn07.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dewn08.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dewn09.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dewn10.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) mlhec4.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) mln11.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) ocr5.madgik.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dl17.di.uoa.gr:8084:upgrade node ( restart )
  • (NKUA) dl18.di.uoa.gr:8080:upgrade node ( restart )
  • (NKUA) dl18.di.uoa.gr:8084::upgrade node ( restart )
  • (NKUA) dl19.di.uoa.gr:8080::upgrade node ( restart )
  • (NKUA) dl19.di.uoa.gr:8084::upgrade node ( restart )
  • (NKUA) dl20.di.uoa.gr:8084::upgrade node ( restart )
  • (NKUA) dl21.di.uoa.gr:8080::upgrade node ( restart )
  • (NKUA) dl21.di.uoa.gr:8084::upgrade node ( restart )
  • (NKUA) dl26.di.uoa.gr:8084::upgrade node ( restart )
  • (NKUA) dl27.di.uoa.gr:8080::upgrade node ( restart )
  • (NKUA) dl27.di.uoa.gr:8084::upgrade node ( restart )
  • (NKUA) dl28.di.uoa.gr:8080::upgrade node ( restart )


Services: