RTI Connext DDS Core Libraries

Similar documents
RTI Connext DDS Core Libraries

RTI Data Distribution Service

RTI Data Distribution Service

RTI Spreadsheet Add-in

RTI Persistence Service Release Notes

RTI CORBA Compatibility Kit. Release Notes

RTI Queuing Service. Release Notes

RTI CORBA Compatibility Kit. Release Notes

RTI Persistence Service. Release Notes

RTI Persistence Service. Installation Guide

X Generic Event Extension. Peter Hutterer

RTI Queuing Service. Release Notes

RTI Connext DDS. Core Libraries XML-Based Application Creation Getting Started Guide Version 5.3.1

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Simba Cassandra ODBC Driver with SQL Connector

RTI Administration Console Release Notes

Feed Cache for Umbraco Version 2.0

RTI Database Integration Service Release Notes

RTI Analyzer. Release Notes

User Guide. Calibrated Software, Inc.

MCAFEE THREAT INTELLIGENCE EXCHANGE RESILIENT THREAT SERVICE INTEGRATION GUIDE V1.0

NTLM NTLM. Feature Description

Migration Tool. Migration Tool (Beta) Technical Note

git-pr Release dev2+ng5b0396a

RTI DDS Toolkit for LabVIEW. Release Notes

Packet Trace Guide. Packet Trace Guide. Technical Note

RTI Queuing Service. Getting Started Guide

Simba ODBC Driver with SQL Connector for Salesforce

ClassPad Manager Subscription

HTNG Web Services Product Specification. Version 2011A

Tenable Hardware Appliance Upgrade Guide

Enterprise Payment Solutions. Scanner Installation April EPS Scanner Installation: Quick Start for Remote Deposit Complete TM

TWO-FACTOR AUTHENTICATION Version 1.1.0

HTNG Web Services Product Specification. Version 2014A

Splunk. Splunk. Deployment Guide

Open Source Used In Cisco Configuration Professional for Catalyst 1.0

RTI Secure WAN Transport. Installation Guide Version 6.0.0

RTI Monitor. User s Manual

RTI Secure WAN Transport. Installation Guide

RSA Two Factor Authentication

VMware vcenter Log Insight Manager. Deployment Guide

RTI Connext. Core Libraries and Utilities. What s New in Version 4.5f

Configuring Real Servers for DSR

Moodle. Moodle. Deployment Guide

MEAS HTU21D PERIPHERAL MODULE

Adobe Connect. Adobe Connect. Deployment Guide

LoadMaster VMware Horizon (with View) 6. Deployment Guide

Additional License Authorizations for HPE OneView for Microsoft Azure Log Analytics

Epic. Epic Systems. Deployment Guide

RTI Connext. Core Libraries and Utilities. Getting Started Guide Addendum for Extensible Types

RTI Routing Service. Release Notes

KEMP Driver for Red Hat OpenStack. KEMP LBaaS Red Hat OpenStack Driver. Installation Guide

Sensor-fusion Demo Documentation

RTI Secure WAN Transport

iwrite technical manual iwrite authors and contributors Revision: 0.00 (Draft/WIP)

Installation and Configuration Guide Simba Technologies Inc.

Hyper-V - Windows 2012 and 8. Virtual LoadMaster for Microsoft Hyper-V on Windows Server 2012, 2012 R2 and Windows 8. Installation Guide

RTI Monitor User s Manual

mp3fm Documentation Release Akshit Agarwal

CA File Master Plus. Release Notes. Version

Edge Security Pack (ESP)

About One Identity Quick Connect for Base Systems 2.4.0

MEAS TEMPERATURE SYSTEM SENSOR (TSYS01) XPLAINED PRO BOARD

RTI Database Integration Service Release Notes

Spotter Documentation Version 0.5, Released 4/12/2010

SW MAPS TEMPLATE BUILDER. User s Manual

LoadMaster Clustering

PyCon APAC 2014 Documentation

sensor-documentation Documentation

agate-sql Documentation

Firebase PHP SDK. Release

Inptools Manual. Steffen Macke

PHP-FCM Documentation

Scanner Installation: Quick Start for Remote Deposit Complete

Avaya Software Keycode Installation Guide

deepatari Documentation

Guest Book. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

XEP-0099: IQ Query Action Protocol

Quickstart Guide for Windows Simba Technologies Inc.

LoadMaster for Azure (Marketplace Classic Interface)

Simba ODBC Driver with SQL Connector for MongoDB

NDIS Implementation Guide

NVIDIA Release 197 Tesla Driver for Windows

4.0. Resynchronizing Public Folders, Mailboxes, and Calendars

Folder Poll General User s Guide

SDN Adaptive Load Balancing. Feature Description

LANDISVIEW Beta v1.0-user Guide

XEP-0399: Client Key Support

Asthma Eliminator MicroMedic Competition Entry

XEP-0044: Full Namespace Support for XML Streams

Management Console for SharePoint

Security Explorer 9.1. User Guide

Setting up Quest QoreStor as an RDA Backup Target for NetVault Backup. Technical White Paper

RTI Message Service. Interoperability Guide

One Identity Starling Two-Factor Desktop Login 1.0. Administration Guide

Installing the Shrew Soft VPN Client

Colgate, WI

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Tailor Documentation. Release 0.1. Derek Stegelman, Garrett Pennington, and Jon Faustman

puppet-diamond Documentation

Transcription:

RTI Connext DDS Core Libraries Getting Started Guide Addendum for Database Setup Version 5.3.1

2018 Real-Time Innovations, Inc. All rights reserved. Printed in U.S.A. First printing. February 2018. Trademarks Real-Time Innovations, RTI, NDDS, RTI Data Distribution Service, DataBus, Connext, Micro DDS, the RTI logo, 1RTI and the phrase, Your Systems. Working as one, are registered trademarks, trademarks or service marks of Real-Time Innovations, Inc. All other trademarks belong to their respective owners. Copy and Use Restrictions No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form (including electronic, mechanical, photocopy, and facsimile) without the prior written permission of Real-Time Innovations, Inc. The software described in this document is furnished under and subject to the RTI software license agreement. The software may be used or copied only under the terms of the license agreement. Third-Party Copyright Notices Note: In this section, "the Software" refers to third-party software, portions of which are used in Connext DDS; "the Software" does not refer to Connext DDS. This product implements the DCPS layer of the Data Distribution Service (DDS) specification version 1.4 and the DDS Interoperability Wire Protocol specification version 2.2, both of which are owned by the Object Management, Inc. Copyright 2015 Object Management Group, Inc. The publication of these specifications can be found at the Catalog of OMG Data Distribution Service (DDS) Specifications. This documentation uses material from the OMG specification for the Data Distribution Service, section 2. Reprinted with permission. Object Management, Inc. OMG. 2013. Portions of this product were developed using ANTLR (www.antlr.org). This product includes software developed by the University of California, Berkeley and its contributors. Portions of this product were developed using AspectJ, which is distributed per the CPL license. AspectJ source code may be obtained from Eclipse. This product includes software developed by the University of California, Berkeley and its contributors. Portions of this product were developed using MD5 from Aladdin Enterprises. Portions of this product include software derived from Fnmatch, (c) 1989, 1993, 1994 The Regents of the University of California. All rights reserved. The Regents and contributors provide this software "as is" without warranty. Portions of this product were developed using EXPAT from Thai Open Source Software Center Ltd and Clark Cooper Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd and Clark Cooper Copyright (c) 2001, 2002 Expat maintainers. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Copyright 1994 2013 Lua.org, PUC-Rio. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Technical Support Real-Time Innovations, Inc. 232 E. Java Drive Sunnyvale, CA 94089 Phone: (408) 990-7444 Email: support@rti.com Website: https://support.rti.com/

Chapter 1 Database Setup In most cases, RTI Connext DDS does not use or require a database. However, if you want to use some of the durability features of Connext DDS, or to use RTI Database Integration Service, you need a relational database, such as MySQL. This section describes how to install and configure a database for use with Connext DDS. Durable Writer History This feature allows a DataWriter to locally persist its history cache so that it can survive shutdowns, crashes and restarts. When an application restarts, each DataWriter that has been configured to have durable writer history automatically loads all the data in its history cache from disk and can carry on sending data as if it had never stopped executing. To the rest of the system, it will appear as if the DataWriter was temporarily disconnected from the network and then reappeared. Durable Reader State This feature allows a DataReader to persists its state and remember which data it has already received. When an application restarts, each DataReader that has been configured to have durable reader state automatically loads its state from disk and can carry on receiving data as if it had never stopped executing. Data that was received by the DataReader before the restart will be suppressed, so it is not sent over the network. RTI Persistence Service Persistence Service provides reliable data availability. The service saves data from Connext DDS publishing applications in memory or permanent storage, so it can be delivered to subscribing applications that join the system at a later time-even if the publishing application has already terminated. Persistence Service implements the optional Persistence Profile, defined in the OMG's Data Distribution Service for Real-time Systems specification. In principle, you can use any database that provides an ODBC driver, since ODBC is a standard. However, not all ODBC databases support the same feature set. Therefore, there is no guarantee that the persistent durability features will work with an arbitrary ODBC driver. Note: At the time of this writing, MySQL is not yet supported on Red Hat Enterprise Linux 6 systems. 1

1.1 Creating a Data Source for MySQL on a Linux System RTI has tested Persistence Service, Durable Writer History, and Durable Reader State with MySQL 5.1.44 with MySQL ODBC 5.1.6. To use MySQL as the database, you need all of the following: MySQL 5.1.44 or higher The installation of MySQL is beyond the scope of this document. Please refer to the MySQL Reference Manual for the process to install and configure MySQL. MySQL ODBC 5.1.6 driver or higher The driver is not bundled with the MySQL server and must be installed separately. The ODBC connector can be downloaded from: http://dev.mysql.com/downloads/connector/odbc/5.1.html The installation guide can be found here: http://dev.mysql.com/doc/refman/5.1/en/connector-odbc-installation.html UnixODBC 2.2.12 or higher (for non-windows systems) The MySQL ODBC driver requires an ODBC driver manager. We recommend using UnixODBC, a complete, free and open ODBC solution for Linux systems. The driver manager can be downloaded from http://www.unixodbc.org. 1.1 Creating a Data Source for MySQL on a Linux System Connext DDS uses the MySQL ODBC driver to access data sources. The connection information for each data source is stored in an ODBC INI file. This can be a file called.odbc.ini in the user s home directory, or it can be configured using the environment variable ODBCINI. The stored information describes each data source in detail, specifying the driver name, a description, and any additional information the driver needs to connect to the data source. To create the ".odbc.ini" file with a DSN named "Example", follow these steps: 1. Create a new text file named ".odbc.ini" in your home directory. 2. Insert these lines in the file: [ODBC Data Source] Example=MySQL Driver [Example] DRIVER=/usr/lib/libmyodbc5.so Database=test 2

1.2 Creating a Data Source for MySQL on a Windows System Make sure that DRIVER points to the valid location of the MySQL ODBC driver on you system. 1.2 Creating a Data Source for MySQL on a Windows System Connext DDS uses the MySQL ODBC driver to access data sources. The connection information for each data source is stored in the Windows registry. The stored information describes each data source in detail, specifying the driver name, a description, and any additional information the driver needs to connect to the data source. To add a data source named "Example", follow these steps: 1. Open the ODBC Data Source Administrator: Choose Start, Control Panel, Performance and Maintenance, Administrative Tools, Data Sources (ODBC). 2. Select the System DSN tab. 3. Click Add; the Create New Data Source dialog appears. 4. Select the MySQL driver from the list of drivers. 5. Click Finish; the MySQL ODBC Driver Configuration dialog appears. 6. Fill out the fields in the dialog. Enter "Example" as the Data Source Name (DSN). Enter a valid username and password. Select a database (for example, "test"). All other fields can be left empty. Click OK. 3