Open Ha Cluster


Published on

sun developer day slide

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Open Ha Cluster

    1. 1. Discovering Open High Availability Cluster <ul><li>Robert Sohigian </li></ul><ul><li>Sun Microsystems </li></ul>
    2. 2. Outline <ul><li>What is “Open High Availability Cluster”? </li></ul><ul><li>Why is High Availability Important? </li></ul><ul><li>How Solaris Cluster Provides High Availability </li></ul><ul><li>Cluster Agents </li></ul><ul><li>Cluster in Action </li></ul><ul><li>Open-Source Roadmap </li></ul><ul><li>How to Use Open HA Cluster </li></ul><ul><li>How to Participate </li></ul>
    3. 3. What is Open High Availability Cluster?
    4. 4. Open High Availability Cluster <ul><li>The open-source code base for Solaris TM Cluster </li></ul><ul><ul><li>Based on Solaris Cluster 3.2 </li></ul></ul><ul><li>Hosted by the HA Clusters community group on </li></ul><ul><li>Code available under the CDDL </li></ul>
    5. 5. Why is Sun Open-Sourcing Solaris Cluster? <ul><li>Share </li></ul><ul><ul><li>Public should have access to the source-base </li></ul></ul><ul><ul><li>We hope developers will contribute back their agents and other modifications </li></ul></ul><ul><li>Open Development </li></ul><ul><ul><li>Increase confidence in the cluster code-base </li></ul></ul><ul><ul><li>Enhance the code-base with third-party contributions </li></ul></ul>
    6. 6. Why is Sun Open-Sourcing Solaris Cluster? <ul><li>Shorten Feedback Loop </li></ul><ul><ul><li>Easier to incorporate feedback </li></ul></ul><ul><ul><li>Find and fix bugs quicker </li></ul></ul><ul><ul><li>Early adoption of new features </li></ul></ul><ul><li>Because Solaris Cluster is FUN! </li></ul>
    7. 7. Why Is High Availability Important?
    8. 8. Why is HA Important? <ul><li>Downtime is costly </li></ul><ul><li>Failures are inevitable </li></ul><ul><ul><li>Hardware, Software, Human Error, Disaster </li></ul></ul><ul><li>With a single physical system, single points of failure are catastrophic </li></ul><ul><ul><li>Network card dies, CPU misbehaves, disk drive crashes ... </li></ul></ul><ul><ul><li>HA Clusters automate the recovery process from inevitable failures, minimizing downtime and cost </li></ul></ul>
    9. 9. How Solaris Cluster Provides High Availability
    10. 10. Platform for High Availability <ul><li>Tolerates Single Points of Failure (and some multiple failures) </li></ul><ul><li>Hardware redundancy with off-the-shelf hardware </li></ul><ul><li>Robust software HA infrastructure </li></ul><ul><ul><li>Monitors the health of cluster infrastructure (hosts, shared storage, and network) </li></ul></ul><ul><ul><li>Orchestrates recovery of applications and cluster infrastructure (shared storage and IP networking) </li></ul></ul><ul><ul><li>Integrated tightly with the Solaris Operating System </li></ul></ul><ul><ul><li>Robust membership including quorum to prevent split-brain </li></ul></ul><ul><ul><li>Disk Fencing ensures Data Integrity in spite of failures </li></ul></ul>
    11. 11. Solaris Cluster Stack Heartbeats Membership
    12. 12. <ul><li>HA Failover Service </li></ul><ul><li>Application failover </li></ul><ul><ul><li>Within nodes or container </li></ul></ul><ul><li>Containers failover </li></ul><ul><li>Failover IP address </li></ul>Failover Service
    13. 13. Scalable Service Software Load Balancing Global Network Service Provides Global IP address with failure protection Scalable Service
    14. 14. Apache (Scalable) Global Network Service Provides Global IP address with failure protection MySQL (Failover) Example: Apache and MySQL
    15. 15. Heartbeats Membership Quorum Disk Fencing <ul><li>Resource Group Manager </li></ul><ul><li>Resource (application) dependencies </li></ul><ul><li>Inter RG dependencies </li></ul><ul><li>RG affinities </li></ul><ul><li>HA Failover Service </li></ul><ul><li>Application failover </li></ul><ul><ul><li>Within nodes or container </li></ul></ul><ul><li>Containers failover </li></ul><ul><li>Failover IP address </li></ul>Global File Service Failover File service Scalable Service Software Load Balancing Global Network Service Provides Global IP address with failure protection Solaris Cluster Architecture Monitoring
    16. 16. Cluster Agents
    17. 17. Solaris Cluster Stack
    18. 18. Cluster Agents (Data Services) <ul><li>Applications run on the cluster unmodified </li></ul><ul><li>Cluster agents are the “glue” layer between applications and cluster infrastructure </li></ul><ul><ul><li>Custom agent for each application </li></ul></ul><ul><ul><ul><li>Interacts with the cluster core through APIs </li></ul></ul></ul><ul><ul><ul><li>Provides start, stop, and other commands specific to the application to be called by the cluster framework </li></ul></ul></ul><ul><ul><ul><li>Provides monitor daemon specific to the application </li></ul></ul></ul><ul><li>Applications cannot break into the high availability business on Solaris Cluster without an agent! </li></ul>
    19. 19. Agents Development <ul><li>Several choices available </li></ul><ul><ul><li>Sun Cluster Agent Builder </li></ul></ul><ul><ul><li>Generic Data Service (GDS) </li></ul></ul><ul><ul><li>Data Service Development Library (DSDL) </li></ul></ul><ul><ul><li>RGM Application Programming Interface (API) </li></ul></ul>
    20. 20. Agents Available Include <ul><li>Business Logic Tier </li></ul><ul><li>HA Sun Java System App Server PE/SE </li></ul><ul><li>HA Sun Java System App Server EE </li></ul><ul><li>HA Sun Java System Directory Server* </li></ul><ul><li>HA Agfa IMPAX </li></ul><ul><li>HA BEA Weblogic Server </li></ul><ul><li>Scalable Broadvision One-To-One* </li></ul><ul><li>HA IBM Websphere MQ </li></ul><ul><li>HA IBM Websphere MQ Integrator </li></ul><ul><li>IBM Lotus Notes + </li></ul><ul><li>HA Oracle Application Server </li></ul><ul><li>HA SAP liveCache </li></ul><ul><li>HA SAP J2EE Engine </li></ul><ul><li>HA SAP Enqueue Server </li></ul><ul><li>Scalable SAP </li></ul><ul><li>HA Siebel </li></ul><ul><li>HA SWIFTAlliance Access </li></ul><ul><li>HA SWIFTAlliance Gateway </li></ul><ul><li>HA Sybase Adaptative Server* </li></ul><ul><li>Web Tier / Presentation </li></ul><ul><li>HA Sun Java System Web Server </li></ul><ul><li>HA Sun Java System Messaging Server* </li></ul><ul><li>HA Sun Java System Message Queue </li></ul><ul><li>HA Sun Java System Calendar Server* </li></ul><ul><li>HA Sun Java System Instant Messaging Server* </li></ul><ul><li>Scalable Sun Java System Web Server </li></ul><ul><li>HA Apache Web/Proxy Server </li></ul><ul><li>HA Apache Tomcat </li></ul><ul><li>Scalable Apache Web/Proxy Server </li></ul><ul><li>Database Tier </li></ul><ul><li>Oracle Parallel Server* </li></ul><ul><li>HA Oracle9i and Oracle 9i RAC* </li></ul><ul><li>HA Oracle 10g and Oracle 10gRAC* </li></ul><ul><li>HA Oracle E-business Suite </li></ul><ul><li>HA Oracle* </li></ul><ul><li>HA Sybase* </li></ul><ul><li>HA MySQL </li></ul><ul><li>HA SAP/MaxDB Database </li></ul><ul><li>HA PostgreSQL </li></ul>* Not yet open-source <ul><li>Management Infrastructure Tier </li></ul><ul><li>HA Sun N1 Grid Engine </li></ul><ul><li>HA Sun N1 Service Provisioning System </li></ul><ul><li>HA DNS, HA NFS </li></ul><ul><li>HA DHCP </li></ul><ul><li>IBM Tivoli + </li></ul><ul><li>Mainframe Rehosting (MTP)* </li></ul><ul><li>HA Samba </li></ul><ul><li>HA Solstice Backup* </li></ul><ul><li>HA Solaris Container </li></ul><ul><li>HA Symantec NetBackup* </li></ul>Online Agent list:
    21. 21. Open-Source Roadmap
    22. 22. Multiple Source Trees <ul><li>Solaris Cluster consists of four different source trees </li></ul><ul><ul><li>Agents </li></ul></ul><ul><ul><li>Core </li></ul></ul><ul><ul><li>Geographic Edition </li></ul></ul><ul><ul><li>SCATE </li></ul></ul>
    23. 23. What's Open-Source Now <ul><li>Most of the cluster agents </li></ul><ul><li>Geographic Edition </li></ul><ul><li>Cluster agents and geo edition G11N </li></ul><ul><li>CTI for TET test framework </li></ul><ul><ul><li>Based on SCATE (Sun Cluster Automated Test Environment) </li></ul></ul><ul><ul><li>Used for both ON and Cluster tests </li></ul></ul><ul><li>Test suites for agents and geo edition </li></ul>
    24. 24. Much More to Come <ul><li>2008 release source for </li></ul><ul><ul><li>Sun Cluster core </li></ul></ul><ul><ul><li>Test suites for core </li></ul></ul><ul><li>Asynchronously </li></ul><ul><ul><li>Docs </li></ul></ul><ul><ul><li>Over three million lines of code to be open-sourced! </li></ul></ul>
    25. 25. How to Use Open HA Cluster
    26. 26. Solaris Cluster Express <ul><li>A complete version of Solaris Cluster software that runs on Solaris Express </li></ul><ul><li>Solaris Cluster Express 02/08 (current release) </li></ul><ul><ul><li>Runs on Solaris Express Developer Edition 1/08 </li></ul></ul><ul><ul><li>Runs on SPARC and 32 or 64-bit x86 hardware </li></ul></ul><ul><ul><li>Support available only through community forums </li></ul></ul><ul><li>Where to get it </li></ul>
    27. 27. Solaris Cluster 3.2 <ul><li>Most recent release of the Solaris Cluster product </li></ul><ul><ul><li>Runs on Solaris 9 and 10 </li></ul></ul><ul><ul><li>Supported on SPARC and 64-bit x86 hardware </li></ul></ul><ul><ul><li>Try it out for free </li></ul></ul><ul><li>Where to get it </li></ul>
    28. 28. Build and Run Agents and Geographic Edition <ul><li>Install </li></ul><ul><ul><li>Solaris Express Developer or Community Edition </li></ul></ul><ul><ul><li>Compiler </li></ul></ul><ul><ul><ul><li>Sun Studio 11, Sun Studio 12, or gcc </li></ul></ul></ul><ul><ul><li>Build tools </li></ul></ul><ul><ul><ul><li>ON build tools (SUNWonbld) </li></ul></ul></ul><ul><ul><ul><li>OHAC build tools (SUNWscbld) </li></ul></ul></ul><ul><li>Download source tarballs and archives </li></ul><ul><li>One-line nbuild command </li></ul><ul><li>Install packages on Solaris Cluster Express or Solaris Cluster 3.2 </li></ul>
    29. 29. Build, Install, and Run OHACTS <ul><li>Download CTI for TET source from testing community </li></ul><ul><ul><li>Follow CTI for TET instructions to build it </li></ul></ul><ul><li>Download OHACTS source </li></ul><ul><li>Build and install OHACTS package </li></ul><ul><li>Run OHACTS </li></ul>
    30. 30. How to Participate
    31. 31. Where to Start <ul><li>HA Clusters Community Group Web Page </li></ul><ul><li>Open HA Cluster page </li></ul><ul><li> mailing list </li></ul><ul><li>How to Contribute to Open HA Cluster </li></ul>
    32. 32. What You Can Do <ul><li>Browse the code with OpenGrok </li></ul><ul><ul><li> </li></ul></ul><ul><li>Join the discussions on ha-clusters-discuss. </li></ul><ul><li>File bugs </li></ul><ul><ul><li> </li></ul></ul><ul><li>Fix a bug </li></ul><ul><ul><li> </li></ul></ul><ul><li>Contribute to an existing project </li></ul><ul><ul><li> </li></ul></ul><ul><li>Start a new project </li></ul>
    33. 33. Two new community projects created <ul><li>HA-Informix </li></ul><ul><ul><li>Cluster Agent for Informix Dynamic Server </li></ul></ul><ul><ul><li>Created 1 st August 2007 </li></ul></ul><ul><ul><li>Design Doc, Cheatsheet etc. available </li></ul></ul><ul><ul><li> </li></ul></ul><ul><li>HA-xVM </li></ul><ul><ul><li>Cluster Agent for Solaris xVM guest domains </li></ul></ul><ul><ul><li> </li></ul></ul>
    34. 34. Possible Projects <ul><li>Develop Agents for </li></ul><ul><ul><li>Adabas, BMC Control-M, BMC Patrol Server, BMC Performance Manager, CA Unicenter, Citrix, Connect Direct, EMC Documentum, FileNet, IBM Tivoli Client, IBM Tivoli Server, IBM Tivoli Workload Scheduler, IBM Websphere Application Server, Informatica, Java CAPS, Java DB, JBOSS, Netbackup, Netbackup Client, Open LDAP, Sleepy cat DB, Sun Java System Identity Server, Sun Java System Portal Server, Sybase Replicator agent, TSM Backup client, UC4 </li></ul></ul><ul><li>More project suggestions for Open HA Cluster </li></ul><ul><li>Or propose your own project! </li></ul>
    35. 35. Thank you! Robert Sohigian [email_address] Based on Slides by [email_address] “ open” artwork and icons by chandan: