ENEA POLYHEDRA®: Polyhedra IMDB and High-Availability

ENEA POLYHEDRA®: Polyhedra IMDB and High-Availability

WHITE PAPER 1 ENEA POLYHEDRA®: Polyhedra IMDB and High-Availability Nigel Day Polyhedra Product Manager Integrated data management services are an integral part of any advanced network equipment software platform. Where large application-level data storage is required, say for an HLR (Home Location Register) or accounting/billing system, the data management solution may come in the form of a traditional disk-based relational database management system (RDBMS). Many network infrastructure systems, It is the complete system. So these There might also be safety issues. however, require a separate, higher terms, when applied to software, refer The data handling needs of HA em - performance, in-memory database to the functions and features that the bedded systems often have the following solution to manage the dynamic control, software must supply in order to facili- requirements and charact eristics: status and configuration information tate the design of an HA system. n Data changes must be fast, but required for continuous “five nines” Embedded systems requiring high quickly accessible. service delivery. availability - say ‘five 9s’ (99.999%) or n Data must be preserved in the face Enea Polyhedra provides a full- better of continuous operation – are of a complete system failure, and featured, fault-tolerant SQL RDBMS that typically configured with redundant must continue to be available in is optimized for network control plane cards, power supplies, etc. The individual the face of a partial failure. applications with demanding availability, components are not designed to be n The data structures, queries and performance and memory requirements. fault free. Rather, the system as a whole types of changes are relatively static Equally important, Polyhedra works is designed in a redundant fashion in a deployed systems, but will hand-in-glove with the Enea Accelerator that allows it to survive the failure of change frequently during application platform, a carrier class software plat- individual components. Redundancy, in development, and will usually form for building highly differentiated addition to improving availability, also change when deploying new network equipment that delivers high- enhances flexibility, enabling components versions of the application. quality multimedia services over IP to be swapped out and upgraded with- n Field upgrades should not require networks with 100% service availability. out upsetting the running system. scheduled downtime, and the Featuring best-in-class networking, While live upgradeability is not period of vulnerability to component supervision, fault management, and needed in some HA systems (for exam- failure should be minimized. database management, this flexible, ple, systems on board aircraft, which are n The system should minimize the reusable platform enables equipment turned off when the flight is over or the amount of application coding makers to build scalable, upgradeable, aircraft is serviced), it is crucial for appli- needed to handle the HA configur- “five nines” equipment that greatly reduces cations like telecom where the systems ation. CAPEX and OPEX for service providers. must operate continuously for years on n The application should be scalable, end. For example, in telecom infrastruc- avoiding performance killers such High-Availability? ture equipment, a field upgrade should as polling. High-availability and fault tolerance not disrupt calls in progress. Similarly, are phrases that are often used rather in an industrial process control systems, loosely, especially when it comes to stopping a production line for an software. In practice, it is not software upgrade could cost tens or hundreds of that is fault tolerant or highly available. thousands of dollars of lost production. Enea is a global software and services company focused on solutions for communication-driven products. With 40 years of experience Enea is a world leader in the development of software platforms with extreme demands on high-availability and performance. Enea’s expertise in real-time operating systems and high availability middleware shortens development cycles, brings down product costs and increases system reliability. Enea’s vertical solutions cover telecom handsets and infrastructure, medtech, industrial automation, automotive and mil/aero. Enea has 750 employees and is listed on Nasdaq OMX Nordic Exchange Stockholm AB. For more information please visit enea.com or contact us at [email protected]. www.enea.com WHITE PAPER 2 Atomicity, Consistency, ACID compliance. Most are also SQL When only a few systems are being Isolation and Durability based, and support on-the-fly schema installed, a software-only solution is For transactional data stores, reference changes. However, they may lack suit- possible, with a third machine used for is often made to the term ‘ACID’, a able HA characteristics, or be too slow arbitration. More complex configura- mnemonic for Atomicity, Consistency, for use in embedded systems. tions, however, usually require a two- Isolation and Durability. Atomicity means board solution, with a hardware mech- that each transaction either fails (leaving Polyhedra IMDB and HA anism to assist in determining which the data in the pre-transactional state) The Polyhedra in-memory database sys- board should be master. Techniques or fully commits - no halfway houses. tem is designed for use in embedded vary, but the aim is to provide a reliable Consistency says that each trans- systems, where state and configuration way for one board to know whether it action leaves the data store in a clean information has to be kept readily acces- should be master, and to avoid having state, with all integrity conditions pre- sible, rapidly alterable… and safe. To both boards operate in master mode, served. If not, the transaction is aborted, ensure fast access, Polyhedra keeps the even when the data connection between leaving the data in its pre-transactional data in RAM, but backs it up using a va- the two is not working. state. Isolation says that transactions are riety of configurable mechanisms, inclu- Standard Polyhedra release kits independent, each completing before ding snapshots, transaction journals, and provide sample applications for both the next one is started (though judicious even hot standby where appropriate. two-board and three-board solutions. use of locking by the system can avoid To support fault-tolerant configura- For a 2-board solution, however, the the need for the implementation to be tions, Polyhedra provides a hot standby code would need to be tailored to quite so restrictive). mechanism for fault-tolerant pairs. On interact with the customer-supplied Durability means that if the data start up, the master server gives the hot hardware-based arbitrator. store says the transaction is complete, standby server a complete copy of the The Polyhedra client-server protocol then the data is in a ‘safe’ state and will database (including the schema and features a client-controlled heartbeat survive a subsequent system failure any CL code attached to the database). mechanism, which allows communi- (within the capabilities of the under- Once it is fully running, the master cation failures to be detected quickly lying hardware and environment). In sends copies of each transaction record if the underlying transport is unable to practice, the Durability requirement as soon as it commits to the transaction. provide timely information about the can significantly slow down a system This keeps the standby up to date so failure of the server. For example, when (flushing files to disk can take some that it can take over at a moment’s notice. TCP/IP is used, a process failure would time, for example), so most data stores The master-standby pair runs under normally be detected by the operating allow the level of durability to be tuned, the control of an external arbitration system, which would then close any balancing it against overall system re- mechanism, which controls when fail- open ports. In the case of a complete sponsiveness when operating normally. over occurs, and decides which is the board failure, however, it is impractical All true relational database systems master when both come up together to wait for the TCP/IP stack at the other are transactional, and offer a degree of after a cold boot. end to detect the problem, as this could take up to a half an hour. The Polyhedra client libraries allow users to set up fault-tolerant connect- ions to a list of servers. If the connection to the master server of a fault-tolerant pair fails (whether reported by the transport or by the heartbeat mechan- ism described above), the library will automatically and repeatedly try all the servers in the list in turn. The delay between attempts is configurable, as is the maximum retry count. Once the connection is re-established to the current master, the library will re-establish all open active queries, and work out the ‘delta’ between the previous state and the current one. Conseque ntly, Enea Polyhedra IMDB and HA. WHITE PAPER 3 only minimal code changes are needed needs to be done is to update the soft- Thus, to upgrade the control cards in a to convert a Polyhedra client applica- ware on the management computers. rack with a new version of the Polyhedra tion to one that works with an HA data- This allows the clients to set the new server code, the user simply: base configuration. The change could configuration columns and monitor the n Tells the database server to produce be as simple as changing the code that new status columns. a snapshot to a named file. This opens the initial connection. If needed, The heterogeneity built into will cause the current state of the clients can monitor the changing status Polyhedra, together with its high level database to be recorded on both of the database connection and fine- of inter-version interoperability, means systems (in case of problems with tune the configuration parameters. that new line cards do not have to use the upgrade).

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    4 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us