monitor, control, record and replay your dds system · copyright 2013, prismtech – all rights...

19
Monitor, Control, Record and Replay Your DDS System OpenSplice DDS Tools-Ecosystem - Overview & Demo J.H. van ‘t Hag OpenSplice Product Manager OMG DDS Co-Author PrismTech [email protected] Copyright PrismTech 2013 OMG DDS Information Day, April 20, Reston, USA

Upload: others

Post on 27-Sep-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Monitor, Control, Record and ReplayYour DDS System

OpenSplice DDS Tools-Ecosystem - Overview & Demo

J.H. van ‘t HagOpenSplice Product Manager

OMG DDS Co-AuthorPrismTech

[email protected] PrismTech 2013

OMG DDS Information Day, April 20, Reston, USA

Page 2: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

Abstract

☐ Integrating, Operating and Troubleshooting large-scaledistributed systems can be quite hard if you are notequipped with the right set of tools. OpenSplice DDSprovides an ecosystem of tools that allow (1) monitoringthe key resource and performance indicators of a DDS-based system, (2) controlling the behaviour of yourdistributed system by dynamically changing the key QoSparameters, and (3) controlling the record and replay ofany data flowing in your system. This presentation willhighlight and demonstrate how OpenSplice DDS toolingecosystem can greatly simplify the integration, operationand troubleshooting of distributed applications

Page 3: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

OpenSplice Tools

Page 4: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

OpenSplice Modeler

☐ Eclipse-based MDD tool

☐ Information Modeling☐ Importing IDL☐ Modeling topics (with type and QoS)☐ Annotating Topics with QoS

☐ Application Modeling☐ Graphical Modeling of DDS entities☐ C++ / Java code-generation

☐ Videos on OpenSpliceTube☐ http://www.youtube.com/user/OpenSpliceTube

Page 5: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

Total Control: OpenSplice Configurator

☐ The reference tool forconfiguring OpenSplice DDS

☐ Rich online guide toconfiguration options

☐ Context help and parametervalidation

☐ 100% Java

Page 6: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

OpenSplice Tester“Black-Box” DDS system testing

☐ Automated testing of DDS systems☐ Dynamic Discovery of DDS Entities

☐ Domain-specific scripting languages

☐ Batch execution of regression tests

☐ Debugging of distributed DDS systems☐ System browser of DDS participants

☐Connectivity & QoS conflict monitoring

☐ One-click definition of monitoring timeline

☐ Analysis/comparison of topic data

☐ Virtual topic-attributes to ease analysis

☐ Statistics monitoring

☐ 1-click spawning of Tuner to ‘attach’ to aremote process / federation

☐ Integrated IDE☐ Syntax highlighting editor

☐ One-click relations between script/logs/timeline

Page 7: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

☐ “Whitebox” debug/tuning Tool☐ Looking ‘inside’ a federation and/or

application

☐ Different perspectives(participant, topic, partition)

☐ Monitoring & Tuning☐ Inspect and Tune the app’s DDS entities

☐ Make snapshots of reader-caches

☐ Detect and resolve QoS Mismatch

☐ Inspect Statistics

☐ Reading & Writing☐ Read/Write data for arbitrary topics

☐ Import & Export☐ Inject Topic Definitions

☐ export and import XML-based reader/writer snapshots

OpenSplice Tuner

Page 8: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

RnRService

RnRService

OpenSplice DDS

RnRService(s)

RnRService(s)

Any topic Record/Replay command& status topics

RnRManager

RnRManager

OpenSplice RnR

Record/Replay command& status topics

☐ Dynamic recording of any topic-data in a DDS system

☐ Selective replay with variable speed

☐ Distributed control by topic-basedAPI (‘command’ & ‘status’ topics)

☐ Seamless integration withOpenSplice Tester (topic-based API)

☐ Dedicated RnR-Manager graphicalGUI for scenario-definition and dataimport/analysis

Page 9: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

Wireshark

☐ WireShark PacketDissector

☐ Watch what goes onthe wire

☐ Inspect DDSI-RTPS and/orRT-Networking packetsbeing exchangedbetween applications

☐ Native RTnetworkingdissector support available insource-distribution☐ OpenSpliceDDS\V6.3.0\HDE\x86.win32\tools\wireshark-plugins\ospl (see README)

Page 10: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

mmStat

mmstat -h

mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count] [URI]

mmstat [-t|T] [-i interval] [-s sample_count] [-l limit] [-f filter_expression][URI]

Mode:

-m Show memory statistics (default mode)

-M Show memory statistics difference

-t Show meta object references

-T Show meta object references difference

-h Show this help

-e Extended mode, shows bar for allocated memory

-a Show pre-allocated memory as well.

-i interval Display interval (in milliseconds)

-s sample_count Stop after sample_count samples

-l limit Show only object count >= limit

-f filter_expr Show only meta objects which name passes the filter expression

mmstat -h

mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count] [URI]

mmstat [-t|T] [-i interval] [-s sample_count] [-l limit] [-f filter_expression][URI]

Mode:

-m Show memory statistics (default mode)

-M Show memory statistics difference

-t Show meta object references

-T Show meta object references difference

-h Show this help

-e Extended mode, shows bar for allocated memory

-a Show pre-allocated memory as well.

-i interval Display interval (in milliseconds)

-s sample_count Stop after sample_count samples

-l limit Show only object count >= limit

-f filter_expr Show only meta objects which name passes the filter expression

Shared-MemoryStatistics viewer

Page 11: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Demo’s

Page 12: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

Tester: QoS conflict detection

Page 13: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

Tuner: QoS Tuning

Page 14: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

Tuner: Statistics Monitoring

Page 15: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

Tester: Data-Capture

Page 16: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

Tester: Scripted Record/Replay

Page 17: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

RnR-Manager: Graphical Recording & Replay

Page 18: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Visualization Options

Page 19: Monitor, Control, Record and Replay Your DDS System · Copyright 2013, PrismTech – All Rights Reserved. mmStat mmstat -h mmstat [-M|m] [-e] [-a] [-i interval] [-s sample_count]

Copy

right

201

3, P

rism

Tech

–Al

l Rig

hts R

eser

ved.

Tuner/Tester/Scada-’OsplVis’/Excel