About McIDAS         McIDAS-V         OpenADDE        
   Advanced
   

Procedure #1: Installing the LDM Software

The following procedure is a version of the Unidata LDM installation instructions that has been tailored for use with the NOAAPORT Receive System. In the interest of simplicity and ease of support we strongly recommend that you not deviate from the procedure below. The DVB reader software will not build correctly if the LDM file structure is not correct. Note: The ~ldm/data and ~ldm/logs directories should not be part of any automated backups due to the volatility of the data that they will contain.

  1. On your NOAAPORT ingest computer create an account called ldm (make the home directory /usr/local/ldm). Note: The DVB reader software as well as the LDM will run under this account.

  2. Login as user ldm.

  3. Download ldm-6.8.1.tar.gz to the ~ldm directory.

  4. Build and install the LDM software.
    1. Unpack the LDM files. Type:
      gunzip -c ldm-6.8.1.tar.gz | tar xvf -
    2. Create symbolic links to the ldm directories. Type:
      ln -s ldm-6.8.1 runtime
      ln -s runtime/* .
    3. Build and install the LDM software. Check the log file after each step for errors before moving on to the next step. Type:
      cd ldm-6.8.1/src
      ./configure > configure.log 2>&1
      make > make.log 2>&1
      make install > install.log 2>&1
  5. Create directories for the LDM product queue and log files. Type:
    mkdir ~ldm/data
    mkdir ~ldm/logs
  6. Modify the PATH environment variable.
    1. Open the appropriate profile file for your shell (e.g., .profile or .bash_profile).
    2. Add the lines listed below.
      PATH=$PATH;$HOME/bin
      export PATH
    3. Save and close the file.

  7. Modify the ldmadmin script's configuration file. Note: This procedure has changed from previous versions of the LDM. It used to be necessary to modifiy the ldmadmin script each time an upgrade was performed; this is no longer the case. Now the ldmadmin-pl.conf file will contain these modifications and will not be overwritten during upgrades.
    1. Open the file ~ldm/etc/ldmadmin-pl.conf for editing.
    2. Uncomment (remove the leading #) the following line and replace your.hostname.here with the fully qualified domain name of the local computer.
      $hostname = "your.hostname.here";
    3. Find the line $pq_size="400M"; and change the size of the product queue from 400M to 4G.
    4. Save and close the file.

  8. Create the LDM product queue (this will take a few moments). Type:
  9. ldmadmin mkqueue
  10. Set internal communications.
    1. Logon as root
    2. Change to the ~ldm/ldm-6.8.1/src directory
    3. Type the command listed below.
      make install_setuids
  11. Make the necessary system configuration modifications.
    1. You should still be logged on as root.
    2. Modify /etc/syslog.conf as instructed below.
      1. Open /etc/syslog.conf for editing.
      2. Add the lines listed below.
        local0.debug   /usr/local/ldm/logs/ldmd.log
        local3.debug   /data/tmp/dvbs.log
        local4.debug   /data/tmp/nwstg.log
        local5.debug   /data/tmp/goes.log
      3. Add local0.none to any lines that begin with *.err;kern.notice or *.err;kern.debug. For example:
        *.err;kern.notice;auth.notice;user.none;local0.none   /dev/console
        *.err;kern.debug;daemon.notice;mail.crit;local0.none   /var/adm/messages
      4. Save and close the file.
    3. Modify /etc/rpc as instructed below.
      1. Open /etc/rpc for editing.
      2. Add the following line (all whitespace must be tabs).
        ldm  300029   ldmd
      3. Save and close the file.
    4. Modify /etc/services as instructed below.
      1. Open /etc/services for editing.
      2. Add the line listed below.
        ldm  388/tcp  ldm   #UCAR Unidata LDM
      3. Save and close the file.

[Next Procedure] [Back to Main Page]
McIDAS Home