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's imagination.

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:

  1. Choose a distinct user-account with its own name (e.g., "ldm2") and home directory (e.g., "/local/ldm2").
  2. Choose a distinct logging facility to use (e.g., "local2") and modify the "/etc/syslog.conf" file appropriately.
  3. When executing the configure(1) script, use the "--enable-logging=localn" option to specify which logging facility to use.
  4. 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 ldmadmin(1) configuration-file, etc/ldmadmin-pl.conf, use the $ip_addr variable to specify that IP address.