Running Multiple LDM-s
It's possible to run multiple instances of an
LDM
system on a single computer.
This article explains how and leaves the "why" to the reader.
It is assumed that the reader is familiar with the installation and
configuration procedures for an
LDM
system.
For each
LDM
system that you want to execute, build and install an
LDM
package
with the following modifications:
- Choose a distinct user-account with its own name (e.g.,
ldm2
) and home directory (e.g., /local/ldm2
).
- When executing the configure(1) script, use the option
--enable-logging=localn
to set the logging facility.
- Decide on one of the following approaches for allowing connections
from downstream sites:
- Decide on a distinct IP address to use. This necessitates the use
of a distinct network interface, which could be a real one (implemented
in hardware) or a virtual one (implemented in software). When
configuring the LDM installation, set the
relevant "interface" parameter in the
LDM registry to the IP
address. Or
- Select a distinct port on which the LDM server will listen. Use
the --enable-port=port option of the configure(1)
script to configure the LDM to use that port. On the downstream hosts,
do one of the following:
- Use the optional :port field in REQUEST
entries to specify to which port to connect.
- Configure the downstream LDM to use the same port via
the same --enable-port=port option of the
configure(1) script. This approach is recursive: further
downstream sites will also need to be modified.