Re: [thredds] tdm and passwords

Hi Roy,

The TDM needs to be able to write to a directory to store gbx and ncx
files. By default, these index files are written along-side the data, but
the location is controllable by the GribIndex element in threddsConfig.xml:

https://www.unidata.ucar.edu/software/thredds/current/tds/reference/ThreddsConfigXMLFile.html#GribIndexWriting

Each grib file will have a gbx file and an ncx file associated with it. The
gbx file is essentially the GRIB records, minus the data. The ncx file
contains the serialized coordinate system objects associated with the
records in the grib file. The overall collection also has an ncx file,
which contains the serialized coordinate systems of the overall collection
of data in all of the grib files for the collection. This three tier system
allows for quick, scalable access and aggregation of grib files.

Cheers,

Sean

PS: the kids are having fun, food was cooking (now digesting), and
beverages were had...perfect recipe for a discussion about GRIB :-)

On Thu, Nov 23, 2017 at 5:32 PM Roy Mendelssohn - NOAA Federal <
roy.mendelssohn@xxxxxxxx> wrote:

> Good thank you.  And part of the is it needs to be be able to write to the
> directory where the other files are being created  (what is .gbx and .nx
> are some such) which by default are the data directories?
>
> -Roy
>
> PS - It is well known I am old and boring,  what are you doing working
> Thanksgiving?
>
>
> > On Nov 23, 2017, at 3:53 PM, Sean Arms <sarms@xxxxxxxx> wrote:
> >
> > Hi Roy,
> >
> > No worries - again, docs need to be improved :-)
> >
> > The tdm jar will prompt you for a password if you do not specify the
> cred flag (however, it might assume a user called tdm - on my phone at the
> moment, so not completely sure). The password used in the cred flag will be
> the one in the tomcat-users.xml file. The system user running the TDM
> process does not need a home directory or password, as long as it has the
> appropriate read and write permissions.
> >
> > Cheers,
> >
> > Sean
> >
> > On Thu, Nov 23, 2017 at 4:45 PM Roy Mendelssohn - NOAA Federal <
> roy.mendelssohn@xxxxxxxx> wrote:
> >
> > > On Nov 23, 2017, at 3:39 PM, Sean Arms <sarms@xxxxxxxx> wrote:
> > >
> > > In order for the TDM to talk to the TDS (that is, tell the TDS that
> new files are available to serve and that the client catalogs need to be
> refreshed), a Tomcat user needs to be configured such that it has the role
> tdsTrigger intomcat-users.xml. In the docs, we call that tomcat user tdm,
> but it can be whatever you like (I think), and again, is not tied to the
> system user running the tdm process.  The user and password configured in
> tomcat-users.xml is the user and password given to the TDM via the cred
> flag, which is passed to the tdm jar.
> > >
> >  So I leave out the cred flag in the script to launch the TDM,  it will
> ask me for a password,  and the password I give it is the one in the
> tomcat-users.xml?  Is that correct?  And therefore the TDM user can be a
> user with no home directory and no login password,  Am I understanding this?
> >
> > Sorry to be dense,  but I would rather make certain I understand it.
> >
> > Thanks,
> >
> > -Roy
> >
> > **********************
> > "The contents of this message do not reflect any position of the U.S.
> Government or NOAA."
> > **********************
> > Roy Mendelssohn
> > Supervisory Operations Research Analyst
> > NOAA/NMFS
> > Environmental Research Division
> > Southwest Fisheries Science Center
> > ***Note new street address***
> > 110 McAllister Way
> > Santa Cruz, CA 95060
> > Phone: (831)-420-3666
> > Fax: (831) 420-3980
> > e-mail: Roy.Mendelssohn@xxxxxxxx www: http://www.pfeg.noaa.gov/
> >
> > "Old age and treachery will overcome youth and skill."
> > "From those who have been given much, much will be expected"
> > "the arc of the moral universe is long, but it bends toward justice"
> -MLK Jr.
> >
>
> **********************
> "The contents of this message do not reflect any position of the U.S.
> Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> ***Note new street address***
> 110 McAllister Way
> Santa Cruz, CA 95060
> Phone: (831)-420-3666
> Fax: (831) 420-3980
> e-mail: Roy.Mendelssohn@xxxxxxxx www: http://www.pfeg.noaa.gov/
>
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected"
> "the arc of the moral universe is long, but it bends toward justice" -MLK
> Jr.
>
>
  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: