Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "Service for AAI: PERUN Availability and Continuity plan"

From EGIWiki
Jump to navigation Jump to search
 
(38 intermediate revisions by 4 users not shown)
Line 5: Line 5:
= Introduction =
= Introduction =


This page reports on the Availability and Continuity Plan for '''[{Perun]]''' and it is the result of the risk assessment conducted for this service: a series of risks and threats 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 '''[https://wiki.egi.eu/wiki/Perun Perun]''' and it is the result of the risk assessment conducted for this service: a series of risks and threats has been identified and analyzed, 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 14: Line 14:
|-
|-
! scope="row"| Risk assessment
! scope="row"| Risk assessment
| 2018-05-05
| 2021-02-10
| May 2019
| Feb 2021
|-
|-
! scope="row"| Av/Co plan and test
! scope="row"| Av/Co plan and test
| 2018-07-13
| 2018-07-13
| July 2019
| --
|-
|-
|}
|}


= Performances =
Previous plans are collected here: https://documents.egi.eu/document/3511


The performances reports in terms of Availability and Reliability are produced by [http://argo.egi.eu/ar-opsmon ARGO] on an almost real time basis and they are also periodically collected into the [https://documents.egi.eu/public/ShowDocument?docid=2324 Documentation Database].
= Availability requirements and performances =
In the OLA it was agreed the following performances targets, on a monthly basis:
 
In the OLA it was agreed with the following performances targets, on a monthly basis:
*Availability: 99%
*Availability: 99%
*Reliability 99%
*Reliability 99%
Other availability requirements:
* the service is accessible through X509 certificate
* the service is accessible through EGI-CheckIn (we have a nagios probe which can simulate federated login)
* the service is accessible via CLI and/or webUI (link to the probes that checks the authentication and the service in general)
* the Perun RPC is responding, check https://perun.egi.eu/cert/rpc and expect OK as a first two letters
The service availability is regularly tested by nagios probes (eu.egi.cloud.Perun-Check and eu.egi.CertValidity): https://argo-mon.egi.eu/nagios/cgi-bin/status.cgi?servicegroup=SERVICE_egi.Perun&style=overview
The performances reports in terms of Availability and Reliability are produced by [http://egi.ui.argo.grnet.gr/egi/OPS-MONITOR-Critical ARGO] on an almost real-time basis and they are also periodically collected into the [https://documents.egi.eu/public/ShowDocument?docid=2324 Documentation Database].


Over the past years, PERUN hadn't particular Av/Co issues highlighted by the performances that need to be further investigated.
Over the past years, PERUN hadn't particular Av/Co issues highlighted by the performances that need to be further investigated.


= Risks assessment and management =
= Risks assessment and management =
 
For more details, please look at the [https://docs.google.com/spreadsheets/d/1XkvcACguieA_sIDcHg-59dIskPlnn7L44m6N1I8FKzw/edit#gid=755011464 google spreadsheet]. We will report here a summary of the assessment.
For more details, please look at the [https://docs.google.com/spreadsheets/d/18d2kEdrXFScD2U-JDD344TFx82iCw8WGo0pEWHDw0j8/edit#gid=1816293980 google spreadsheet]. We will report here a summary of the assessment.


== Risks analysis ==
== Risks analysis ==
Line 44: Line 54:
! Established measures
! Established measures
! Risk level
! Risk level
! Treatment
! Expected duration of downtime/time for recovery
! Expected duration of downtime / time for recovery
! Comment
|-
|-
| 1
| 1
| Service unavailable / loss of data due to hardware failure
| Service unavailable / loss of data due to hardware failure
| database, GUI, provisioning engine
| Perun database, Perun GUI, Perun engine
| All components and host machines are regularly backed-up on OS and application level. Host is running in redundant virtual environment.
| All components and host machines are regularly backuped on OS and application level. Host is running in redundant virtual environment. LDAP machines are replicated in different geographical locations.
| style="background: green"| Low
| style="background: yellow"| Medium
| Restore service from the backups on the new hosts which are not affected by the failure.
| up to 8 hours
| up to 8 hours
|The measures already in place are considered satisfactory and the risk level is acceptable
|-
|-
| 2
| 2
| Service unavailable / loss of data due to software failure
| Service unavailable / loss of data due to software failure
| database, GUI, provisioning engine
| Perun database, Perun GUI, Perun engine
| All components and host machines are regularly backed-up on OS and application level.
| All components and host machines are regularly backuped on OS and application level. LDAP machines are replicated in different geographical locations.
| style="background: green"| Low
| style="background: yellow"| Medium
| Restore service from the backups, log data analysis in order to find a reason of the software failure.
| up to 8 hours
| up to 8 hours
| The measures already in place are considered satisfactory and the risk level is acceptable
|-
|-
| 3
| 3
| service unavailable / loss of data due to human error
| service unavailable / loss of data due to human error
| database, GUI, provisioning engine, LDAP
| Perun database, Perun GUI, Perun engine, LDAP
| All components and host machines are regularly backed-up on OS and application level. Only trained personel has an access to the machines.
| All components and host machines are regularly backuped on OS and application level. Only trained and authorised personnel has an access to the machines and core database.
| style="background: yellow"| Medium  
| style="background: yellow"| Medium  
| Restore service/data from backups. Revise actions done which led to the failure and modification of the processes in order to not allow the same error again.
| Up to 4 hours
| up to 4 hours
| The measures already in place are considered satisfactory and the 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)
| GUI, LDAP
| Perun database, Perun GUI, Perun engine, LDAP
| Data centers has redundant network connections and LDAP servers are located in two different data centers.
| Data centres has redundant network connections and LDAP servers are located in two geographically distributed data centres.
| style="background: yellow"| Medium
| style="background: yellow"| Medium  
| Standard mitigation and recovery procedures made by network operators.
| up to 4 hours
| up to 4 hours
| The measures already in place are considered satisfactory and the 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, ...)
| database, GUI, provisioning engine, LDAP
| Perun database, Perun engine, Perun GUI
| At least one person from the core team (5 team members) is still available.
| At least one person from the core team (7 team members) is still available.
| style="background: green"| Low  
| style="background: green"| Low  
| At least one person from the core team (5 team members) is available.
| 1 or more working days
| 1 or more working days
| The measures already in place are considered satisfactory and the risk level is acceptable
|-
|-
| 6
| 6
| Major disruption in the data centre. Fire, flood  or electric failure for example
| Major disruption in the data center. Fire, flood  or electric failure for example
| database, GUI, provisioning engine
| Perun database, Perun GUI, Perun engine, LDAP
| All components and host machines are regularly backed-up on OS and application level. Machines are located in well maintained and secured data centres. LDAP is located in two different data centres.
| All components and host machines are regularly backuped on OS and application level. Machines are located in well maintained and secured data centres. LDAP servers are located in two geographically distributed data centres.
| style="background: green"| Low
| style="background: yellow"| Medium
| Restore service from the backups on the new hosts which are not affected by the failure.
| up to 8 hours
| up to 8 hours
| The measures already in place are considered satisfactory and the 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.
| database, GUI, engine, LDAP
| Perun database, Perun GUI, Perun engine, LDAP
| All the components has network security monitoring in place and is under CSIRT team supervision. All the components are backed-up in backup system which cannot be accessible from host machine. Perun software and its components are regularly checked by penetration testing.
| All the components has network security monitoring in place and is undert CSIRT teams (EGI-CSIRT, CSIRT-MU and CESNET-CERTS) supervision. All the components are backuped in backup system which cannot be accessible from host machine. Perun software and its components are regularly checked by penetration testing.
| style="background: green"| Low
| style="background: yellow"| Medium
| Restore service from backups on a new hosts.
| up to 8 hours
| up to 8 hours
| The measures already in place are considered satisfactory and the 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.
| GUI, LDAP
| Perun database, Perun GUI
| Network monitoring is in place and active network elemetns deployed at CESNET network are able to lower the risk of DDOS attacks.
| Network monitoring is in place and active network elements deployed at CESNET network are able to lower the risk of DDOS attacks.
| style="background: yellow"| Medium  
| style="background: yellow"| Medium  
| Utilization of DDOS protection on the network level provided by CESNET.
| less than 1 hour
| less than 1 hour
| The measures already in place are considered satisfactory and the risk level is acceptable
|}
|}


== Outcome ==
== Outcome ==
The level of all the identified risks is acceptable and the countermeasures already adopted are considered satisfactory
The level of all the identified risks is acceptable and the countermeasures already adopted are considered satisfactory


= Availability and Continuity test =
== Additional information ==


The proposed A/C test will focus on a recovery scenario: the service has been disrupted and needs to be reinstalled from scratch.
*The provider is implementing internal procedures for the several countermeasures to invoke in case of risk occurrence, that will be available within the Q1/2020.  
The time spent for restoring the service will be measured, using the last backup of the data stored in it and evaluating any eventual loss of information
*The Availability targets don't change in case the plan is invoked.
Performing this test will be useful to spot any issue in the recovery procedures of the service.
*Recovery requirements:
**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): 3 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): 2 days
**Recovery point objective (RPO) (the acceptable latency of data that will not be recovered): 2 days
*Approach for the return to normal working conditions as reported in the risk assessment.
*The dedicated Support Unit in the EGI Helpdesk will 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.


The test showed that the recovery takes only few minutes:
= Availability and Continuity test =
*It takes 3.75 minutes to copy snapshot of the production system
'''There were no big changes to this service after the execution of the last recovery test ([https://documents.egi.eu/secure/RetrieveFile?docid=3511&filename=2018%20Service%20for%20AAI%20-%20PERUN%20Availability%20and%20Continuity%20plan.pdf&version=1 2018 A&C plan]), which is considered still valid, so a new test is not required.'''
*0.5 minutes takes machine boot
*Change of the IP address 0,5 minutes
Moreover there are also full backups, so a machine can be recovered also in a completely different location, which will take a little bit longer because the need of doing the clean installation of the machine, software and data recovery. And as a last point DNS modification.
 
The test can be considered successful: even if it takes longer to restore the service, the other components of the infrastructure can use the last data available before the downtime; managing users and groups is not an hourly or daily activity, it is performed when needed, so even if the service is unavailable for few hours or a day, this can be acceptable.


= Revision History  =
= Revision History  =
Line 147: Line 157:
| Alessandro Paolini
| Alessandro Paolini
| 2018-08-02
| 2018-08-02
| Plan finalised
| Plan finalized
|-
|<br>
| Valeria Ardizzone
| 2019-09-06
| start the yearly review
|-
|<br>
| Valeria Ardizzone
| 2019-12-06
| Plan finalized
|-
| <br>
| Alessandro Paolini
| 2021-02-10
| yearly review completed
|-
|-
|
|
|
|
|}
|}

Latest revision as of 16:43, 10 February 2021

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

Introduction

This page reports on the Availability and Continuity Plan for Perun and it is the result of the risk assessment conducted for this service: a series of risks and threats has been identified and analyzed, 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
Risk assessment 2021-02-10 Feb 2021
Av/Co plan and test 2018-07-13 --

Previous plans are collected here: https://documents.egi.eu/document/3511

Availability requirements and performances

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

  • Availability: 99%
  • Reliability 99%

Other availability requirements:

  • the service is accessible through X509 certificate
  • the service is accessible through EGI-CheckIn (we have a nagios probe which can simulate federated login)
  • the service is accessible via CLI and/or webUI (link to the probes that checks the authentication and the service in general)
  • the Perun RPC is responding, check https://perun.egi.eu/cert/rpc and expect OK as a first two letters

The service availability is regularly tested by nagios probes (eu.egi.cloud.Perun-Check and eu.egi.CertValidity): https://argo-mon.egi.eu/nagios/cgi-bin/status.cgi?servicegroup=SERVICE_egi.Perun&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.

Over the past years, PERUN hadn't particular Av/Co issues highlighted by the performances that need to be further investigated.

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 Perun database, Perun GUI, Perun engine All components and host machines are regularly backuped on OS and application level. Host is running in redundant virtual environment. LDAP machines are replicated in different geographical locations. Medium up to 8 hours The measures already in place are considered satisfactory and the risk level is acceptable
2 Service unavailable / loss of data due to software failure Perun database, Perun GUI, Perun engine All components and host machines are regularly backuped on OS and application level. LDAP machines are replicated in different geographical locations. Medium up to 8 hours The measures already in place are considered satisfactory and the risk level is acceptable
3 service unavailable / loss of data due to human error Perun database, Perun GUI, Perun engine, LDAP All components and host machines are regularly backuped on OS and application level. Only trained and authorised personnel has an access to the machines and core database. Medium Up to 4 hours The measures already in place are considered satisfactory and the risk level is acceptable
4 service unavailable for network failure (Network outage with causes external of the site) Perun database, Perun GUI, Perun engine, LDAP Data centres has redundant network connections and LDAP servers are located in two geographically distributed data centres. Medium up to 4 hours The measures already in place are considered satisfactory and the risk level is acceptable
5 Unavailability of key technical and support staff (holidays period, sickness, ...) Perun database, Perun engine, Perun GUI At least one person from the core team (7 team members) is still available. Low 1 or more working days The measures already in place are considered satisfactory and the risk level is acceptable
6 Major disruption in the data center. Fire, flood or electric failure for example Perun database, Perun GUI, Perun engine, LDAP All components and host machines are regularly backuped on OS and application level. Machines are located in well maintained and secured data centres. LDAP servers are located in two geographically distributed data centres. Medium up to 8 hours The measures already in place are considered satisfactory and the risk level is acceptable
7 Major security incident. The system is compromised by external attackers and needs to be reinstalled and restored. Perun database, Perun GUI, Perun engine, LDAP All the components has network security monitoring in place and is undert CSIRT teams (EGI-CSIRT, CSIRT-MU and CESNET-CERTS) supervision. All the components are backuped in backup system which cannot be accessible from host machine. Perun software and its components are regularly checked by penetration testing. Medium up to 8 hours The measures already in place are considered satisfactory and the risk level is acceptable
8 (D)DOS attack. The service is unavailable because of a coordinated DDOS. Perun database, Perun GUI Network monitoring is in place and active network elements deployed at CESNET network are able to lower the risk of DDOS attacks. Medium less than 1 hour The measures already in place are considered satisfactory and the risk level is acceptable

Outcome

The level of all the identified risks is acceptable and the countermeasures already adopted are considered satisfactory

Additional information

  • The provider is implementing internal procedures for the several countermeasures to invoke in case of risk occurrence, that will be available within the Q1/2020.
  • The Availability targets don't change in case the plan is invoked.
  • Recovery requirements:
    • 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): 3 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): 2 days
    • Recovery point objective (RPO) (the acceptable latency of data that will not be recovered): 2 days
  • Approach for the return to normal working conditions as reported in the risk assessment.
  • The dedicated Support Unit in the EGI Helpdesk will 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

There were no big changes to this service after the execution of the last recovery test (2018 A&C plan), which is considered still valid, so a new test is not required.

Revision History

Version Authors Date Comments

Alessandro Paolini 2018-05-07 first draft, discussing with the provider

Alessandro Paolini 2018-08-02 Plan finalized

Valeria Ardizzone 2019-09-06 start the yearly review

Valeria Ardizzone 2019-12-06 Plan finalized

Alessandro Paolini 2021-02-10 yearly review completed