Ubuntu System: Cluster connectivity Status test

Source: Internet
Author: User
Tags exit command line mysql client

A. Cluster connectivity status test

First, we go back to the Management node (mysql-mgm.mtest.com). On the server, execute the following command:

$ ndb_mgm

After the command is executed, it enters the MGM client interface and displays the MGM prompt:

--NDB Cluster--Management Client--

Ndb_mgm>

At this prompt, enter the show command to view the current connection status:

Ndb_mgm> Show

Under normal circumstances, you should display the following:

From the above we can see that two NDB nodes 192.168.1.13 and 192.168.1.14 are already connected to the management node. Configuration Successful!

Execute quit or exit command to exit MGM client:

Ndb_mgm> quit

Now let's take a look at the cluster's normal data storage. We will perform data operations on two storage nodes, respectively.

1. Data Synchronization Test

First, on the node mysql-data1.mytest.com, we create a database and insert a row of data.

$ mysql-u Root-p

After entering the password, the MySQL client's command line interface is entered. In the interface, enter the following command:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.