High Availability MySQL Cookbook phần 2 pps
... /usr/local /mysql- cluster [root@node5 mysql- cluster]# ndb_mgmd config-file=config.ini 20 09-06 -28 22 :14:01 [MgmSrvr] INFO NDB Cluster Management Server. mysql- 5.1.34 ndb-7.0.6 20 09-06 -28 22 :14:01 ... error: [root@node5 mysql- cluster]# ndb_mgmd 20 09-06 -28 22 :13:48 [MgmSrvr] INFO NDB Cluster Management Server. mysql- 5.1.34 ndb-7.0.6 20 09-06 -28 22 :13:48 [MgmSrvr] INFO...
Ngày tải lên: 07/08/2014, 11:22
... 21 9 Introduction 21 9 Tuning the Linux kernel IO 22 0 Tuning MySQL Cluster storage nodes 22 8 Tuning MySQL Cluster SQL nodes 23 0 Tuning queries within a MySQL Cluster 23 2 Tuning GFS on shared storage 23 3 MySQL ... storage MySQL 181 Conguring MySQL on shared storage with Conga 185 Fencing for high availability 191 Conguring MySQL with GFS 195 Chapter 7: High A...
Ngày tải lên: 07/08/2014, 11:22
... 1) [ndb_mgmd(MGM)] 2 node(s) id=1 @10.0.0.5 (mysql- 5.1.34 ndb-7.0.6) id =2 @10.0.0.6 (mysql- 5.1.34 ndb-7.0.6) [mysqld(API)] 4 node(s) id=11 @10.0.0.1 (mysql- 5.1.34 ndb-7.0.6) id= 12 @10.0.0 .2 (mysql- 5.1.34 ... statement. mysql& gt; CREATE DATABASE world; Query OK, 1 row affected (0 .20 sec) mysql& gt; exit; Bye High Availability with MySQL Cluster 36 mysql& gt; USE cluster_...
Ngày tải lên: 07/08/2014, 11:22
High Availability MySQL Cookbook phần 4 potx
... 156K -rw-r r 1 root root 126 K Jul 23 22 :31 BACKUP-1-0.3.Data -rw-r r 1 root root 18K Jul 23 22 :31 BACKUP-1.3.ctl -rw-r r 1 root root 52 Jul 23 22 :31 BACKUP-1.3.log Node2 will have exactly the same ... follows: [root@node2 ~]# cd /var/lib /mysql- cluster/BACKUP/BACKUP-1/ [root@node2 BACKUP-1]# ls -lh total 152K -rw-r r 1 root root 122 K Jul 23 22 :31 BACKUP-1-0.4.Data -rw-r r 1 ro...
Ngày tải lên: 07/08/2014, 11:22
High Availability MySQL Cookbook phần 5 doc
... 2. 0G 5.3G 28 % / /dev/xvda1 99M 21 M 74M 22 % /boot tmpfs 2. 0G 0 2. 0G 0% /dev/shm /dev/mapper/system-ndb_data 2. 0G 83M 1.8G 5% /var/lib /mysql- cluster /dev/mapper/system-ndb_backups 2. 0G 68M 1.9G ... eld as follows: mysql& gt; SELECT -> File, -> Position -> FROM mysql. ndb_binlog_index -> WHERE epoch > 59 528 246 722 72 -> ORDER BY epoch ASC LIMIT 1...
Ngày tải lên: 07/08/2014, 11:22
High Availability MySQL Cookbook phần 6 doc
... management node): 20 10- 02- 01 22 : 02: 12 [MgmtSrvr] WARNING Node 3: Node 2 missed heartbeat 3 20 10- 02- 01 22 : 02: 13 [MgmtSrvr] ALERT Node 10: Node 2 Disconnected 20 10- 02- 01 22 : 02: 16 [MgmtSrvr] WARNING ... (for example /var/lib /mysql- cluster/ndb_3_out.log on node3): 20 10- 02- 01 20 :53 :22 [ndbd] INFO findNeighbours from: 4419 old (left: 1 right: 2) new (2 2)...
Ngày tải lên: 07/08/2014, 11:22
High Availability MySQL Cookbook phần 7 docx
... 1 BOND1 BOND1 BOND1 BOND1 BOND1 BOND1 STORAGE NODE 2 SQL NODE 1 SQL NODE 2 NODE 1 NODE 2 MGM MGM BOND0 BOND0 BOND0 BOND0 BOND0 BOND0 eth 2 eth 3 eth 2 eth 3 eth 2 eth 3 Eth2 eth 3 eth 2 eth 3 eth 2 eth 3 PRIVATE PRIVATE SWITCH 1 SWITCH 2 SWITCH ... network-scripts]# ping 10.0.0 .2 PING 10.0.0 .2 (10.0.0 .2) 56(84) bytes of data. 64 bytes from 10.0.0 .2: icmp_seq=1 ttl=64 t...
Ngày tải lên: 07/08/2014, 11:22
High Availability MySQL Cookbook phần 8 doc
... command: [root@node4 mmm]# tar zxvf mysql- mmm -2. 0.9.tar.gz mysql- mmm -2. 0.9/ mysql- mmm -2. 0.9/lib/ mysql- mmm -2. 0.9/VERSION mysql- mmm -2. 0.9/LICENSE [root@node4 mmm]# cd mysql- mmm -2. 0.9 Now, we need to install ... mmm [root@node4 mmm]# wget http:/ /mysql- mmm.org/_media/:mmm2 :mysql- mmm- 2. 0.9.tar.gz 13:44:45 http:/ /mysql- mmm.org/_media/:mmm2 :mysql- mmm -2. 0.9.tar...
Ngày tải lên: 07/08/2014, 11:22
High Availability MySQL Cookbook phần 9 ppt
... mysql /dev/mapper/clustervg -mysql_ data_gfs2 /var/lib /mysql gfs2 rw,hostdata=jid=0:id=65537:first=1 0 0 Start mysql to run mysql_ install_db (as there is nothing in our new lesystem on /var/lib /mysql) : [root@node1 ~]# service mysql ... /var/lib /mysql is not mounted and that the MySQL process is not running, on both nodes: [root@node2 ~]# ps aux | grep mysql root 6167 0....
Ngày tải lên: 07/08/2014, 11:22
High Availability MySQL Cookbook phần 10 pot
... servers starting with 20 4 steps 20 4 -20 7 working 20 8 DRBD cluster MySQL service, moving 20 9, 21 0 MySQL service, moving manually 20 8 E echo command 22 5 endianness 16 F fencing about 191 conguring 1 92, 193 device, ... Parent PID 20 180: /usr/bin/perl Logical volume " ;mysql_ snapshot" created 20 09 120 6 18:39 :25 Info: DONE: taking LVM snapshot 20 09 120 6 18...
Ngày tải lên: 07/08/2014, 11:22