$ cd $LDMHOME
$ ldmadmin stop
$ rm runtime
$ ln -s $VERSIONDIR runtimewhere $VERSIONDIR is the version-dependent directory of the LDM.
$ ldmadmin mkqueue -fwhere the
-f option is for "fast" creation of the
product-queue and assumes that sufficient space exists on the
disk.
$ pqcheck -vindicates that it doesn't have a writer-counter, then create the counter and set it to zero with the following command:
$ pqcheck -F
$ ldmadmin start
$ ldmadmin watchHow 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
Where $VERSIONDIR is the version-dependent directory of the LDM.$ cd $LDMHOME && ldmadmin stop && rm -f runtime && \ ln -s $VERSIONDIR runtime && ldmadmin start && ldmadmin watch
If you encounter a problem, check the LDM logfile for relevant messages.