<?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: data synchronization between two machines in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/data-synchronization-between-two-machines/m-p/3659932#M554409</link>
    <description>And you can use rdist - built in to HP-UX.  I use it to sync some info from one server to another for DR purposes:&lt;BR /&gt;&lt;BR /&gt;I use it like so:&lt;BR /&gt;&lt;BR /&gt;Cron:&lt;BR /&gt;# Copy prdadm across to the DR site.&lt;BR /&gt;05 01 * * * /app/admin/drp/update-binaries.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /app/admin/drp/update-binaries.sh&lt;BR /&gt;#! /bin/sh&lt;BR /&gt;&lt;BR /&gt;# Keep the DRP copy of the adm up-to-date.&lt;BR /&gt;# Currently the files are in:&lt;BR /&gt;#&lt;BR /&gt;# /home/prdadm/DR&lt;BR /&gt;#&lt;BR /&gt;# See the rdist(1M) distfile for a list of exclusions.&lt;BR /&gt;&lt;BR /&gt;DRPDIR=/app/admin/drp&lt;BR /&gt;DRPHOST=svr031&lt;BR /&gt;&lt;BR /&gt;HOST=`/usr/bin/uname -n`&lt;BR /&gt;PRD=`cmviewcl |grep prddbci |awk '{print $5}'`&lt;BR /&gt;if [ "$HOST" = "$PRD" ]&lt;BR /&gt;then&lt;BR /&gt;mount | grep /home &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;for vg in `ls -d /dev/vg5* |awk -F/ '{print $3}'`&lt;BR /&gt;do&lt;BR /&gt;/usr/sbin/vgexport -p -s -v -m /home/prddm/DR/$vg.map /dev/$vg&lt;BR /&gt;done&lt;BR /&gt;cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl /home/prdadm/DR/&lt;BR /&gt;cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.full /home/prdadm/DR/&lt;BR /&gt;cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.mountonly /home/prdadm/DR/&lt;BR /&gt;( su - prdadm -c "rdist -f $DRPDIR/distfile prdadm"; ) 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;tee $DRPDIR/drp.log 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;mailx -s "prdadm DRP rdist output" gwild@mydomain.com&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /app/admin/drp/distfile&lt;BR /&gt;PRDDR = ( svr031 )&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# File systems to be copied over to the DR host.&lt;BR /&gt;# Don't use -R in install - so as not to remove files on destination host&lt;BR /&gt;PRDADM = /home/prdadm&lt;BR /&gt;&lt;BR /&gt;prdadm: ( ${PRDADM} ) -&amp;gt; ( ${PRDDR} )&lt;BR /&gt;install -w ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 28 Oct 2005 08:25:31 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2005-10-28T08:25:31Z</dc:date>
    <item>
      <title>data synchronization between two machines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-synchronization-between-two-machines/m-p/3659929#M554406</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I've got two b2600 workstations, running HPUX 10. My question is quite simple:&lt;BR /&gt;how to synchronize data between them? let's say I have a shared folder on machine A. now, everything what's beeing written into it, should also be stored in a copy of this shared folder existing on machine B. &lt;BR /&gt;what I actually mean by the above, is some kind of data replication process.   &lt;BR /&gt;what can I do to realize my idea?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance,&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;matthew</description>
      <pubDate>Fri, 28 Oct 2005 05:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-synchronization-between-two-machines/m-p/3659929#M554406</guid>
      <dc:creator>Maciej Szewczykowski</dc:creator>
      <dc:date>2005-10-28T05:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: data synchronization between two machines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-synchronization-between-two-machines/m-p/3659930#M554407</link>
      <description>Hi Matthew,&lt;BR /&gt;&lt;BR /&gt;rsync is a toll that allows this&lt;BR /&gt;&lt;A href="http://samba.anu.edu.au/rsync/" target="_blank"&gt;http://samba.anu.edu.au/rsync/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Binaries are available through&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&amp;amp;term=/rsync" target="_blank"&gt;http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&amp;amp;term=/rsync&lt;/A&gt;</description>
      <pubDate>Fri, 28 Oct 2005 05:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-synchronization-between-two-machines/m-p/3659930#M554407</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2005-10-28T05:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: data synchronization between two machines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-synchronization-between-two-machines/m-p/3659931#M554408</link>
      <description>There is rsync tool that can do this.&lt;BR /&gt;Also NFS is there.</description>
      <pubDate>Fri, 28 Oct 2005 05:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-synchronization-between-two-machines/m-p/3659931#M554408</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-10-28T05:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: data synchronization between two machines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-synchronization-between-two-machines/m-p/3659932#M554409</link>
      <description>And you can use rdist - built in to HP-UX.  I use it to sync some info from one server to another for DR purposes:&lt;BR /&gt;&lt;BR /&gt;I use it like so:&lt;BR /&gt;&lt;BR /&gt;Cron:&lt;BR /&gt;# Copy prdadm across to the DR site.&lt;BR /&gt;05 01 * * * /app/admin/drp/update-binaries.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /app/admin/drp/update-binaries.sh&lt;BR /&gt;#! /bin/sh&lt;BR /&gt;&lt;BR /&gt;# Keep the DRP copy of the adm up-to-date.&lt;BR /&gt;# Currently the files are in:&lt;BR /&gt;#&lt;BR /&gt;# /home/prdadm/DR&lt;BR /&gt;#&lt;BR /&gt;# See the rdist(1M) distfile for a list of exclusions.&lt;BR /&gt;&lt;BR /&gt;DRPDIR=/app/admin/drp&lt;BR /&gt;DRPHOST=svr031&lt;BR /&gt;&lt;BR /&gt;HOST=`/usr/bin/uname -n`&lt;BR /&gt;PRD=`cmviewcl |grep prddbci |awk '{print $5}'`&lt;BR /&gt;if [ "$HOST" = "$PRD" ]&lt;BR /&gt;then&lt;BR /&gt;mount | grep /home &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;for vg in `ls -d /dev/vg5* |awk -F/ '{print $3}'`&lt;BR /&gt;do&lt;BR /&gt;/usr/sbin/vgexport -p -s -v -m /home/prddm/DR/$vg.map /dev/$vg&lt;BR /&gt;done&lt;BR /&gt;cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl /home/prdadm/DR/&lt;BR /&gt;cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.full /home/prdadm/DR/&lt;BR /&gt;cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.mountonly /home/prdadm/DR/&lt;BR /&gt;( su - prdadm -c "rdist -f $DRPDIR/distfile prdadm"; ) 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;tee $DRPDIR/drp.log 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;mailx -s "prdadm DRP rdist output" gwild@mydomain.com&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /app/admin/drp/distfile&lt;BR /&gt;PRDDR = ( svr031 )&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# File systems to be copied over to the DR host.&lt;BR /&gt;# Don't use -R in install - so as not to remove files on destination host&lt;BR /&gt;PRDADM = /home/prdadm&lt;BR /&gt;&lt;BR /&gt;prdadm: ( ${PRDADM} ) -&amp;gt; ( ${PRDDR} )&lt;BR /&gt;install -w ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Oct 2005 08:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-synchronization-between-two-machines/m-p/3659932#M554409</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-10-28T08:25:31Z</dc:date>
    </item>
  </channel>
</rss>

