Difference between revisions of "EOSC Portal Availability and Continuity Plan"

From EGIWiki
Jump to: navigation, search
(Created page with "{{Template:Op menubar}} {{Template:Doc_menubar}} {{TOC_right}} Category:Operations Back to main page: Services Availability Continuity Plans '''work in progress'''...")
 
(Introduction)
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
= Introduction =
 
= Introduction =
  
This page reports on the Availability and Continuity Plan for the EOSC Marketplace and it is the result of the risks assessment conducted for this service: a series of risks and treats has been identified and analysed, along with the correspondent countermeasures currently in place. Whenever a countermeasure is not considered satisfactory for either avoiding or reducing the likelihood of the occurrence of a risk, or its impact, it is agreed with the service provider a new treatment for improving the availability and continuity of the service. The process is concluded with an availability and continuity test.
+
This page reports on the Availability and Continuity Plan for the EOSC Portal and it is the result of the risks assessment conducted for this service: a series of risks and treats has been identified and analysed, along with the correspondent countermeasures currently in place. Whenever a countermeasure is not considered satisfactory for either avoiding or reducing the likelihood of the occurrence of a risk, or its impact, it is agreed with the service provider a new treatment for improving the availability and continuity of the service. The process is concluded with an availability and continuity test.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 42: Line 42:
 
= Risks assessment and management =
 
= Risks assessment and management =
  
For more details, please look at the [https://docs.google.com/spreadsheets/d/1b8a4SdJX53BhKf3J3SrMeM_ECVVLGRbOhG-supJGAzY/edit#gid=1565906040 google spreadsheet]. We will report here a summary of the assessment.
+
For more details, please look at the [https://docs.google.com/spreadsheets/d/1V1DmamSQQULcmBJK0avBYthDC4FsF_jSast08hzjwII/edit#gid=302183497 google spreadsheet]. We will report here a summary of the assessment.
  
 
== Risks analysis ==
 
== Risks analysis ==
Line 57: Line 57:
 
| 1
 
| 1
 
| Service unavailable / loss of data due to hardware failure
 
| Service unavailable / loss of data due to hardware failure
| MP user GUI, user database, service database, order database
+
|  
| All services are running on virtual machines. In case of hardware failure of the host machine the virtual machine can be re-instantiated.
+
|  
| style="background: red"| High
+
|  
| up to 8 hours (1 working day)
+
|  
| style="background: red"| '''It is necessary to verify the implementation status of the hardware HA configuration.'''
+
|  
 
|-
 
|-
 
| 2
 
| 2
 
| Service unavailable / loss of data due to software failure
 
| Service unavailable / loss of data due to software failure
| MP user GUI, user database, service database, order database
+
|  
| Restoring of the codebase via git repository,monitoring of system health, backupsRestoring of the codebase via git repository,monitoring of system health, backups
+
|  
| style="background: yellow"| Medium
+
|  
| up to 4 hours
+
|  
| the measures already in place are considered satisfactory and risk level is acceptable
+
|
 
|-
 
|-
 
| 3
 
| 3
 
| service unavailable / loss of data due to human error
 
| service unavailable / loss of data due to human error
| MP user GUI, user database, service database, order database
+
|  
| Restoring of the codebase via git repository, monitoring of system health, restore of backup of virtual machine,
+
|  
| style="background: yellow"| Medium
+
|  
| less than 1 hour
+
|  
| the measures already in place are considered satisfactory and risk level is acceptable
+
|
 
|-
 
|-
 
| 4
 
| 4
 
| service unavailable for network failure (Network outage with causes external of the site)
 
| service unavailable for network failure (Network outage with causes external of the site)
| MP user GUI
+
|  
| Monitoring of service availability, ACC Cyfronet AGH has redundant network connectivity.
+
|  
| style="background: green"| Low
+
|  
| up to 4 hours
+
|  
| the measures already in place are considered satisfactory and risk level is acceptable
+
|
 
|-
 
|-
 
| 5
 
| 5
 
| Unavailability of key technical and support staff (holidays period, sickness, ...)
 
| Unavailability of key technical and support staff (holidays period, sickness, ...)
| -
+
|  
| More personnel have been involved in the operation of the Marketplace Service
+
|  
| style="background: green"| Low
+
|  
| 1 or more working days
+
|  
| the measures already in place are considered satisfactory and risk level is acceptable
+
|
 
|-
 
|-
 
| 6
 
| 6
 
| Major disruption in the data centre. Fire, flood  or electric failure for example
 
| Major disruption in the data centre. Fire, flood  or electric failure for example
| MP user GUI, user database, service database, order database
+
|  
| The computing centre has electric backup system and fire control devices. 
+
|  
| style="background: yellow"| Medium
+
|  
| 1 or more working days
+
|  
| the measures already in place are considered satisfactory and risk level is acceptable
+
|
 
|-
 
|-
 
| 7
 
| 7
 
| Major security incident. The system is compromised by external attackers and needs to be reinstalled and restored.
 
| Major security incident. The system is compromised by external attackers and needs to be reinstalled and restored.
| MP user GUI, user database, service database, order database
+
|  
| Monitoring of system health, security audits, backups, following best practices for security configuration and timely implementation of patches
+
|  
| style="background: green"| Low
+
|  
| up to 8 hours (1 working day)
+
|  
| the measures already in place are considered satisfactory and risk level is acceptable
+
|
 
|-
 
|-
 
| 8
 
| 8
 
| (D)DOS attack. The service is unavailable because of a coordinated DDOS.
 
| (D)DOS attack. The service is unavailable because of a coordinated DDOS.
| MP user GUI
+
|  
| Local network team provides monitoring and protection for DOS attacks, firewall can limit impact of the DDoS
+
|  
| style="background: yellow"| Medium
+
|  
| less than 1 hour
+
|  
| the measures already in place are considered satisfactory and risk level is acceptable
+
|
 
|}
 
|}
  
 
== Outcome ==
 
== Outcome ==
  
Currently there is no hardware HA configuration. It is important agreeing with the provider a plan for implementing it in order to decrease the rating of risk number 1. The progress on this will be tracked on Jira.
+
== Additional information ==
  
== Additional information ==
+
<pre style="color: blue">
 +
procedures for the several countermeasures to invoke in case of risk occurrence (put a link if public)
 +
 
 +
Specify if the Availability targets are different in case the plan is invoked.
  
The provider has got internal procedures to invoke in case of risk occurrence
+
Specify the recovery requirements (in general they are the outcomes of the BIA).
  
The Availability targets don't change in case the plan is invoked.
+
Specify if there is a particular approach for the return to normal working conditions if different from what already reported in the risk assessment.
  
Recovery requirements:
+
The support unit ... shall be used to report any incident or service request
*Maximum tolerable period of disruption (MTPoD) (the maximum amount of time that a service can be unavailable or undelivered after an event that causes disruption to operations, before its stakeholders perceive unacceptable consequences): 1 day
 
*Recovery time objective (RTO) (the acceptable amount of time to restore the service in order to avoid unacceptable consequences associated with a break in continuity (this has to be less than MTPoD)): 4 hours
 
*Recovery point objective (RPO) (the acceptable latency of data that will not be recovered): 1 day
 
  
Approach for the return to normal working conditions as reported in the risk assessment.
+
The providers can contact EGI Operations via ticket or email in case the continuity plan is invoked, or to discuss any change to it.
 +
</pre>
  
 
= Availability and Continuity test =
 
= Availability and Continuity test =
Line 145: Line 146:
  
 
== Test details and outcome ==
 
== Test details and outcome ==
 
1. Deploy new virtual machines in OpenStack cloud using automatic ansible scripts (haproxy, rails environments, databases: Postgres, elastic search, Redis)
 
2. Restore databases and configurations from backups using scripts.
 
3. Run setup deployment script (clone marketplace source code from GitHub https://github.com/cyfronet-fid/marketplace, build and run puma and sidekick services)
 
4. Setup haproxy to proxy services form new machines.
 
5. Associate floating IP addresses in OpenStack to haproxy service and open firewall.
 
6. Test instance https://marketplace.eosc-portal.eu
 
 
The duration of the test was 1 hour, which is an acceptable time. In case any problem occurs during the recovery process, the duration is expected to increase till 4 hours.
 
  
 
= Revision History  =
 
= Revision History  =

Revision as of 14:33, 20 May 2020

Main EGI.eu operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security


Documentation menu: Home Manuals Procedures Training Other Contact For: VO managers Administrators


Back to main page: Services Availability Continuity Plans

work in progress

Introduction

This page reports on the Availability and Continuity Plan for the EOSC Portal and it is the result of the risks assessment conducted for this service: a series of risks and treats has been identified and analysed, along with the correspondent countermeasures currently in place. Whenever a countermeasure is not considered satisfactory for either avoiding or reducing the likelihood of the occurrence of a risk, or its impact, it is agreed with the service provider a new treatment for improving the availability and continuity of the service. The process is concluded with an availability and continuity test.

Last Next
Risks assessment
Av/Co plan and test

Availability requirements and performances

In the OLA it was agreed the following performances targets, on a monthly basis:

  • Availability: 90%
  • Reliability 95%

Other availability requirements:

  • the service is accessible through X509 certificate and Check-in
  • the service is accessible via webUI

The service availability is regularly tested by nagios probe org.nagiosexchange.Portal-WebCheck: https://argo-mon.egi.eu/nagios/cgi-bin/status.cgi?servicegroup=SITE_EGI-MARKETPLACE_egi.Portal&style=overview

The performances reports in terms of Availability and Reliability are produced by ARGO on an almost real time basis and they are also periodically collected into the Documentation Database.

Risks assessment and management

For more details, please look at the google spreadsheet. We will report here a summary of the assessment.

Risks analysis

Risk id Risk description Affected components Established measures Risk level Expected duration of downtime / time for recovery Comment
1 Service unavailable / loss of data due to hardware failure
2 Service unavailable / loss of data due to software failure
3 service unavailable / loss of data due to human error
4 service unavailable for network failure (Network outage with causes external of the site)
5 Unavailability of key technical and support staff (holidays period, sickness, ...)
6 Major disruption in the data centre. Fire, flood or electric failure for example
7 Major security incident. The system is compromised by external attackers and needs to be reinstalled and restored.
8 (D)DOS attack. The service is unavailable because of a coordinated DDOS.

Outcome

Additional information

procedures for the several countermeasures to invoke in case of risk occurrence (put a link if public)

Specify if the Availability targets are different in case the plan is invoked.

Specify the recovery requirements (in general they are the outcomes of the BIA).

Specify if there is a particular approach for the return to normal working conditions if different from what already reported in the risk assessment.

The support unit ... shall be used to report any incident or service request

The providers can contact EGI Operations via ticket or email in case the continuity plan is invoked, or to discuss any change to it.

Availability and Continuity test

The proposed A/C test will focus on a recovery scenario: the service is supposed to have been disrupted and needs to be reinstalled from scratch. The last backup of the data will be used for restoring the service, verifying how much information will be lost, and the time spent will be measured.

Performing this test will be useful to spot any issue in the recovery procedures of the service.

Test details and outcome

Revision History

Version Authors Date Comments

Alessandro Paolini 2019-07-24 first draft, discussing with the provider

Alessandro Paolini 2019-08-22 the provider confirmed there is no hardware HA configuration; added new content about Ava requirements (to be refined) and additional information in risk assessment section (to be refined); the provider is going to plan a recovery test.

Alessandro Paolini 2019-11-28 plan finalised