Activating the LDM Installation

  1. Become the LDM user in their home directory.
  2. If an LDM is running, then stop it:
  3.         ldmadmin stop
          
  4. If the runtime symbolic link exists, then remove it:
  5.         rm runtime
          
  6. Create theruntime symbolic link to the just-installed LDM:
  7.         ln -s ldm-6.15.0 runtime
          
  8. Ensure that a valid product-queue exists by doing one of the following:
    1. If the product-queue doesn't exist and the command df -k var indicates that sufficient space exists for it, then create the product-queue with the following command where the -f option requests "fast" creation:
                  ldmadmin mkqueue -f
              
      (If you don't have sufficient space for the product-queue, then you'll have to free-up some space or configure a smaller queue.)
    2. If the product-queue exists, then execute the command pqcheck -v and do one of the following:
      1. If the product-queue is invalid, then recreate it with the following commands:
      2.             ldmadmin delqueue
                    ldmadmin mkqueue -f
                  
      3. If the product-queue doesn't have a writer-counter, then create the counter and set it to zero with the following command:
      4.             pqcheck -F
                  
  9. Start the LDM:
  10.         ldmadmin start
          
  11. Verify that the LDM is working:
  12.         ldmadmin watch
          
    How quickly this verifies your LDM depends on the rate at which data-products are inserted into the product-queue.

If the LDM system is already running, then you can minimize the time that the LDM is off-line by combining some of the above steps. For example:

      cd $HOME && ldmadmin stop && rm -f runtime && \
      ln -s ldm-6.15.0 runtime && ldmadmin start && ldmadmin watch
    

If you encounter a problem, check the LDM logfile for relevant messages.