Replaying trace file with multiple clients

Category: sql server distributed


deescott on Thu, 29 Mar 2018 16:17:12

Hello, I have distributed replay working with a single client/controller. When I try to replay with 2 clients, I receive an error:

PS C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn> DReplay replay -s SQL0001 -w SQL0001, SQL0002 -o -d "D:\Replay"
Error DReplay 'SQL0002':Unexpected argument. Enter '-?' for help.

All servers are 2016 sp1, o/s 2012 R2.  Again, replay with one client works fine.  My understanding was 2 or more clients should just be comma separated.  Both clients are registered with the controller, the D:\Replay directory exists on both servers.




Tom Phillips on Thu, 29 Mar 2018 16:44:26

When you separated parameters on the command line by space, you must enclose the parameters in double quotes

-w "SQL0001, SQL0002" 

deescott on Thu, 29 Mar 2018 18:04:14

God bless you!  I'm rolling!  There were no quotes in the MS doc.  Adding to mine!