<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: File Syncronization in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074690#M439328</link>
    <description>As best as I can tell, I have answered your questions. You need to look at CFS or you need to look at NFS under ServiceGuard. With ServiceGuard, your current NFS server might fail but your NFS service is transferred automatically to another host --- along with the IP address associated with the NFS service.</description>
    <pubDate>Wed, 17 Oct 2007 10:07:57 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-10-17T10:07:57Z</dc:date>
    <item>
      <title>File Syncronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074686#M439324</link>
      <description>&lt;!--!*#--&gt;I have a need to syncronized file between multiple servers.  This seamed like a snap with rsync however, its limits prevent us from using it!&lt;BR /&gt;&lt;BR /&gt;I need a solution that will ensure that indivudal files I specify will remain IDENTICAL across multiple servers.  During my rsync testing, I could get files copied in both directions no problem...but they seemed to overwrite each other.&lt;BR /&gt;&lt;BR /&gt;Our servers will be load balanced from the network side so changes could potentailly be made on both servers at any given time!&lt;BR /&gt;&lt;BR /&gt;I only see two other solutions: NFS &amp;amp; SAN (maybe).&lt;BR /&gt;&lt;BR /&gt;I'm not thrilled about the prospect of NFS due to the fact that, based on what I know, it presents a single point of failure...the NFS server itself!&lt;BR /&gt;&lt;BR /&gt;The SAN solution seems like a viable option as we do have an EVA, however these particular servers were not slated to be attached and would require the purchase of additional hardware!  My knowledge of SANs is limited so I am not 100% sure that multiple servers could even use the same LUNs.&lt;BR /&gt;&lt;BR /&gt;Hence my posting here! ;)&lt;BR /&gt;&lt;BR /&gt;Your 2¢?&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:14:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074686#M439324</guid>
      <dc:creator>Alan Garner</dc:creator>
      <dc:date>2007-10-17T09:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: File Syncronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074687#M439325</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Either of your solutions will work but they take time and planning.&lt;BR /&gt;&lt;BR /&gt;rsync in an ssh tunnel can do the job.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;   rsync -avH --stats --delete -e ssh /var/mysql/ $othernode:/var/mysql/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This can be modified slightly to use only newer files and run both directions in a two node setup.&lt;BR /&gt;&lt;BR /&gt;Best long term to put the files on a SAN or NFS.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 17 Oct 2007 09:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074687#M439325</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-10-17T09:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: File Syncronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074688#M439326</link>
      <description>The problem with an approach using rsync or rdist or some kind of copy scheme is latency. By definition, there will be some times when the same files (at least with respect to filenames) are different in content. The only way to really avoid that is to have one and only one set of files so that there is nothing to copy. Simply going to a SAN isn't going to fix you because you now have the problem of multiple hosts accessing the same devices. You cannot normally allow multiple hosts to read-write mount the same filesystem. The fundamental problem is buffer-cache consistancy. HostA won't have a clue about HostB's buffer cache and chaos is guaranteed. There is something called the Cluster File System that appears to be a local vxfs filesystem to multiple hosts and will do just what you want. The least expensive option to do what you want is NFS --- and it will work quite well. Of course, any scheme will also take into account file locking so that two hosts don't alter the same file --- or you might implement locking down at the record level so that while multiple hosts can access the same file, they are not allowed to modify the same parts of the same file at the same time.&lt;BR /&gt;&lt;BR /&gt;While you are concerned that NFS is a single point of failure, those concerns can be addressed via ServiceGuard which also applies to CFS as well.</description>
      <pubDate>Wed, 17 Oct 2007 09:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074688#M439326</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-10-17T09:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: File Syncronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074689#M439327</link>
      <description>Again, rsync does not work for us.&lt;BR /&gt;&lt;BR /&gt;using the command:&lt;BR /&gt;node1# rsync -avH --stats --delete -e ssh node2:rsync.test .&lt;BR /&gt;&lt;BR /&gt;The contents of the file rsync.test from node2 do infact get copied over but it OVERWRITES the existing contents of rsync.test on node1.  This will not work for us!  Even using the --append or -u (update) optins did not peroduce the results we needed!&lt;BR /&gt;&lt;BR /&gt;AS for the NFS, do you not think that the NFS being a single point of failure would present a problem in the event of a failure!  The files that we need replicated are part of an enterprise application that is tied to ~90% of our business!&lt;BR /&gt;&lt;BR /&gt;With the SAN option...are there any problems with multiple servers accessing the same LUN.</description>
      <pubDate>Wed, 17 Oct 2007 09:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074689#M439327</guid>
      <dc:creator>Alan Garner</dc:creator>
      <dc:date>2007-10-17T09:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: File Syncronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074690#M439328</link>
      <description>As best as I can tell, I have answered your questions. You need to look at CFS or you need to look at NFS under ServiceGuard. With ServiceGuard, your current NFS server might fail but your NFS service is transferred automatically to another host --- along with the IP address associated with the NFS service.</description>
      <pubDate>Wed, 17 Oct 2007 10:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074690#M439328</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-10-17T10:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: File Syncronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074691#M439329</link>
      <description>Yes, you did answer the question.  I posted  in response to Mr Protter's reply and before I read your answer.  My appologies!&lt;BR /&gt;&lt;BR /&gt;Thank you for your expertise!  I am glad to see we will need to go the supported way as I was not looking forward to "patching" something together!&lt;BR /&gt;&lt;BR /&gt;I will assign points!</description>
      <pubDate>Wed, 17 Oct 2007 10:14:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-syncronization/m-p/5074691#M439329</guid>
      <dc:creator>Alan Garner</dc:creator>
      <dc:date>2007-10-17T10:14:58Z</dc:date>
    </item>
  </channel>
</rss>

