[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #WYX-802311]: difference between two files



Erik,

Glad to hear you figured it out.

> Disregard - I figured it out.  It's simply because the servers are intaking
> the data at slightly different times.  If you run the following commands,
> the files return the same:
> 
> Dos2unix <file1>
> Dos2unix <file2>
> Sort <file1>
> Sort <file2>
> Diff <file1> <file2>
> 
> address@hidden> wrote:
> 
> > Hello - I have 2 servers pulling in data and they are pretty much
> > identical exactly in configuration.  They both use each other as a source
> > in the LDMD.conf file to help with redundancy in the event of reboots, etc.
> >
> > I built a script that compared the contents of the data they are pulling
> > and I noticed the hashes of the files were different.  Using the diff
> > utility I was able to see that while the files are the same size, the
> > chunks of text data appear in different places in the files.
> >
> > I attached a screenshot example of what I'm seeing.
> >
> > Do you know of any reason why this may be happening?  Ideally, it would be
> > great if the file hashes could be the same.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: WYX-802311
Department: Support LDM
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.