Diese Präsentation wurde erfolgreich gemeldet.
Die SlideShare-Präsentation wird heruntergeladen. ×

Trivadis TechEvent 2017 Reach effective High Availability solution by Jacques Kostic

Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Wird geladen in …3
×

Hier ansehen

1 von 41 Anzeige

Trivadis TechEvent 2017 Reach effective High Availability solution by Jacques Kostic

Herunterladen, um offline zu lesen

When designing an efficiant High Availability solutions in Cloud or on-Premise, many factors enter into the game:
- Business requirements
- Scalability requirements
- What level of Availability that can be achieved
- What is the Complexity of the design
- What is the Cost to implement it
- What is the Cost to support it
I will cover all those aspects with a simple business case and will compare the two major solutions available in the Market i.e. Oracle RAC and Microsoft Always On. Demos on both solutions will be presented.

When designing an efficiant High Availability solutions in Cloud or on-Premise, many factors enter into the game:
- Business requirements
- Scalability requirements
- What level of Availability that can be achieved
- What is the Complexity of the design
- What is the Cost to implement it
- What is the Cost to support it
I will cover all those aspects with a simple business case and will compare the two major solutions available in the Market i.e. Oracle RAC and Microsoft Always On. Demos on both solutions will be presented.

Anzeige
Anzeige

Weitere Verwandte Inhalte

Diashows für Sie (20)

Ähnlich wie Trivadis TechEvent 2017 Reach effective High Availability solution by Jacques Kostic (20)

Anzeige

Weitere von Trivadis (20)

Aktuellste (20)

Anzeige

Trivadis TechEvent 2017 Reach effective High Availability solution by Jacques Kostic

  1. 1. BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Reach effective High Availability solution With Oracle and SqlServer Why Oracle is still your best choice Jacques Kostic Principal Consultant IMS Lausanne Tel. +41 79 909 72 63 Jacques.kostic@trivadis.com
  2. 2. TechEvent 2017-march-182 26/10/2017 Experience: • Oracle DBA since 1990 • High Availability and Backup & Recovery Architect • SQL and Instance Performance & Tuning • License Audit and Consolidation Certifications: • Oracle Certified Master 11g & 12c • Oracle 11g Performance Tuning Certified Expert • Oracle RAC 11g and Grid Infrastructure Administration • Oracle Exadata Administrator Certified Expert • Oracle Certified SQL Expert 11g • Pending: Microsoft Sql-Server 2016 Certified Professional Teaching Courses at Trivadis: • Oracle 11g & 12c Grid Infrastructure & RAC • Oracle 11g & 12c Data Guard • Oracle 11g & 12c Performance & Tuning • Oracle 11g & 12c Administration • SQL & PL-SQL • OEM – 12 & 13 About me
  3. 3. Agenda TechEvent 15 Sept 20173 26-Oct-17 1. Introduction 2. What is High Availability and why we need that 3. The Business Case scenario 4. Microsoft Always On 5. Oracle Data Guard 6. Let‘s scale 7. What can Trivadis do for you? 8. Comparison 9. Conclusions
  4. 4. TechEvent 15 Sept 20174 26-Oct-17 Introduction
  5. 5. Introduction TechEvent 15 Sept 20175 26-Oct-17  Today’s systems need to be up all the time  And scalability is a must!  Therefore businesses is becoming addicted to IT
  6. 6. TechEvent 15 Sept 20176 26-Oct-17 What is High Availability And why we need that
  7. 7. What is High Availability ? TechEvent 15 Sept 20177 26-Oct-17 High Availability Group of techniques which try to assure the continuous functioning of services, even if computers fail, to avoid and minimize downtime Data versus Service High Availability More locations of data More locations of service Service High Availability Data High Availability
  8. 8. What is High Availability ? TechEvent 15 Sept 20178 26-Oct-17 Do I need High Availability  Avoid certain periods of downtime  Avoid certain lengths of downtime  Avoid certain results of downtime  Avoid a certain frequency of an error  For a decision, whether High Availability is needed, look at the consequences of a potential downtime
  9. 9. Why High Availability ? TechEvent 15 Sept 20179 26-Oct-17 Generally To preserve your business Have you calculated the cost of downtime to your business? To preserve your data Have you calculated the impact of losing your data? To improve your reputation and therefore your brand Have you evaluated customer perception of your company?
  10. 10. Why High Availability? TechEvent 15 Sept 201710 26-Oct-17 To be more Technical  What do you want to protect against?  How long are you able to survive without your system?  What are your RTO and RPO?  How to keep your system up to date?
  11. 11. TechEvent 15 Sept 201711 26-Oct-17 The Business Case Scenario
  12. 12. The Business Case Scenario TechEvent 15 Sept 201712 26-Oct-17 Description Hand Spinner market is growing fast and there is a particular need for personal customized models. The goal is to:  Host a World Wide e*Commerce web site for selling custom Hand Spinners  Setup a Read Only reporting database for the marketing team, day-1 is tolerated  Reporting must be accessible during office hours
  13. 13. The Business Case TechEvent 15 Sept 201713 26-Oct-17 Concretely  SLA: 24 * 7 access, RTO and RPO 15 minutes  Less than five hours per month downtime is tolerated for plan maintenance If production site is lost, a continuity scenario has to be in place to satisfy the business within the SLA  Reporting database is not available if failover is requested More than 50 concurrent connections to the web site is forecasted  Database initial size is 20 GB and grow estimate is 50 GB/month  Backup strategy with no impact on production
  14. 14. The Business Case TechEvent 15 Sept 201714 26-Oct-17 Internet Web Servers Database ServersBasic Diagram
  15. 15. The Business Case TechEvent 15 Sept 201715 26-Oct-17 Available Hardware: non negotiable!  1 * 12 cores 2.9 Ghz E5-2650  256 GB of RAM  2 * 300 GB SSD for OS  4 * 1.8 SSD Read Intensive for data storage  2 * 2TB SATA drives for local data  2 * 1 GB NIC  4 * 10 GB NIC
  16. 16. The Business Case TechEvent 15 Sept 201716 26-Oct-17 Software options are: OS:  Windows 2016  Linux RedHat or OEL 7 Database:  SqlServer 2016  Oracle 12.2
  17. 17. TechEvent 15 Sept 201717 26-Oct-17 Microsoft Always On
  18. 18. Microsoft Always On TechEvent 15 Sept 201718 26-Oct-17 BackupsAuto Failover Always On Availability Group Listener Synchronisation Synchronous replication is applied to “Read Only” instanceAll workload is absorbed by the primary instance The two instances R are linked to the Listener and Read-Only instance can become primary in case of switchover or failover Accessing instance Read- Only for reporting is done using a dedicated connect string Backups taken from Read-Only instance
  19. 19. Microsoft Always On TechEvent 15 Sept 201719 26-Oct-17 OS License cost: W2K16 DCE: 1 * 12 = 12 cores  161 = 6’155 * 3 = 18’465 CHF SQL-Server License cost: The replica instance is “Read Only” and therefore need to be licensed.  1 * 12 = 12 cores * 2 = 24 / 2 = 12 Licenses Packs  SQL-Server 2016 EE  14’256 * 12 = 171’072 CHF Total cost: 189’537 CHF Yearly support: 47’384 CHF 1 Minimum of 8 core per processor, minimum 16 cores per servers
  20. 20. TechEvent 15 Sept 201720 26-Oct-17 Oracle Data Guard
  21. 21. Oracle Data Guard TechEvent 15 Sept 201721 26-Oct-17 R Backups Auto Failover Data Guard Configuration & Fast Start Failover … SqlNet P All workload is absorbed by the primary instance Synchronous replication is applied to “Read Only” instance with Data Guard and the Active Data Guard option Synchronisation Accessing the two instances in case of switchover of failover is done using a single connect string alias Accessing instance R for reporting is done using a dedicated connect string Automatic Failover is managed by the observer
  22. 22. Oracle Data Guard TechEvent 15 Sept 201722 26-Oct-17 OS License cost: Free Oracle License cost: In total, two servers need to be licensed.  2 * 12 = 24 cores / 2 = 12 Licenses CPU  Oracle 12c EE + Oracle ADG  47’000 * 12 + 11’200 * 12 = 698’400 CHF Total cost: 698’400 CHF Yearly support: 153’648 CHF
  23. 23. TechEvent 15 Sept 201723 26-Oct-17 Let‘s scale
  24. 24. Let‘s scale… TechEvent 15 Sept 201724 26-Oct-17 After few months… Hand Spinner market is growing much faster than originally planned! The e*Commerce system needs to scale as users are impacted by performance issues System is sometime CPU bound Recommendation is to nearly double the amount of CPU
  25. 25. Microsoft Always On TechEvent 15 Sept 201725 26-Oct-17 P R BackupsAuto Failover Always On Availability Group Listener Synchronisation P2
  26. 26. Microsoft Always On TechEvent 15 Sept 201726 26-Oct-17 P R BackupsAuto Failover Always On Availability Group Listener Synchronisation
  27. 27. Microsoft Always On TechEvent 15 Sept 201727 26-Oct-17 SQL-Server License cost: New production server has now 22 cores Total cores to license is 34 compare to 24: increase is 10 so 5 Licenses Packs  14’256 * 5 = 71’280 CHF Total cost increase: 71’280 CHF Yearly support: 17’820 CHF New Yearly support: 65’204 CHF
  28. 28. Oracle Data Guard TechEvent 15 Sept 201728 26-Oct-17 R Backups Auto Failover Data Guard Configuration & Fast Start Failover … SqlNet P
  29. 29. Oracle Data Guard TechEvent 15 Sept 201729 26-Oct-17 Oracle License cost: All servers need to be licensed.  1 * 12 + 1 * 24 = 36 / 2 =18 Licenses CPU  Increase 6 EE + 6 ADG  47’000 * 6 + 11’200 * 6 = 349’200 CHF Total cost increase: 349’200 CHF Yearly support increase: 76’824 CHF New Yearly support : 297’248 CHF
  30. 30. TechEvent 15 Sept 201730 26-Oct-17 What can Trivadis do for you?
  31. 31. What can Trivadis do for you? TechEvent 15 Sept 201731 26-Oct-17 What is the alternative? Application is purely website workload with very short transactions  Response time is the key driver  No I/O demanding queries  No additional options required
  32. 32. Hyper Converged Oracle RAC Standard Edition 2 TechEvent 15 Sept 201732 26-Oct-17 P2 R TVD-Backups Manual /Auto Failover TVD-Standby Scan Listener … SqlNet P1 Hyper Converged Infrastructure Interconnect Hyper-Converged Storage Oracle Clusterware is used to manage replication with ASM normal redundancy Hyper Converge Software, no need to have access to shared storage Workload is absorbed by the two instances 5 minutes Gap with TVD-Standby Backup performed by TVD-Backup module Accessing the two instances in case of switchover of failover is done using a single connect string alias Accessing instance R for reporting is done using a dedicated connect string
  33. 33. Hyper Converged Oracle RAC Standard Edition 2 TechEvent 15 Sept 201733 26-Oct-17 Oracle License cost: The three servers need to be licensed.  3 sockets = 3 Licenses CPU SE2  17’000 * 3 = 51’000 CHF Trivadis software cost: TVD-Backup (1 Server) = 7’000 CHF TVD-Standby (2 Databases) = 5’900 CHF Total cost: 63’900 CHF Yearly support: 36’5001 CHF 1 included 20’000 CHF for Hyper converge software support
  34. 34. Hyper Converged Oracle RAC Standard Edition 2 TechEvent 15 Sept 201734 26-Oct-17 Limitations:  Max 2 sockets in the cluster  Max 8 threads per nodes  No other options are licensable  Nothing prevent the customer to upgrade to EE one day
  35. 35. TechEvent 15 Sept 201735 26-Oct-17 Comparison
  36. 36. Comparison TechEvent 15 Sept 201736 26-Oct-17 Option Initial To Scale Investment Support Investment Final Support Microsoft Always-On 189’537 47’384 71’280 65’204 Oracle Enterprise Edition + DG 698’400 153’648 349’200 297’248 Oracle Standard Edition 2 + TVD-Tools 63’900 36’500 0 36’500 Option Total Investment Total Support Microsoft Always-On 260’817 65’204 Oracle Enterprise Edition + DG 1’047’600 297’248 Oracle Standard Edition 2 + TVD-Tools 63’900 36’500
  37. 37. Comparison TechEvent 15 Sept 201737 26-Oct-17 Option Implement Scale Performance Cost Microsoft Always-On ++++ + +++ ++ Oracle Enterprise Edition + Data Guard ++++ + +++ - Oracle Standard Edition 2 RAC + TVD-Tools +++ +++ ++++ ++++
  38. 38. TechEvent 15 Sept 201738 26-Oct-17 Conclusion
  39. 39. Conclusion TechEvent 15 Sept 201739 26-Oct-17  Microsoft Always on is offering a very good alternative to Oracle for High Availability but unfortunately, there are still limitations regarding scalability  Depending of the application profile, mixing SE2 RAC with Hyper- Converged Storage and Trivadis tools, is offering very powerful features to run your business  Even with some limitations like max 8 threads per RAC instance, Standard Edition 2 version can handle a massive OLTP or Web Site workload  For High Availability and scalability, Oracle is still the best option
  40. 40. Questions? Jacques Kostic Principal Consultant IMS Lausanne Tel. +41 79 909 72 63 Jacques.kostic@trivadis.com 26-Oct-17 TechEvent 15 Sept 201740
  41. 41. Session Feedback – now TechEvent 15 Sept 201741 26-Oct-17 Please use the Trivadis Events mobile app to give feedback on each session Use "My schedule" if you have registered for a session Otherwise use "Agenda" and the search function If the mobile app does not work (or if you have a Windows smartphone), use your smartphone browser – URL: http://trivadis.quickmobileplatform.eu/ – User name: <your_loginname> (such as "svv") – Password: sent by e-mail...

×