* SUMMARY: Good way to compare file time between hosts ?
@ 2000-01-11 16:58 Sweatt, Wayne
0 siblings, 0 replies; only message in thread
From: Sweatt, Wayne @ 2000-01-11 16:58 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01BF5C55.0B07CF60", Size: 6300 bytes --]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01BF5C55.0B07CF60
Content-Type: text/plain
There were two utilities that could be used.
rdist - Comes with the DU/Tru64 release.
Used with the -y option will not copy over a newer file.
rsync - Open source from samba.org.
Would do the job as well. Ideal for mirroring.
After reading the readily available man page for rdist, it
seems that it will work fine. It's also simpler to set up (apparently).
It has an option (-n) to use to for debugging (everything runs but
the actual copy.
Once again the greatest technical mail-list comes through !
Thanks to the following for their responses:
Grant Ward
Paul Sand
Phil Thomas
Garry Optland
Richard Jackson
Joel Votaw
-----Original Message-----
Dear Friends,
I would like to keep certain files on my two member
TruCluster DU 4.0D systems mirrors of each other.
I'm talking about things like:
/etc/routes, /etc/hosts, and
Oracle's config files, etc.
I have a script to copy a list these desired files over
to the other but thought I would get slick and
check the time on the files and then copy the newer one
over the older one.
Nothing's fool proof, but I thought this check would help.
I don't want to use NFS for obvious cluster-wise reasons.
I'm trying to avoid copying over the file to do the "find -newer" or
GNU find version.
Is there a fancy version of rcp out there that does this
newer-to-older
function?
Thanks,
***********************
Wayne Sweatt
Principal Software Analyst
Litton / PRC
505.827.9288
***********************
------_=_NextPart_001_01BF5C55.0B07CF60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>SUMMARY: Good way to compare file time between hosts ?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">There were two utilities that could be =
used.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rdist - Comes with the DU/Tru64 =
release. </FONT>
<BR> <FONT SIZE=3D2 =
FACE=3D"Arial">Used with the -y option will not copy over a newer =
file.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rsync - Open source from =
samba.org.</FONT>
<BR> <FONT SIZE=3D2 =
FACE=3D"Arial">Would do the job as well. Ideal for mirroring.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">After reading the readily available =
man page for rdist, it</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">seems that it will work fine. It's =
also simpler to set up (apparently).</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">It has an option (-n) to use to for =
debugging (everything runs but</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">the actual copy.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Once again the greatest technical =
mail-list comes through !</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Thanks to the following for their =
responses:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Grant Ward</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Paul Sand</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Phil Thomas</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Garry Optland</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Richard Jackson</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Joel Votaw</FONT>
</P>
<BR>
<UL>
<P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
Message-----</FONT></A>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Dear Friends,</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">I would like to keep certain files =
on my two member</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">TruCluster DU 4.0D systems mirrors =
of each other.</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">I'm talking about things =
like:</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">/etc/routes, /etc/hosts, =
and</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">Oracle's config files, =
etc.</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">I have a script to copy a list =
these desired files over</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">to the other but thought I would =
get slick and</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">check the time on the files and =
then copy the newer one</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">over the older one.</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">Nothing's fool proof, but I =
thought this check would help.</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">=A0</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">I don't want to use NFS for =
obvious cluster-wise reasons.</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">I'm trying to avoid copying over =
the file to do the "find -newer" or</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">GNU find version.</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">Is there a fancy version of rcp =
out there that does this newer-to-older</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Arial">function?</FONT><FONT =
FACE=3D"Arial"> </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">***********************</FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Comic Sans MS">Wayne Sweatt</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Comic Sans MS">Principal Software Analyst<=
/FONT><FONT FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Comic Sans MS">Litton / PRC</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 FACE=3D"Comic Sans MS">505.827.9288</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">***********************</FONT><FONT FACE=3D"Arial"> =
</FONT>
<BR>
</P>
</UL>
</BODY>
</HTML>
------_=_NextPart_001_01BF5C55.0B07CF60--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-01-11 16:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-11 16:58 SUMMARY: Good way to compare file time between hosts ? Sweatt, Wayne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox