high availability with the openais project
play

High Availability with the openais project Prepared by: Steven - PowerPoint PPT Presentation

High Availability with the openais project Prepared by: Steven Dake October 2005 Agenda Service Availability Forum Reliability and Availability Application Interface Specification The openais project Service Availability Forum


  1. High Availability with the openais project Prepared by: Steven Dake October 2005

  2. Agenda � Service Availability Forum � Reliability and Availability � Application Interface Specification � The openais project

  3. Service Availability Forum – Mission The Service Availability™ Solution helps meet end-user expectations for voice, data and multimedia services delivered with the dependability of traditional telecommunications. The Service Availability™ Forum is addressing this by fostering an ecosystem to enable the use of commercial off-the-shelf building blocks in the creation of high availability network infrastructure products, systems and services. The Service Availability™ Forum will accomplish this through developing and publishing high availability and management software interface specifications as well promoting and facilitating their adoption by the industry.

  4. Service Availability Forum Member Companies Artesyn Technologies � � GoAhead Software � MySQL AB � Radisys Augmentix Corporation � � Hewlett-Packard NEC � � Siemens Clovis Solutions � � IBM � Nokia � Solid Information Technology Continuous Computing � � Intel Nortel Networks � � Sun Microsystems Ericsson � � Kontron � NTT � TietoEnator Force Computers � � MontaVista Software Oracle Corporation � � UXComm Fujitsu Siemens Computers � � Motorola � OSA Technologies � Veritas Software GNP � � Wind River Systems Phoenix Technologies �

  5. Service Availability Forum – The Software Stack

  6. Reliability and Availability – Availability Equation MTTF A= MTTF+MTTR Where MTTF is the mean time to failure and MTTR is the mean time to repair.

  7. Reliability and Availability – Availability with fixed MTTF and variable MTTR Availability with MTTF of 10000 1.2 Availability (A) 1 0.8 0.6 0.4 0.2 0 0 5000 10000 15000 20000 Mean Time To Repair (MTTR)

  8. Application Interface Specification - Overview � High Availability Specification � Application Failover � Checkpoint Service � Availability Management Framework � Communication � Cluster Membership Service � Event Service � Message Service � Mutual Exclusion � Distributed Lock Service

  9. Availability Management Framework - Overview � Allows service to be registered or unregistered � Instantiates services as active or standby � Detects service faults � Provides mechanisms to gather instantiation state � Mechanism to enable and disable services � Allows reporting of errors and canceling errors

  10. Availability Management Framework – Service Group Component A Component C Component B Component D Service Unit B Service Unit A

  11. Checkpoint Service - Overview � Checkpoints are named � Checkpoints have sections which store data � Checkpoint sections can be read and written � When an standy component is directed active by AMF, standby reads checkpoint sections and recovers state

  12. Cluster Membership Service - Overview � Maintains view of current configuration � Allows for asynchronous notification of configuration changes via tracking API � Provides mechanism to read current configuration

  13. Eventing Service - Overview � Provides named event channels for publish and subscribe � Publish events to an event channel � Callback executed when filtered event is delivered � Events can be filtered by api

  14. Messaging Service - Overview � Named queue identifiers for sending and receiving messages � Mechanism to send a request and wait for the response � Load balancing messages

  15. Locking Service - Overview � Resources can be locked and unlocked � Asynchronous notification of many operational types � Locks can be reclaimed in case of failure of locker � deadlock detection

  16. The openais project - Agenda � Setup and Configuration � Project History � Architecture � Performance � Project Statistics

  17. openais – setup and configuration • Create shared key: Linux# ./keygen OpenAIS Authentication key generator. Gathering 1024 bits for key from /dev/random. Writing openais key to /etc/ais/authkey. • Save /etc/ais/network.conf: Bindnetaddr: 192.168.1.0 Mcastaddr: 226.94.1.1 Mcastport: 6000 Read QUICKSTART file in source package for more details.

  18. openais – project history � Project started in January 2002 to support hotswap on ATCA chassis � Morphed into SA Forum in April 2003 � Virtual Synchrony merged January 2004 � Released to open source under Revised BSD license by MontaVista Software in June 2004 as the openais project hosted at Open Source Development Labs. � Event service merged September 2004 � Open Source Development Labs and SA Forum officially announce via press release their support for the openais project in November 2004. � 3 rd generation implementation Virtual Synchrony protocol merged January 2005

  19. openais – checkpoint performance Throughput 10 9 8 7 B / SEC 6 5 M 4 3 2 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 KB / MSG Transactions Per Second 2250 2000 1750 TRANS / SEC 1500 1250 1000 750 500 250 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 KB / MSG

  20. Openais – performance with many processors Group Messaging Throughput 10 9 8 7 MB / SEC 6 No Encryption 5 Encryption 4 3 2 1 0 1 2 3 4 5 6 7 8 9 10 11 12 Processor Count

  21. openais – project statistics � Executive LOC: 29728 � Library LOC: 9505 � Include LOC: 4231 � Total LOC: 43464 � Changesets since openais inception: 880 � estimated 4500 hours of development, 9000 hours of testing and QA

  22. Au Distributed locks API merged Integration w ith Linux- HA Jan Apr June July Integration w ith GIG-e, jumbo frame Redhat's CMAN support, Accomplishments 2005 70MB/sec throughput Initial Redundant Ring achieved protocol Patrick Caulfield submitted Ipv6 support AMF B.01.01 initial patch 98% pass rate w ith SAFtest 3 rd Generation Protocol implemented (totem)

  23. Sister Projects � The totem protocol in openais integrated into Redhat's CMAN � The EVS library used by Linux-HA to support membership and messaging � Integration of openais's AMF, CKPT with Asterisk as POC � openais has generated 85 bug fixes (patches) for saftest AIS B

  24. Release 1 Picacho s plus: AMF Release 1 roadmap � DLCK service plus: service � DLCK CKPT (exP) service service � MSG � MSG EVT service service service (exp) � AMF CLM � AMF service B.01.01 B.01.01 � Productio EVS � Prototype B.01.01 n B.01.01 redundant 85% code redundant ring coverage ring � AMF � AMF SAF test 95% pass manageme Q4/05 Q1/05 Q4/05 Q4/05 rateargete manageme nt Q4/06 Q1/06 d for nt � Targeted � Targeted december f

  25. Conclusion � Reduce MTTR to improve availability � SA Forum AIS provides APIs to reduce MTTR � open source solution available of AIS (http://developer.osdl.org/dev/openais � openais is suitable for deployment today

  26. Questions?

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend