An I dealized Fault-Tolerant Architectural Component Paulo Asterio - - PowerPoint PPT Presentation

an i dealized fault tolerant architectural component
SMART_READER_LITE
LIVE PREVIEW

An I dealized Fault-Tolerant Architectural Component Paulo Asterio - - PowerPoint PPT Presentation

Workshop on Architecting Dependable Systems Orlando, FL May, 25th 2002 An I dealized Fault-Tolerant Architectural Component Paulo Asterio de C. Guerra Ceclia Mary F. Rubira Insituto de Computao Universidade Estadual de Campinas,


slide-1
SLIDE 1

1

An I dealized Fault-Tolerant Architectural Component

Paulo Asterio de C. Guerra Cecília Mary F. Rubira

Insituto de Computação Universidade Estadual de Campinas, Brazil

Rogério de Lemos

Computing Laboratory University of Kent at Canterbury, UK Workshop on Architecting Dependable Systems Orlando, FL – May, 25th 2002

slide-2
SLIDE 2

2

Reliable System

Motivation

Reliable Component-Based Systems

Unreliable Components

Fault Tolerant Architecture

slide-3
SLIDE 3

3

Objectives

To apply the concept of “idealized fault

tolerant component” for describing fault-tolerant component-based systems, at the architectural level.

C2 architectural style

Heterogeneous COTS Broadcasting of asynchronous messages

slide-4
SLIDE 4

4

iFTC Abnormal Behaviour

The Idealized Fault-Tolerant Component

Normal Behaviour

Normal Response Request Normal Response Request Interface Exception Interface Exception Failure Exception Failure Exception

Internal Exception Return to Normal

slide-5
SLIDE 5

5

The C2 Architectural Style

Component Connector Request Notification

slide-6
SLIDE 6

6

Proposed Architecture

An idealized C2 component (iC2C)

Structure and behaviour as defined by the

idealized fault-tolerant component (iFTC).

Fully compliant with the C2 style rules.

slide-7
SLIDE 7

7

Overall Structure

iC2C_top iC2C_internal iC2C_bottom

NormalActivity AbnormalActivity Normal behaviour & Error detection Normal behaviour & Error detection Error diagnosis & recovery Error diagnosis & recovery

slide-8
SLIDE 8

8

Overall Structure

iC2C_top iC2C_internal iC2C_bottom

NormalActivity AbnormalActivity State based message routing State based message routing Serializes requests Serializes requests

slide-9
SLIDE 9

9

Normal Message Flow

iC2C_top iC2C_internal iC2C_bottom

NormalActivity AbnormalActivity Service Request

slide-10
SLIDE 10

10

Normal Message Flow

iC2C_top iC2C_internal iC2C_bottom

NormalActivity AbnormalActivity Normal Response

slide-11
SLIDE 11

11

Normal Message Flow

iC2C_top iC2C_internal iC2C_bottom

NormalActivity AbnormalActivity

slide-12
SLIDE 12

12

iC2C_top iC2C_internal iC2C_bottom

NormalActivity AbnormalActivity

Abnormal Message Flow

External Exception Internal Exception

iC2C_internal

slide-13
SLIDE 13

13

iC2C_top iC2C_bottom

NormalActivity AbnormalActivity

iC2C_internal iC2C_internal

Abnormal Message Flow

Return to normal Failure Exception Normal Response

slide-14
SLIDE 14

14

Collaborating Component

normal_top normal_bottom

The NormalActivity Component

BasicNormal Implements

  • perations

iC2C_top iC2C_internal iC2C_bottom NormalActivity AbnormalActivity

Coordinates error detection Coordinates error detection

Pre- and post-conditions checking

slide-15
SLIDE 15

15

The NormalActivity Component

Collaborating Component

normal_top normal_bottom

BasicNormal Stores request Stores request Evaluates pre- condition Evaluates pre- condition

slide-16
SLIDE 16

16

The NormalActivity Component

Collaborating Component

normal_top normal_bottom

BasicNormal Accepts the request Accepts the request Interface Exception Interface Exception (or)

slide-17
SLIDE 17

17

C2 Integration

iC2C_top iC2C_internal iC2C_bottom NormalActivity AbnormalActivity

C2 Comp

iC2C_top iC2C_internal iC2C_bottom NormalActivity AbnormalActivity

C2 Comp

slide-18
SLIDE 18

18

iC2C_top iC2C_internal iC2C_bottom

AbnormalActivity NormalActivity

C2 Integration

iC2C_top iC2C_internal iC2C_bottom NormalActivity AbnormalActivity

slide-19
SLIDE 19

19

Example – Mine Pump Control System

Fault Model

Transient faults affecting pump

Error Detection

Test water flow sensor (reliable)

Error Recovery

Retry operation

slide-20
SLIDE 20

20

Subsystem Configuration

conn1 conn2 conn3

PumpControl Station LowWater Sensor Ideal Pump Structured as an iC2C

slide-21
SLIDE 21

21

Ideal Pump Structure

iP_top iP_internal iP_bottom

PumpAbnormal

Pump_Normal_top Pump_Normal_bottom

WaterFlow Sensor Pump

PumpNormal

Test Water Flow Sensor after pump

  • n / off operation.

Recover by retry.

slide-22
SLIDE 22

22

Normal pumpOn

iP_top iP_internal iP_bottom

PumpAbnormal

Pump_Normal_top Pump_Normal_bottom

WaterFlow Sensor Pump pumpOn request pumpOn notification

slide-23
SLIDE 23

23

Normal pumpOn

iP_top iP_internal iP_bottom

PumpAbnormal

Pump_Normal_top Pump_Normal_bottom

WaterFlow Sensor Pump test sensor status send notification

slide-24
SLIDE 24

24

Error Detection

iP_top iP_internal iP_bottom

PumpAbnormal

Pump_Normal_top Pump_Normal_bottom

WaterFlow Sensor Pump test sensor status

iP_internal

raises internal exception

slide-25
SLIDE 25

25

iP_internal iP_top iP_bottom

PumpAbnormal

Pump_Normal_top Pump_Normal_bottom

WaterFlow Sensor Pump

Error Recovery

iP_internal

send notification retry pumpOn successfull pumpOn notification return to normal

slide-26
SLIDE 26

26

Main Results

Idealized fault-tolerant component

concept applied at the architectural level of C2 style systems

Results may be adapted for other

styles of the “interacting processes style category”

slide-27
SLIDE 27

27

Work in Progress

Idealized C2 connector FTC2 java framework

slide-28
SLIDE 28

28

Contact Information

Paulo Asterio de Castro Guerra asterio@ic.unicamp.br Cecília Mary F. Rubira cmrubira@ic.unicamp.br Rogério de Lemos r.delemos@ukc.ac.uk

slide-29
SLIDE 29

29

Implementation Issues

Asynchronicity Implicit Invocation Multiple notifications

slide-30
SLIDE 30

30

Asynchronicity

iC2C_top iC2C_internal iC2C_bottom

NormalActivity AbnormalActivity Service Request Synchronous channels with higher priority Synchronous channels with higher priority

slide-31
SLIDE 31

31

Implicit Invocation

iC2C_top iC2C_internal iC2C_bottom

NormalActivity AbnormalActivity Service Request Mutual exclusion protocol Mutual exclusion protocol Notification with i.i.

slide-32
SLIDE 32

32

Multiple Notifications

Collaborating Component

normal_top normal_bottom

BasicNormal Stores notification Stores notification Evaluates post-condition Evaluates post-condition Stores notifications Stores notifications