Difference between revisions of "Upgrade Plan 281"

From D4Science Wiki
Jump to: navigation, search
(gHN Upgrade Instructions)
Line 1: Line 1:
The upgrade to gCube 2.8.0 will be performed in 2 phases.
 
 
* In the first phase it  wil be focused mainly to the deployment  of the new iMarine portal, ( all portles are now also compatible with gwt 2.4.0). In addition In order to enable some new functionalities, like encryption and new enhancement in AquaMaps and TS also those services will be upgraded. The upgrade will involve for the moment only FARM and gCube Apps VO. A new version of the GHN will be deployed as well in the Enabling layer nodes and ResourceManager nodes. The new version will require a manual installation of an encryption key by each site manager
 
 
* The second phase of the upgrade will complete the GHN upgrade and in addition all the new upgrades will be deployed. ( Search, Indexes...) on all VOs ( Ecosystem ). In parallel with the upgrade the INSPIRE VO will be dismissed and part of its functionalities will be moved to Ecosytem.
 
 
  
 
== gHN Upgrade Instructions ==
 
== gHN Upgrade Instructions ==
Line 11: Line 5:
  
 
1) Download the upgrade script from
 
1) Download the upgrade script from
  wget http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/ghn-distribution/upgrade-scripts/upgrade-ghn-3-2-6.sh
+
  wget http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/ghn-distribution/upgrade-scripts/upgrade-ghn-3-2-7.sh
 
and make it executable:
 
and make it executable:
 
<pre>
 
<pre>
chmod 700 upgrade-ghn-3-2-6.sh
+
chmod 700 upgrade-ghn-3-2-7.sh
 
</pre>
 
</pre>
 
2) Verify that the GLOBUS_LOCATION environment variable is correctly set
 
2) Verify that the GLOBUS_LOCATION environment variable is correctly set
Line 22: Line 16:
 
* <port>: The port where the container runs.
 
* <port>: The port where the container runs.
 
* <restart/norestart>: tells if the container has to be restarted or not after the upgrade
 
* <restart/norestart>: tells if the container has to be restarted or not after the upgrade
  ./upgrade-ghn-3-2-6.sh <port> <restart/norestart>
+
  ./upgrade-ghn-3-2-7.sh <port> <restart/norestart>
  
 
Notes:
 
Notes:
Line 30: Line 24:
 
  http://monitor.d4science.research-infrastructures.eu
 
  http://monitor.d4science.research-infrastructures.eu
  
5) '''Installation of the Encryption key'''
 
* on the GHN node : wget --user=<yourLdapUsername> --password=<yourLdapPassword> http://bscw.i-marine.research-infrastructures.eu/bscw/bscw.cgi/d243895/symm.key -O $GLOBUS_LOCATION/config/symm.key
 
  
  
=== Infrastructure Services (12 Mar AM) ===
+
=== Infrastructure Services (26 Apr PM) ===
  
 
GHN to upgrade:
 
GHN to upgrade:
  
 
gHNs:
 
gHNs:
* '''DONE''' (CNR) node1.p.d4science.research-infrastructures.eu:8000: upgrade node ( restart ) + key installation
+
* (CNR) node1.p.d4science.research-infrastructures.eu:8000: upgrade node ( restart )  
* '''DONE''' (CNR) node1.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart ) + key installation
+
* (CNR) node1.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )  
* '''DONE''' (CNR) node2.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart ) + key installation
+
* (CNR) node2.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )  
* '''DONE''' (CNR) node17.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart ) + key installation
+
* (CNR) node17.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  
 +
Services
 +
* (CNR) node2.p.d4science.research-infrastructures.eu:8080: upgrade IS-Registry
  
 
SR:
 
SR:
* '''DONE''' (CERN) upload SAs to  Production Software Repository
+
* (CERN) upload SAs to  Production Software Repository
  
 
== gCube Apps VO ==
 
== gCube Apps VO ==
  
=== gCube Enabling Services (12 Mar AM) ===
+
=== gCube Enabling Services (26 Apr PM) ===
  
 
gHNs:
 
gHNs:
  
* '''DONE''' (CNR) node66.p.d4science.research-infrastructures.eu:8000: upgrade node (restart) + key installation
+
* (CNR) node66.p.d4science.research-infrastructures.eu:8000: upgrade node (restart)  
* '''DONE''' (CNR) node66.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)  + key installation
+
* (CNR) node66.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)   
* '''DONE''' (CNR) node65.p.d4science.research-infrastructures.eu:8080:  upgrade node (restart) + key installation
+
* (CNR) node65.p.d4science.research-infrastructures.eu:8080:  upgrade node (restart)  
  
=== gCube VO/VRE Services (12 Mar AM) ===  
+
Services:
 +
* (CNR) node65.p.d4science.research-infrastructures.eu:8080:  upgrade IS-Registry
 +
 
 +
=== gCube VO/VRE Services (27 Apr AM) ===  
  
  
 
gHNs:
 
gHNs:
* '''DONE''' (CNR) node49.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart) + key installation
+
* (CNR) node49.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)  
* '''DONE''' (CNR) node59.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart) + key installation
+
* (CNR) node59.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)  
* '''DONE''' (CNR) node60.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart) + key installation
+
* (CNR) node60.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)  
* '''DONE''' (CNR) node61.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart) + key installation
+
* (CNR) node61.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)  
* '''DONE''' (CNR) node62.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart) + key installation
+
* (CNR) node62.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)  
* '''DONE''' (CNR) node63.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart) + key installation
+
* (CNR) node63.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)  
  
  
 
Services:
 
Services:
* '''DONE''' (CNR) node49.p.d4science.research-infrastructures.eu:8080 : upgrade Aquamaps
+
* (CNR) node49.p.d4science.research-infrastructures.eu:8080 : upgrade Aquamaps
* '''DONE'''  (CNR) node59.p.d4science.research-infrastructures.eu:8080 : upgrade TS, TImeSeriesGeoTools and GeoServerInterface
+
* (CNR) node59.p.d4science.research-infrastructures.eu:8080 : upgrade TS,and GeoServerInterface
  
 
== FARM VO ==
 
== FARM VO ==
  
=== FARM Enabling Services (12 mar AM) ===
+
=== FARM Enabling Services (26 Apr PM) ===
  
 
gHNs:
 
gHNs:
  
* '''DONE''' (CNR) node24.p.d4science.research-infrastructures.eu:8002: upgrade node ( restart )+ key installation
+
* (CNR) node24.p.d4science.research-infrastructures.eu:8002: upgrade node ( restart )
* '''DONE''' (CNR) node24.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )+ key installation
+
* (CNR) node24.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
* '''DONE''' (CNR) node26.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )+ key installation
+
* (CNR) node26.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  
=== FARM VO/VRE Services (12 Mar AM) ===
+
Services:
 +
* (CNR) node26.p.d4science.research-infrastructures.eu:8080: upgrade IS-Registry
 +
 
 +
=== FARM VO/VRE Services (27 Apr AM) ===
  
 
gHNs:
 
gHNs:
  
* '''DONE''' (CNR) node14.p.d4science.research-infrastructures.eu:8080: upgrade node + key installation
+
* (CNR) node14.p.d4science.research-infrastructures.eu:8080: upgrade node  
* '''DONE''' (CNR) node28.p.d4science.research-infrastructures.eu:8080: upgrade node + key installation
+
* (CNR) node28.p.d4science.research-infrastructures.eu:8080: upgrade node  
* '''DONE''' (CNR) aquamaps.ifm-geomar.de:8080 : upgrade node (restart) + key installation
+
*  (FAO) ldvapp08.fao.org:8080: upgrade node (restart)  
* '''DONE''' (FAO) ldvapp08.fao.org:8080: upgrade node (restart) + key installation
+
* (NKUA) dl16.di.uoa.gr:8080: upgrade node (restart)  
* '''DONE''' (NKUA) dl16.di.uoa.gr:8080: upgrade node (restart) + key installation
+
  
 
Services:
 
Services:
  
* '''DONE''' (CERN) node38.p.d4science.research-infrastructures.eu:8080: upgrade OAI-plugin
+
*CERN) node28.p.d4science.research-infrastructures.eu:8080:upgrade TS GeoServer Interface
* '''DONE''' (CERN) node28.p.d4science.research-infrastructures.eu:8080:upgrade TS + TImeSeriesGeoTools + GeoServer Interface
+
* '''DONE''' (CNR) aquamaps.ifm-geomar.de:8080 : upgrade Aquamaps
+
 
+
== Portals (12 Mar PM) (CNR) ==
+
 
+
* '''DONE''' The new iMarine portal will be installed on portal.i-marine.d4science.org. It will be a copy of the preproduction portal newportal.i-marine.d4science.org.
+
 
+
After the copy the following configuration changes need to be applied:
+
 
+
* '''DONE''' before starting the associated GHN , it has to be configured with FARM and gCubeApps start scopes (both in GHNConfig.xml and GHNConfig.client.xml)
+
* The RR configuration for the portal should be moved to Write mode. The file targets.model.properties under $GLOBUS_LOCATION/lib/ext/property-files should be overwritten with the file [https://svn.research-infrastructures.eu/public/d4science/gcube/branches/resource-registry/ResourceRegistryAggregator/1.2/ResourceRegistryAggregator/targets.model.properties_portal].
+
* * '''DONE''' The Users persisted area should copied from the persisted currently hosted in portal.d4science.research-infrastructures.eu
+
 
+
  
The D4Science Ecosystem Portal, hosted at https://portal.d4science.research-infrastructures.eu/, will host the Ecosystem, INSPIRE VO and gCubeApps
+
== Portals (27 Apr PM) (CNR) ==
Therefore it should be configured as follows:
+
  
* '''DONE''' FARM  VO  ( and related VREs) should be removed from the groups
+
* Both new iMarine portal ( portal.i-marine.d4science.org) and the d4science.org portal (portal.d4science.org) need to be upgraded.
* '''DONE''' FARM VO ( and related VREs) scopes should be removed from the portal GHN scopes
+
* '''DONE''' FARM  VO should be removed from the GHN start scopes ( both  in GHNConfig.xml and GHNConfig.client.xml)
+

Revision as of 12:01, 23 April 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-2-7.sh

and make it executable:

chmod 700 upgrade-ghn-3-2-7.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-2-7.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


Infrastructure Services (26 Apr PM)

GHNgCube Hosting Node. to upgrade:

gHNs:

  • (CNR) node1.p.d4science.research-infrastructures.eu:8000: upgrade node ( restart )
  • (CNR) node1.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node2.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )
  • (CNR) node17.p.d4science.research-infrastructures.eu:8080: upgrade node ( restart )

Services

  • (CNR) node2.p.d4science.research-infrastructures.eu:8080: upgrade IS-Registry

SR:

  • (CERN) upload SAs to Production Software Repository

gCube Apps VOVirtual Organization;

gCube Enabling Services (26 Apr PM)

gHNs:

  • (CNR) node66.p.d4science.research-infrastructures.eu:8000: upgrade node (restart)
  • (CNR) node66.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)
  • (CNR) node65.p.d4science.research-infrastructures.eu:8080: upgrade node (restart)

Services:

  • (CNR) node65.p.d4science.research-infrastructures.eu:8080: upgrade IS-Registry

gCube VOVirtual Organization;/VREVirtual Research Environment. Services (27 Apr AM)

gHNs:

  • (CNR) node49.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
  • (CNR) node59.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
  • (CNR) node60.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
  • (CNR) node61.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
  • (CNR) node62.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)
  • (CNR) node63.p.d4science.research-infrastructures.eu:8080 : upgrade node (restart)


Services:

  • (CNR) node49.p.d4science.research-infrastructures.eu:8080 : upgrade Aquamaps
  • (CNR) node59.p.d4science.research-infrastructures.eu:8080 : upgrade TS,and GeoServerInterface

FARM VOVirtual Organization;

FARM Enabling Services (26 Apr PM)

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

FARM VOVirtual Organization;/VREVirtual Research Environment. Services (27 Apr AM)

gHNs:

  • (CNR) node14.p.d4science.research-infrastructures.eu:8080: upgrade node
  • (CNR) node28.p.d4science.research-infrastructures.eu:8080: upgrade node
  • (FAO) ldvapp08.fao.org:8080: upgrade node (restart)
  • (NKUA) dl16.di.uoa.gr:8080: upgrade node (restart)

Services:

  • CERN) node28.p.d4science.research-infrastructures.eu:8080:upgrade TS GeoServer Interface

Portals (27 Apr PM) (CNR)

  • Both new iMarine portal ( portal.i-marine.d4science.org) and the d4science.org portal (portal.d4science.org) need to be upgraded.