7. How to run OpenSplice Enterprise

7.1. The OpenSplice Enterprise Environment

A release file is provided with the OpenSplice Enterprise installation which contains the environment variables that are required.

Create an OpenSplice Enterprise environment as follows.

First:

linux

Open a shell and source the release.com file from the OpenSplice Enterprise installation directory.

windows

Open a Windows Command prompt and run the release.bat file in the OpenSplice Enterprise installation directory.

windows

Alternatively, use the OpenSplice DDS Command Prompt that can be accessed from the Windows Start menu (this will implicitly run release.bat).
info
Note that the OpenSplice Enterprise Launcher tool also provides a Console option which sets up the OpenSplice Enterprise environment.

Next:

Set the OSPL_URI variable to refer to the OpenSplice Enterprise configuration that is required (see the section How to select the Architectural Mode).

7.2. Running Single Process and Shared Memory Modes

  • With an OSPL_URI variable referring to a Single Process deployment, you just need to start the DDS application process. The create_participant() operation, which is the entry into the DDS Domain, will create the entire DDS infrastructure within the application process and the services will be started as threads.
  • With an OSPL_URI variable referring to a Shared Memory deployment, it is necessary to start the DDS infrastructure before starting your DDS application processes. That is done by using the ospl utility tool:
ospl start
# now run the DDS application processes as normal
ospl stop