TAILIEUCHUNG - High Availability MySQL Cookbook phần 2

Mọi nỗ lực đã được thực hiện trong việc chuẩn bị của cuốn sách này để đảm bảo tính chính xác của các thông tin được trình bày. Tuy nhiên, các thông tin trong cuốn sách này được bán mà không có sự bảo đảm, thể hiện rõ ràng hay ngụ ý. Không phải là tác giả, xuất bản Packt, cũng không phải các đại lý hoặc nhà phân phối sẽ được tổ chức chịu trách nhiệm về bất kỳ thiệt hại gây ra hoặc bị cáo buộc được gây ra trực tiếp hoặc gián tiếp bởi cuốn sách này | Chapter 1 Creating an initial cluster configuration file In this recipe we will discuss the initial configuration required to start a MySQL Cluster. A MySQL Cluster has a global configuration file which resides on all management nodes. This file defines the nodes processes that make up the cluster and the parameters that the nodes will use. Each management node when it starts reads the file to get information on the structure of the cluster and when other nodes storage and SQL API start they contact the already-running management node to obtain the details of the cluster architecture. The creation of this global configuration file is the first step in building the cluster and this recipe looks at the initial configuration for this file. Later recipes will cover more advanced parameters which you can define typically to tune a cluster for specific goals such as performance . How to do it. The first step in building a cluster is to create a global cluster configuration file. This file called by convention is stored on each management node and is used by the management node process to show the cluster makeup and define variables for each node. In our example we will store this in the file usr local mysql-cluster but it can be stored anywhere else. The file consists of multiple sections. Each section contains parameters that apply to a particular node for example the node s IP address or the amount of memory to reserve for data. Each type of node management SQL and data node has an optional default section to save duplicating the same parameter in each node. Each individual node that will make up the cluster has its own sections which inherits the defaults defined for its type and specifies the additional parameters or overrides the defaults. This global configuration file is not complex but is best analyzed with an example and in this recipe we will create a simple cluster configuration file for this .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.