<?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 two way file replication in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761287#M259463</link>
    <description>Hi admins..&lt;BR /&gt;&lt;BR /&gt;I have two HP-UX boxes(B.11.11 ). They are being used as application servers.&lt;BR /&gt;&lt;BR /&gt;Our applications write some files (images/jpegs) on the local servers (not database).. But users can login any application servers and can request the file! So I need to replicate new files between application servers..&lt;BR /&gt;&lt;BR /&gt;How can I do this.. ?&lt;BR /&gt;&lt;BR /&gt;AFAIK, rsnyc tool can replicate as master / slave mode.. So I can not do 2 way replication..&lt;BR /&gt;&lt;BR /&gt;If I use NFS and put all files to a single app server, then if that application server crashes I will lose my functionality (for disaster recovery) and files !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TIA..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 29 Mar 2006 06:56:55 GMT</pubDate>
    <dc:creator>selcuk_1</dc:creator>
    <dc:date>2006-03-29T06:56:55Z</dc:date>
    <item>
      <title>two way file replication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761287#M259463</link>
      <description>Hi admins..&lt;BR /&gt;&lt;BR /&gt;I have two HP-UX boxes(B.11.11 ). They are being used as application servers.&lt;BR /&gt;&lt;BR /&gt;Our applications write some files (images/jpegs) on the local servers (not database).. But users can login any application servers and can request the file! So I need to replicate new files between application servers..&lt;BR /&gt;&lt;BR /&gt;How can I do this.. ?&lt;BR /&gt;&lt;BR /&gt;AFAIK, rsnyc tool can replicate as master / slave mode.. So I can not do 2 way replication..&lt;BR /&gt;&lt;BR /&gt;If I use NFS and put all files to a single app server, then if that application server crashes I will lose my functionality (for disaster recovery) and files !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TIA..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 06:56:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761287#M259463</guid>
      <dc:creator>selcuk_1</dc:creator>
      <dc:date>2006-03-29T06:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: two way file replication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761288#M259464</link>
      <description>Hi,&lt;BR /&gt;nfs export local filesystem to serverB.&lt;BR /&gt;Sync to second disk on serverB.&lt;BR /&gt;If serverA dies, no problem&lt;BR /&gt;If serverB dies, you have the data on second disk.&lt;BR /&gt;&lt;BR /&gt;Alternate: use shared SAN /dual path array</description>
      <pubDate>Wed, 29 Mar 2006 07:33:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761288#M259464</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-29T07:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: two way file replication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761289#M259465</link>
      <description>sync is mot master/slave type tool. It basically keeps in a sync fiels at multiple locations. This would fit your bill.</description>
      <pubDate>Wed, 29 Mar 2006 07:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761289#M259465</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-03-29T07:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: two way file replication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761290#M259466</link>
      <description>I'm concerned with your approach in that it is quite possible to have different versions of the same file depending upon when the systems are sync'ed. My approach would be NFS but deployed as an MC/Service Guard package so that if the currently active node fails; NFS shifts over to the other node. That is going to be more robust than your current approach and not prone to data being out of sync.</description>
      <pubDate>Wed, 29 Mar 2006 10:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761290#M259466</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-29T10:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: two way file replication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761291#M259467</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; Here are two options, you can chose which ever suite to you.&lt;BR /&gt;&lt;BR /&gt;Option 1.&lt;BR /&gt;&lt;BR /&gt;Install rsync on both the systems. Run rsync from Server1 to Server2 with out -delete option. This will copy all the data from server1 to server2, but will not delete anything from server 2. Then&lt;BR /&gt;&lt;BR /&gt;run rsync from Server2 to Server1. This will again copy additional data from Server2 to Server1, remember you should not use -delete option.&lt;BR /&gt;&lt;BR /&gt;Option 2.&lt;BR /&gt;&lt;BR /&gt;Use NFS, Mount Server1 filesystem in Server2 and create files in single location. For high availability, you may need to go for MC/Service guard, or Array level sharing, etc.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;Shahul</description>
      <pubDate>Wed, 29 Mar 2006 10:21:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761291#M259467</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2006-03-29T10:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: two way file replication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761292#M259468</link>
      <description>I will use NFS.. Because it is possible to get different versions of the same file.. For example, 2 users can work on the same file before replication..So I will avoid this using NFS..&lt;BR /&gt;&lt;BR /&gt;I will save copy of files every night to other machines different directory..&lt;BR /&gt;&lt;BR /&gt;In case of a failure in machine which exports files, I will change the other machine's directory's name to NFS chare directory and continue to work..!&lt;BR /&gt;&lt;BR /&gt;Do you see any problem here ?&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Mar 2006 00:55:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761292#M259468</guid>
      <dc:creator>selcuk_1</dc:creator>
      <dc:date>2006-03-30T00:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: two way file replication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761293#M259469</link>
      <description>NAS can be a good deal too ! which off course uses NFS... You can use it among whatever number of servers.. and moreof if file changing location reamins one, and users on apps host not changing files, you can keep read only on application host.. &lt;BR /&gt;Consider at the same time NFS weaknesses.. &lt;BR /&gt;&lt;BR /&gt;Best luck &lt;BR /&gt;Prashant</description>
      <pubDate>Thu, 30 Mar 2006 11:15:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761293#M259469</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-03-30T11:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: two way file replication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761294#M259470</link>
      <description>Your NFS approach will work but far better would be NFS under MC/Service Guard. The idea is that the data are stored on an array (or disks) physically attached to multiple servers and should the active host fails, another host assumes the IP address of the NFS server. The clients do not connect to the host's IP address but rather the IP address associated with the NFS package. Often, a server could fail and the clients wouldn't even know that it had happened.</description>
      <pubDate>Thu, 30 Mar 2006 11:23:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761294#M259470</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-30T11:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: two way file replication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761295#M259471</link>
      <description>Can't do this under 11.11, &lt;BR /&gt;but in the future if/when you upgrade, &lt;BR /&gt;another possible approach would be&lt;BR /&gt;Serviceguard but with the Cluster&lt;BR /&gt;File System (CFS) instead of NFS. &lt;BR /&gt;&lt;BR /&gt;If two instances of your application&lt;BR /&gt;are able to read/write to the NFS mounted&lt;BR /&gt;directory then that implies it is&lt;BR /&gt;already doing all the proper locking&lt;BR /&gt;operations. &lt;BR /&gt;&lt;BR /&gt;You would likely be able to substitute CFS&lt;BR /&gt;here and still have HA and none&lt;BR /&gt;of the NFS management headaches. &lt;BR /&gt;Until then, NFS under Serviceguard is &lt;BR /&gt;just the ticket.</description>
      <pubDate>Fri, 31 Mar 2006 00:03:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-way-file-replication/m-p/3761295#M259471</guid>
      <dc:creator>PeterWolfe</dc:creator>
      <dc:date>2006-03-31T00:03:21Z</dc:date>
    </item>
  </channel>
</rss>

