|MySQL DBA Cluster| Introduction to MySQL DBA Cluster|
-
Upload
kernel-training -
Category
Education
-
view
146 -
download
5
Transcript of |MySQL DBA Cluster| Introduction to MySQL DBA Cluster|
Email: [email protected] us: +91 8099 77 6681
Welcome to MYSQL Cluster Introduction
Course Goals After completing this course, you should be able to:
• Describe the concepts associated with MySQL Cluster
• Explain the MySQL Cluster architecture
• Describe the NDB Storage engine concepts
• Describe the system considerations when designing a cluster
• Install MySQL Cluster
• Configure a basic MySQL Cluster system
• Perform backup and recovery operations
• Secure a MySQL Cluster system
www.kerneltraining.com/mysql-dba-cluster
Course Goals After completing this course, you should be able to:
• Manage MySQL Cluster by using the cluster management console
• Monitor and improve performance on a cluster system
• Identify and correct common cluster problems
• Describe common cluster setups being used
• Set up replication between clusters
www.kerneltraining.com/mysql-dba-cluster
Course Lesson Map1.Introduction to MySQL Cluster2.MySQL Cluster Concepts3.Install and Start MySQL Cluster4.Cluster Configuration File5.NDB Storage Engine
6.Designing a Cluster7.Handling Data in MySQL Cluster8.MySQL Cluster Management9.MySQL Cluster Security
10.MySQL Cluster Performance11.Resolving Cluster Problems12.MySQL Cluster Replication13.Conclusion
www.kerneltraining.com/mysql-dba-cluster
Student Introductions
• Name
• Company affiliation
• Title, function, and job responsibilities
• Experience related to topics covered in this course
• Reason for enrolling in this course
• Expectations for this course
www.kerneltraining.com/mysql-dba-cluster
Classroom Environment• Logistics
• Restrooms
• Break rooms and designated smoking areas
• Cafeterias and restaurants in the area
• Emergency evacuation procedures
• Instructor contact information
• Mobile phone usage
• Online course attendance confirmation form
www.kerneltraining.com/mysql-dba-cluster
MySQL: Overview• Relational database management system
program suite• World's most popular open source database
• Fastest growing with over 70,000 downloads per day
• Under active development since 1995
MySQL is installed across every continent in the world.(Yes, even Antarctica!)
www.kerneltraining.com/mysql-dba-cluster
MySQL Cluster Carrier Grade Edition• Most secure, scalable MySQL database, development /
management / monitoring tools, backed by Oracle Premier Lifetime Support
www.kerneltraining.com/mysql-dba-cluster
MySQL Cluster Users and Applications
www.kerneltraining.com/mysql-dba-cluster
• What are the consequences of down time or failing to meet performance requirements?
• How much effort and money is spent in developing and managing high availability in your applications?
• Are you considering sharding your database to scale write performance? How does that impact your application and developers?
• Do your services need to be real time?
• Will your services have unpredictable scalability demands, especially for writes?
• Do you want the flexibility to manage your data with more than just SQL?
Key Questions to Ask When Considering MySQL Cluster
www.kerneltraining.com/mysql-dba-cluster
Key Benefits of MySQL ClusterScaling Reads & Writes
99.999% Availability
Real-Time Responsiveness
SQL & NoSQL APIs
Low TCO, Open Platform
Auto-sharding + Multi-masterTransactional, ACID-compliant relational
database
Shared-nothing design, no single point of failure
On-line operations: scale, upgrade schema, etc.High-load, real-time performance
Predictable low latency, bounded access times
Complex, relational queries + Key/Value Access
MySQL, Memcached, C++, Java, JPA, HTTP / REST
GPL & Commercial editionsCommodity hardware, management &
monitoring tools
www.kerneltraining.com/mysql-dba-cluster
How Does the MySQL Cluster Manager Help?
Before MySQL Cluster Manager• 1 x preliminary check of cluster state• 8 x ssh commands per server• 8 x per-process stop commands• 4 x scp of configuration files (2 x
mgmd & 2 x mysqld)• 8 x per-process start commands• 8 x checks for started and re-joined
processes• 8 x process completion verifications• 1 x verify completion of the whole
cluster • Excludes manual editing of each
configuration fileTotal: 46 commands - 2.5 hours of attended operation
With MySQL Cluster Manager
upgrade cluster --package=7.1 mycluster;
Total: 1 Command - Unattended Operation
Results• Reduces the overhead and
complexity of managing database clusters
• Reduces the risk of down time resulting from administrator error
• Automates best practices in database cluster management
Example: Initiating upgrade from MySQL Cluster 7.0 to 7.2
www.kerneltraining.com/mysql-dba-cluster
If You Are Not Using the MySQL Cluster Manager
• You can perform tasks manually, but you have to:o Issue many commandso Be present while the process is running
• You can script operations, but:o Writing scripts takes timeo You need to assign time to test and
maintain scriptso Scripts add risk and complexity to the
system
www.kerneltraining.com/mysql-dba-cluster
MySQL Tools• Graphical and command-line interfaces to your
MySQL databases• MySQL Enterprise Monitor
o Web application that reduces down time, tightens security, and increases throughput
o Includes MySQL Query Analyzer
• MySQL Enterprise Backup• Online “Hot,” non blocking backups• MySQL Workbench
o Visual database design tool that is used to efficiently design, manage, and document databases
www.kerneltraining.com/mysql-dba-cluster
MySQL Connectors and APIs
www.kerneltraining.com/mysql-dba-cluster
MySQL Services
MySQL Training
• Comprehensive set of MySQL training courses
MySQL Certification
• High-quality certification for MySQL developers and database administrators
MySQL Consulting
• Full range of consulting services from startup to optimization
Oracle Lifetime Support• Offerings to save you time and ensure that you achieve
the highest levels of performance, reliability, and uptime
www.kerneltraining.com/mysql-dba-cluster
MySQL Community Support
• Mailing lists• Forums• Community articles• PlanetMySQL blogs• Facebook• Twitter• Physical and virtual
events: Developer Days, Tech Tours, Webinars, and more
www.kerneltraining.com/mysql-dba-cluster
Oracle Lifetime Support for MySQLRely on the Experts, Get Unique Benefits
• Straight from the source• Largest team of MySQL
experts• Direct access to MySQL
support engineers• Backed by MySQL
developers• Forward-compatible hot
fixes• 24 × 7 support• Maintenance releases• Unlimited support incidents• Knowledge base• MySQL Consultative
Support
"The MySQL support service has been essential in helping us with troubleshooting and providing recommendations for the production cluster, Thanks." -- Carlos Morales – Playfulplay.com
www.kerneltraining.com/mysql-dba-cluster
MySQL-Supported Operating Systems
• MySQL provides control and flexibility for users.
• It supports multiple, commodity platforms including:
o Windows (multiple)o Linux (multiple)o Solariso Mac OS
www.kerneltraining.com/mysql-dba-cluster
MySQL Websites
http://dev.mysql.com includes:• Developer Zone (articles, forums, PlanetMySQL, and
more)• Downloads (GA and development release)• Documentation
http://www.mysql.com includes:• Downloads (GA)• Services• Consulting• Resources• White papers• Webinars
www.kerneltraining.com/mysql-dba-cluster
Evaluate MySQL Cluster Carrier Grade Edition
www.kerneltraining.com/mysql-dba-cluster
1. Navigate to http://edelivery.oracle.com/ and browse (by selecting “MySQL Database” as the Product Pack).
2. Select MySQL Cluster Manager.
Download MySQL Cluster
www.kerneltraining.com/mysql-dba-cluster
1.Download MySQL Cluster Manager from edelivery.oracle.com (Package including Cluster).
2.Unzip the file.
3.Run the MySQL Cluster Manager agent, and define, create, and start MySQL Cluster:$> bin\mcmd –bootstrapMySQL Cluster Manager 1.1.2 startedConnect to MySQL Cluster Manager by running "D:\Andrew\Documents\MySQL\
mcm\bin\mcm" -a NOVA:1862Configuring default cluster 'mycluster'...Starting default cluster 'mycluster'...Cluster 'mycluster' started successfully ndb_mgmd NOVA:1186 ndbd NOVA ndbd NOVA mysqld NOVA:3306 mysqld NOVA:3307 ndbapi *Connect to the database by running "D:\Andrew\Documents\MySQL\mcm\cluster\
bin\mysql" -h NOVA -P 3306 -u root
4.Connect to MySQL Cluster and start using the database.
Bootstrap Single Host Cluster
www.kerneltraining.com/mysql-dba-cluster
MySQL Curriculum Footprint
MySQL Performance Tuning Bootcamp
MySQL Advanced Stored Procedures
ILT/LVC
MySQL Developer Techniques
ILT/LVC
MySQLBootcamp
Database administratorsDatabase developers
Introductory
Intermediate
Advanced
MySQL and PHP
ILT/LVC
MySQL for Developers
ILT/LVC
MySQL Performance Tuning
ILT/LVC/TOD
MySQL Cluster
ILT
MySQL High Availability
ILT
MySQL for Beginners
ILT/LVC/TOD
MySQL for Database Administrators
ILT/LVC/TOD
www.kerneltraining.com/mysql-dba-cluster
The Oracle Certification Program validates various levels of MySQL expertise:
Introductory: Certified Associate• Oracle Certified Associate: MySQL
Intermediate: Certified Professional• Oracle Certified Professional: MySQL Database
Administrator• Oracle Certified Professional: MySQL Developer
Advanced: Certified Expert• Oracle Certified Expert: MySQL Cluster Database
Administrator
MySQL Certification
www.kerneltraining.com/mysql-dba-cluster
• MySQL Reference Manual
• Topic guides
• Expert guides
• MySQL help tables
• Example databases
• Meta documentation
• Community-contributed documentation
• Printed books
• Additional resources
MySQL Online Documentation
www.kerneltraining.com/mysql-dba-cluster
In this lesson, you should have learned how to:
• Explain the origin and status of the MySQL product
• List the available MySQL products and professional services
• Describe when to use MySQL Cluster
• Describe the advantages of MySQL Cluster Manager
• Download and evaluate MySQL Cluster
• List the MySQL Tools, Connectors, and APIs
• Describe the MySQL Resources
Lesson Summary
www.kerneltraining.com/mysql-dba-cluster
This practice covers reviewing some pages on the MySQL website by using a web browser of your choice.
Practice 1-1 Overview: MySQL Resources
www.kerneltraining.com/mysql-dba-cluster
This practice covers installing MySQL server on an Oracle Linux system.
Practice 1-2 Overview: Installing MySQL Server
www.kerneltraining.com/mysql-dba-cluster
This practice covers using the MySQL command-line client to load the world database.
Practice 1-3 Overview: Installing the world Database
www.kerneltraining.com/mysql-dba-cluster
Email: [email protected] us: +91 80 99 77 66 81
THANK YOUfor attending Lessons of MY SQL CLUSTER
www.kerneltraining.com/mysql-dba-cluster