[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #DCK-300573]: user-space ldm instance?
- Subject: [LDM #DCK-300573]: user-space ldm instance?
- Date: Thu, 22 May 2008 15:07:44 -0600
Gerry,
> I would like to bring up an instance of LDM on a teragrid system I've an
> account on, to specifically get 0.5 deg GFS via conduit. I've not
> convinced them to set up LDM for me as a service yet, but we're working
> on it. UNTIL then, is it possible to set ldm up in user space, with,
> say, syslog not implemented?
>
> Logic tells me this is little different than a normal ldm install. I
> may try it on another machine today or tomorrow but was wondering if
> this had been considered?
It's possible to run an LDM system that wasn't installed by "root" at
the appropriate point. The two main things that will work differently
are logging and relaying to downstream LDM-s.
Logging can be accomplished by 1) modifying the "ldmadmin" script so that
it always specifies "-l $log_file" when starting the LDM; and 2) modifying
the "newlog" script so that it copies rather than moves the current
log file to $log_file.1 and the last command that it executes is "cat
/dev/null >$log_file".
Because the LDM will not be able to obtain its reserved port (388), it
will listen for connections on an arbitrary, system-assigned port.
Consequently, all downstream LDM-s (including ldmping(1) and notifyme(1)
will have to be told to use that port (which will change from session
to session). "ldmadmin watch" will, however, work normally.
There are possibly some other things, but those are the ones that
immediately come to mind.
> Thanks, Gerry
> --
> Gerry Creager -- address@hidden
> Texas Mesonet -- AATLT, Texas A&M University
> Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983
> Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: DCK-300573
Department: Support LDM
Priority: Normal
Status: Closed