ldmadmin configuration-file
(ldmadmin-pl.conf)["To vet" is to examine and possibly modify or correct.]
The perl(1)-script for
administering the
LDM should have been installed
as the file
$VDIR/bin/ldmadmin
The configuration-file
for this script should have been installed as the file
$LDMHOME/etc/
ldmadmin-pl.conf, if it didn't already exist.
What follows is
information on possible modifications to this configuration-file for your site.
If this is your first LDM installation, then you will probably need to manually configure several variables in the ldmadmin configuration-file. Versions 6.1 and earlier of the LDM package did not have this configuration-file. If you have a version 6.1 or earlier installation of the LDM package, then you can use that installation's ldmadmin script to help you determine appropriate values.
Vet the following variables in the
ldmadmin
configuration-file,
$LDMHOME/etc/
ldmadmin-pl.conf:
Variable Meaning hostname The fully-qualified name of the host computer on which the LDM will execute. This name must contain periods. If the command uname -ndoesn't return such a name, then set the value appropriately.pq_size The size, in bytes, of the data portion of the LDM's product-queue. This parameter is used when the product-queue is created. The size should equal the desired minimum residency-time for a data-product in the product-queue (e.g., 1 hour) times the maximum rate of data arrival. (e.g., 13.4 MB/h if only the IDS|DDPLUS data-feed is being received). For convenience, a "K", "M", or "G" suffix can be appended to the numeric specification to mean "kilo", "mega", and "giga", respectively. Thus the specifications "1G" "1000M", "1000000K", and "1000000000", are all equivalent, for example.
The value for this parameter can be fine-tuned by using the pqmon utility.
pq_slots The number of data-product slots for the LDM product-queue. This is the maximum number of data-products that the product-queue can contain (assuming that the data portion of the product-queue is sufficiently capacious). This parameter is used when the product-queue is created. The number of slots should equal the maximum number of data-products expected over the desired minimum residency-time (e.g., 16000 for one hour of IDS|DDPLUS data, if that is all that's being received). If this parameter is defaulted, then the number of slots will be computed using the size of the data portion of the product-queue and 4096 bytes as the mean data-product size (which is, undoubtably, incorrect). The value for this parameter can be fine-tuned by using the pqmon utility.
numlogs The maximum number of LDM logfiles to keep around.
Workshop-specific instructions.
You can check the configuration of the ldmadmin configuration-file by executing the following command:
$VDIR/bin/ldmadmin config