~mysql/mysql-utilities/1.6

« back to all changes in this revision

Viewing changes to mysql-test/suite/replication/r/rpl_admin_basic_ssl_opt_gtid.result

  • Committer: chuck.bell at oracle
  • Date: 2014-12-05 15:00:19 UTC
  • mfrom: (488.1.1 mu-1.6.1-b19031182)
  • Revision ID: chuck.bell@oracle.com-20141205150019-enxhq2j2gdylzhx9
Tagged for release to SysQA

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Test case 1 - SSL mysqlrplshow OLD Master before demote
 
2
# master on localhost: ... connected.
 
3
# Finding slaves for master: localhost:PORT1
 
4
 
 
5
# Replication Topology Graph
 
6
localhost:PORT1 (MASTER)
 
7
   |
 
8
   +--- localhost:PORT2 - (SLAVE)
 
9
   |
 
10
   +--- localhost:PORT3 - (SLAVE)
 
11
   |
 
12
   +--- localhost:PORT4 - (SLAVE)
 
13
 
 
14
Test case 2 - SSL switchover demote-master 
 
15
# Discovering slaves for master at localhost:PORT1
 
16
# Discovering slave at localhost:PORT2
 
17
# Found slave: localhost:PORT2
 
18
# Discovering slave at localhost:PORT3
 
19
# Found slave: localhost:PORT3
 
20
# Discovering slave at localhost:PORT4
 
21
# Found slave: localhost:PORT4
 
22
# Checking privileges.
 
23
# Performing switchover from master at localhost:PORT1 to slave at localhost:PORT2.
 
24
# Checking candidate slave prerequisites.
 
25
# Checking slaves configuration to master.
 
26
# Waiting for slaves to catch up to old master.
 
27
# Stopping slaves.
 
28
# Performing STOP on all slaves.
 
29
# Demoting old master to be a slave to the new master.
 
30
# Switching slaves to new master.
 
31
# Starting all slaves.
 
32
# Performing START on all slaves.
 
33
# Checking slaves for errors.
 
34
# Switchover complete.
 
35
#
 
36
# Replication Topology Health:
 
37
+------------+-------+---------+--------+------------+---------+
 
38
| host       | port  | role    | state  | gtid_mode  | health  |
 
39
+------------+-------+---------+--------+------------+---------+
 
40
| localhost  | PORT2  | MASTER  | UP     | ON         | OK      |
 
41
| localhost  | PORT1  | SLAVE   | UP     | ON         | OK      |
 
42
| localhost  | PORT3  | SLAVE   | UP     | ON         | OK      |
 
43
| localhost  | PORT4  | SLAVE   | UP     | ON         | OK      |
 
44
+------------+-------+---------+--------+------------+---------+
 
45
# ...done.
 
46
 
 
47
Test case 3 - SSL mysqlrplshow NEW Master after demote
 
48
# master on localhost: ... connected.
 
49
# Finding slaves for master: localhost:PORT2
 
50
 
 
51
# Replication Topology Graph
 
52
localhost:PORT2 (MASTER)
 
53
   |
 
54
   +--- localhost:PORT1 - (SLAVE)
 
55
   |
 
56
   +--- localhost:PORT3 - (SLAVE)
 
57
   |
 
58
   +--- localhost:PORT4 - (SLAVE)
 
59
 
 
60
Test case 4 - SSL mysqlrplcheck NEW Master after demote
 
61
# master on localhost: ... connected.
 
62
# slave on localhost: ... connected.
 
63
Test Description                                                     Status
 
64
---------------------------------------------------------------------------
 
65
Checking for binary logging on master                                [pass]
 
66
Are there binlog exceptions?                                         [pass]
 
67
Replication user exists?                                             [pass]
 
68
Checking server_id values                                            [pass]
 
69
Checking server_uuid values                                          [pass]
 
70
Is slave connected to master?                                        [pass]
 
71
Check master information file                                        [pass]
 
72
Checking InnoDB compatibility                                        [pass]
 
73
Checking storage engines compatibility                               [pass]
 
74
Checking lower_case_table_names settings                             [pass]
 
75
Checking slave delay (seconds behind master)                         [pass]
 
76
 
 
77
#
 
78
# Slave status: 
 
79
#
 
80
                Slave_IO_State : Waiting for master to send event
 
81
                   Master_Host : localhost
 
82
                   Master_User : rpluser
 
83
                   Master_Port : PORT2
 
84
                    Last_Errno : 0
 
85
                    Last_Error : 
 
86
            Master_SSL_Allowed : Yes
 
87
            Master_SSL_CA_File : XXXXX
 
88
            Master_SSL_CA_Path : 
 
89
               Master_SSL_Cert : XXXX
 
90
             Master_SSL_Cipher : 
 
91
                Master_SSL_Key : XXXX
 
92
                Master_SSL_Crl : XXXX
 
93
            Master_SSL_Crlpath : 
 
94
# ...done.
 
95
 
 
96
Test case 5 - SSL mysqlrplcheck NEW Master after demote
 
97
# master on localhost: ... connected.
 
98
# slave on localhost: ... connected.
 
99
Test Description                                                     Status
 
100
---------------------------------------------------------------------------
 
101
Checking for binary logging on master                                [pass]
 
102
Are there binlog exceptions?                                         [pass]
 
103
Replication user exists?                                             [pass]
 
104
Checking server_id values                                            [pass]
 
105
Checking server_uuid values                                          [pass]
 
106
Is slave connected to master?                                        [pass]
 
107
Check master information file                                        [pass]
 
108
Checking InnoDB compatibility                                        [pass]
 
109
Checking storage engines compatibility                               [pass]
 
110
Checking lower_case_table_names settings                             [pass]
 
111
Checking slave delay (seconds behind master)                         [pass]
 
112
 
 
113
#
 
114
# Slave status: 
 
115
#
 
116
                Slave_IO_State : Waiting for master to send event
 
117
                   Master_Host : localhost
 
118
                   Master_User : rpluser
 
119
                   Master_Port : PORT2
 
120
                    Last_Errno : 0
 
121
                    Last_Error : 
 
122
            Master_SSL_Allowed : Yes
 
123
            Master_SSL_CA_File : XXXXX
 
124
            Master_SSL_CA_Path : 
 
125
               Master_SSL_Cert : XXXX
 
126
             Master_SSL_Cipher : 
 
127
                Master_SSL_Key : XXXX
 
128
                Master_SSL_Crl : XXXX
 
129
            Master_SSL_Crlpath : 
 
130
# ...done.
 
131
 
 
132
Test case 6 - SSL mysqlrplcheck NEW Master after demote
 
133
# master on localhost: ... connected.
 
134
# slave on localhost: ... connected.
 
135
Test Description                                                     Status
 
136
---------------------------------------------------------------------------
 
137
Checking for binary logging on master                                [pass]
 
138
Are there binlog exceptions?                                         [pass]
 
139
Replication user exists?                                             [pass]
 
140
Checking server_id values                                            [pass]
 
141
Checking server_uuid values                                          [pass]
 
142
Is slave connected to master?                                        [pass]
 
143
Check master information file                                        [pass]
 
144
Checking InnoDB compatibility                                        [pass]
 
145
Checking storage engines compatibility                               [pass]
 
146
Checking lower_case_table_names settings                             [pass]
 
147
Checking slave delay (seconds behind master)                         [pass]
 
148
 
 
149
#
 
150
# Slave status: 
 
151
#
 
152
                Slave_IO_State : Waiting for master to send event
 
153
                   Master_Host : localhost
 
154
                   Master_User : rpluser
 
155
                   Master_Port : PORT2
 
156
                    Last_Errno : 0
 
157
                    Last_Error : 
 
158
            Master_SSL_Allowed : Yes
 
159
            Master_SSL_CA_File : XXXXX
 
160
            Master_SSL_CA_Path : 
 
161
               Master_SSL_Cert : XXXX
 
162
             Master_SSL_Cipher : 
 
163
                Master_SSL_Key : XXXX
 
164
                Master_SSL_Crl : XXXX
 
165
            Master_SSL_Crlpath : 
 
166
# ...done.
 
167
 
 
168
Test case 7 - SSL failover 
 
169
# Checking privileges.
 
170
# Performing failover.
 
171
# Candidate slave localhost:PORT3 will become the new master.
 
172
# Checking slaves status (before failover).
 
173
# Preparing candidate for failover.
 
174
# Creating replication user if it does not exist.
 
175
# Stopping slaves.
 
176
# Performing STOP on all slaves.
 
177
# Switching slaves to new master.
 
178
# Disconnecting new master as slave.
 
179
# Starting slaves.
 
180
# Performing START on all slaves.
 
181
# Checking slaves for errors.
 
182
# Failover complete.
 
183
#
 
184
# Replication Topology Health:
 
185
+------------+-------+---------+--------+------------+---------+
 
186
| host       | port  | role    | state  | gtid_mode  | health  |
 
187
+------------+-------+---------+--------+------------+---------+
 
188
| localhost  | PORT3  | MASTER  | UP     | ON         | OK      |
 
189
| localhost  | PORT1  | SLAVE   | UP     | ON         | OK      |
 
190
| localhost  | PORT4  | SLAVE   | UP     | ON         | OK      |
 
191
+------------+-------+---------+--------+------------+---------+
 
192
# ...done.
 
193
 
 
194
Test case 8 - SSL mysqlrplshow NEW Master after failover
 
195
# master on localhost: ... connected.
 
196
# Finding slaves for master: localhost:PORT3
 
197
 
 
198
# Replication Topology Graph
 
199
localhost:PORT3 (MASTER)
 
200
   |
 
201
   +--- localhost:PORT1 - (SLAVE)
 
202
   |
 
203
   +--- localhost:PORT4 - (SLAVE)
 
204
 
 
205
Test case 9 - SSL mysqlrplcheck NEW Master after demote
 
206
# master on localhost: ... connected.
 
207
# slave on localhost: ... connected.
 
208
Test Description                                                     Status
 
209
---------------------------------------------------------------------------
 
210
Checking for binary logging on master                                [pass]
 
211
Are there binlog exceptions?                                         [pass]
 
212
Replication user exists?                                             [pass]
 
213
Checking server_id values                                            [pass]
 
214
Checking server_uuid values                                          [pass]
 
215
Is slave connected to master?                                        [pass]
 
216
Check master information file                                        [pass]
 
217
Checking InnoDB compatibility                                        [pass]
 
218
Checking storage engines compatibility                               [pass]
 
219
Checking lower_case_table_names settings                             [pass]
 
220
Checking slave delay (seconds behind master)                         [pass]
 
221
 
 
222
#
 
223
# Slave status: 
 
224
#
 
225
                Slave_IO_State : Waiting for master to send event
 
226
                   Master_Host : localhost
 
227
                   Master_User : rpluser
 
228
                   Master_Port : PORT3
 
229
                    Last_Errno : 0
 
230
                    Last_Error : 
 
231
            Master_SSL_Allowed : Yes
 
232
            Master_SSL_CA_File : XXXXX
 
233
            Master_SSL_CA_Path : 
 
234
               Master_SSL_Cert : XXXX
 
235
             Master_SSL_Cipher : 
 
236
                Master_SSL_Key : XXXX
 
237
                Master_SSL_Crl : XXXX
 
238
            Master_SSL_Crlpath : 
 
239
# ...done.
 
240
 
 
241
Test case 10 - SSL mysqlrplcheck NEW Master after demote
 
242
# master on localhost: ... connected.
 
243
# slave on localhost: ... connected.
 
244
Test Description                                                     Status
 
245
---------------------------------------------------------------------------
 
246
Checking for binary logging on master                                [pass]
 
247
Are there binlog exceptions?                                         [pass]
 
248
Replication user exists?                                             [pass]
 
249
Checking server_id values                                            [pass]
 
250
Checking server_uuid values                                          [pass]
 
251
Is slave connected to master?                                        [pass]
 
252
Check master information file                                        [pass]
 
253
Checking InnoDB compatibility                                        [pass]
 
254
Checking storage engines compatibility                               [pass]
 
255
Checking lower_case_table_names settings                             [pass]
 
256
Checking slave delay (seconds behind master)                         [pass]
 
257
 
 
258
#
 
259
# Slave status: 
 
260
#
 
261
                Slave_IO_State : Waiting for master to send event
 
262
                   Master_Host : localhost
 
263
                   Master_User : rpluser
 
264
                   Master_Port : PORT3
 
265
                    Last_Errno : 0
 
266
                    Last_Error : 
 
267
            Master_SSL_Allowed : Yes
 
268
            Master_SSL_CA_File : XXXXX
 
269
            Master_SSL_CA_Path : 
 
270
               Master_SSL_Cert : XXXX
 
271
             Master_SSL_Cipher : 
 
272
                Master_SSL_Key : XXXX
 
273
                Master_SSL_Crl : XXXX
 
274
            Master_SSL_Crlpath : 
 
275
# ...done.
 
276