Chapter 87 Running RTI Persistence Service

This chapter describes how to start and stop Persistence Service.

You can run Persistence Service on any node in the network. It does not have to be run on the same node as the publishing or subscribing applications for which it is saving/delivering data. If you run it on a separate node, make sure that the other applications can find it during the discovery process—that is, it must be in one of the NDDS_DISCOVERY_PEERS lists.

Persistence Service can be run as an executable using the shipped executable located in <NDDSHOME>/bin.

Persistence Service is also available as a library (e.g, librtipersistenceservice.so in Linux), which allows embedding it within an application. See the API Reference HTML documentation for Persistence Service. For an example of how to use Persistence Service as a library, see https://github.com/rticommunity/rticonnextdds-examples/tree/master/examples/persistence_service/library_api.