01.
mysql&
gt
; show global status like 'rpl_semi%';
02.
+--------------------------------------------+-------+
03.
| Variable_name | Value |
04.
+--------------------------------------------+-------+
05.
| Rpl_semi_sync_master_clients | 1 |
06.
| Rpl_semi_sync_master_net_avg_wait_time | 0 |
07.
| Rpl_semi_sync_master_net_wait_time | 0 |
08.
| Rpl_semi_sync_master_net_waits | 0 |
09.
| Rpl_semi_sync_master_no_times | 0 |
10.
| Rpl_semi_sync_master_no_tx | 0 |
11.
| Rpl_semi_sync_master_status | ON |
12.
| Rpl_semi_sync_master_timefunc_failures | 0 |
13.
| Rpl_semi_sync_master_tx_avg_wait_time | 0 |
14.
| Rpl_semi_sync_master_tx_wait_time | 0 |
15.
| Rpl_semi_sync_master_tx_waits | 0 |
16.
| Rpl_semi_sync_master_wait_pos_backtraverse | 0 |
17.
| Rpl_semi_sync_master_wait_sessions | 0 |
18.
| Rpl_semi_sync_master_yes_tx | 0 |
19.
+--------------------------------------------+-------+
20.
14 rows
in
set
(0.00 sec)
21.
mysql&
gt
; show global variables like '%rpl%';
22.
+------------------------------------+-------+
23.
| Variable_name | Value |
24.
+------------------------------------+-------+
25.
| rpl_recovery_rank | 0 |
26.
| rpl_semi_sync_master_enabled | ON |
27.
| rpl_semi_sync_master_timeout | 1000 |
28.
| rpl_semi_sync_master_trace_level | 32 |
29.
| rpl_semi_sync_master_wait_no_slave | ON |
30.
+------------------------------------+-------+
31.
5 rows
in
set
(0.00 sec)
32.
...............
33.
mysql&
gt
; show global status like 'rpl_semi%';
34.
+----------------------------+-------+
35.
| Variable_name | Value |
36.
+----------------------------+-------+
37.
| Rpl_semi_sync_slave_status | ON |
38.
+----------------------------+-------+
39.
1 row
in
set
(0.00 sec)
40.
mysql&
gt
; show global variables like '%rpl%';
41.
+---------------------------------+-------+
42.
| Variable_name | Value |
43.
+---------------------------------+-------+
44.
| rpl_recovery_rank | 0 |
45.
| rpl_semi_sync_slave_enabled | ON |
46.
| rpl_semi_sync_slave_trace_level | 32 |
47.
+---------------------------------+-------+
48.
3 rows
in
set
(0.00 sec)
49.
................
50.
[root@slave ~]
51.
*************************** 1. row ***************************
52.
Slave_IO_State: Waiting
for
master to send event
53.
Master_Host: 172.16.200.5
54.
Master_User: zly
55.
Master_Port: 3306
56.
Connect_Retry: 60
57.
Master_Log_File: mysql-bin.000011
58.
Read_Master_Log_Pos: 453
59.
Relay_Log_File: relay_log.000003
60.
Relay_Log_Pos: 253
61.
Relay_Master_Log_File: mysql-bin.000011
62.
Slave_IO_Running: Yes
63.
Slave_SQL_Running: Yes