Download presentation
Presentation is loading. Please wait.
Published byMorris O’Connor’ Modified over 8 years ago
1
Distributed Replay Testing With Your Data, Your Way! SQLMelody@gmail.com http://sqlmelody.blogspot.ca/ @SQLMelody ca.linkedin.com/in/melodyzacharias
2
Melody Zacharias Business Intelligence Lead Chapter Leader / Regional Mentor for Canada SQLMelody@gmail.com http://sqlmelody.blogspot.ca/ @SQLMelody ca.linkedin.com/in/melodyzacharias
3
Agenda distributed replay? is it used for? do we set it up? 3
5
Why Bottle Neck 5
6
Why 6
7
Why - Limitations Step Run to Cursor Toggle Breakpoint 7
9
What Administration ToolReplay ControllerReplay Client(s)Target Server 9
10
What 10
11
What – Administration Tool 11
12
What - Controller 12
13
What - Clients 13
14
What – Target 14
16
How Configuration Collection Replay Results 16
17
Configuration 17
18
Configuration C:\Program Files (x86)\Microsoft SQL Server\110\Tools Controller configuration file DReplayController.config Client configuration file DReplayClient.config Preprocess configuration file Dreplay.exe.preprocess.config Replay configuration file Dreplay.exe.replay.config
19
Configuration - Preprocess 19
20
Configuration - Controller 20
21
Configuration - Controller 21
22
Configuration - Client 22
23
Configuration - Replay 23
24
Configuration - Replay Configuration Target instance Sequencing Stress scale granularity Connect timescale Think time scale Use connection pooling Health monitor interval Query time out Threads per client
25
Configuration 25
26
Configuration Restart the services on all the servers NET STOP “SQL Server Distribute Replay Controller” NET START “SQL Server Distribute Replay Controller” NET STOP “SQL Server Distributed Replay Client” NET START “SQL Server Distributed Replay Client” On each server that has the services installed 26
27
Configuration The Rest of the Story....... 27
28
Configuration Check for errors C:\Program Files (x86)\Microsoft SQL Server\110\Tools\DReplayClient\Log Failed to connect controller with error code 0x80070005 Error code 0x80070005 means “Access is denied” 28
29
Demo 1 DCOM
30
Configuration 30
31
Configuration 31
32
Configuration 32
33
Configuration 33
34
Configuration Restart the services on all the servers NET STOP “SQL Server Distribute Replay Controller” NET START “SQL Server Distribute Replay Controller” NET STOP “SQL Server Distributed Replay Client” NET START “SQL Server Distributed Replay Client” On each server that has the services installed 34
35
Configuration Check the Distributed Replay Client log file C:\Program Files (x86)\Microsoft SQL Server\110\Tools\DReplayClient\Log “Registered with controller ” “Failed to connect controller with error code 0x800706BA client may not connect to controller “ 35
36
Demo 2 Firewall
37
Configuration 37
38
Configuration 38
39
Configuration 39
40
Configuration 40
41
Configuration 41
42
Configuration 42
43
Configuration Restart the services on the server NET STOP “SQL Server Distributed Replay Client” NET START “SQL Server Distributed Replay Client” 43
44
Configuration Verify Log files 44
45
45
46
46 Collection
47
Demo 3 Collection
48
48
49
Trace Events 49
50
Collection 50
51
51 DReplay preprocess -i input_trace_file -d controller_working_dir [-m controller] [-c config_file] [-f status_interval] Collection
52
Replay 52
53
Replay DReplay replay -d controller_working_dir -w clients [-o] [-m controller] [-s target_server] [-c config_file] [-f status_interval] 53
54
Results 54
56
Uses and Results UsesResults Application load testing Physical vs Virtual computing Metrics for distributed computing TDE load System upgrades Hardware upgrades Index tuning Tables Graphs Analytics Metrics
57
Results – Read Latency
58
Pass Summit 2015 Come see this session at Summit for more Distributed Replay Get tips Solve common issues Receive scripts for monitoring Learn solutions to common tasks Take away scheduling solutions
60
60 Change in Domain
61
Controller configuration file DReplayController.config Changes location when you change domains Client configuration file DReplayClient.config Modify location in the configuration 61
62
Common issues Error DReplay The client ‘ClientServerName’ is not a registered distributed replay client. Make sure that the SQL Server Distributed Replay Client services is running on ‘ClientServerName’, and that the client is registered with the controller ‘localhost’. 62
63
Most Common issues 63
64
Resources Distributed Replay: msdn.microsoft.com/en-us/library/ff878359.aspx Requirements including events: msdn.microsoft.com/en-us/library/ff878239.aspx Parameters for Replay: msdn.microsoft.com/en-us/library/ff877942.aspx My Blog: SQLMelody.blogspot.ca My Email: SQLMelody@gmail.com 64
65
Planning on attending PASS Summit 2015? Start saving today! The world’s largest gathering of SQL Server & BI professionals Take your SQL Server skills to the next level by learning from the world’s top SQL Server experts, in over 190 technical sessions Over 5000 registrations from 52 countries Save $200 right now using discount code 24HOP15 $2,195 until September 20, 2015
66
Melody Zacharias Business Intelligence Lead Chapter Leader / Regional Mentor for Canada SQLMelody@gmail.com http://sqlmelody.blogspot.ca/ @SQLMelody ca.linkedin.com/in/melodyzacharias
67
Thank you to all of our Sponsors! Diamond Sponsors Platinum Sponsors Gold Sponsors Marquee Sponsors 9/19/2015SQLSaturday #441 – Denver 201567 |
68
Thank you to all of our Sponsors! Silver Sponsors SWAG Sponsors 9/19/2514SQLSaturday #441 – Denver 201568 |
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.