<?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 rdist usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588423#M230997</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am migrating data (5 filesystems) on a HPUX 11 server, the source and target areas are NFS mounted on the HP box, from different resources. &lt;BR /&gt;&lt;BR /&gt;I was planning to use rdist to do the initial copy and subsequent incrementals.&lt;BR /&gt;&lt;BR /&gt;I wanted to know if it is possible, just using a command, rather than creating a rdist config file. I have included below my planned script to initiate the copy. Please advise me if this is correct.&lt;BR /&gt;&lt;BR /&gt;rdist -hMRw &lt;SOURCE path1=""&gt; &lt;TARGET path1=""&gt;&lt;BR /&gt;rdist -hMRw &lt;SOURCE path2=""&gt; &lt;TARGET path2=""&gt;&lt;BR /&gt;rdist -hMRw &lt;SOURCE path3=""&gt; &lt;TARGET path3=""&gt;&lt;BR /&gt;etc&lt;BR /&gt;etc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/TARGET&gt;&lt;/SOURCE&gt;&lt;/TARGET&gt;&lt;/SOURCE&gt;&lt;/TARGET&gt;&lt;/SOURCE&gt;</description>
    <pubDate>Fri, 22 Jul 2005 04:55:50 GMT</pubDate>
    <dc:creator>RHA</dc:creator>
    <dc:date>2005-07-22T04:55:50Z</dc:date>
    <item>
      <title>rdist usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588423#M230997</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am migrating data (5 filesystems) on a HPUX 11 server, the source and target areas are NFS mounted on the HP box, from different resources. &lt;BR /&gt;&lt;BR /&gt;I was planning to use rdist to do the initial copy and subsequent incrementals.&lt;BR /&gt;&lt;BR /&gt;I wanted to know if it is possible, just using a command, rather than creating a rdist config file. I have included below my planned script to initiate the copy. Please advise me if this is correct.&lt;BR /&gt;&lt;BR /&gt;rdist -hMRw &lt;SOURCE path1=""&gt; &lt;TARGET path1=""&gt;&lt;BR /&gt;rdist -hMRw &lt;SOURCE path2=""&gt; &lt;TARGET path2=""&gt;&lt;BR /&gt;rdist -hMRw &lt;SOURCE path3=""&gt; &lt;TARGET path3=""&gt;&lt;BR /&gt;etc&lt;BR /&gt;etc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/TARGET&gt;&lt;/SOURCE&gt;&lt;/TARGET&gt;&lt;/SOURCE&gt;&lt;/TARGET&gt;&lt;/SOURCE&gt;</description>
      <pubDate>Fri, 22 Jul 2005 04:55:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588423#M230997</guid>
      <dc:creator>RHA</dc:creator>
      <dc:date>2005-07-22T04:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: rdist usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588424#M230998</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;have a look at this page:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-90010/rdist.1.html" target="_blank"&gt;http://docs.hp.com/en/B3921-90010/rdist.1.html&lt;/A&gt;&lt;BR /&gt;I think you can do it with the -c option.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Jul 2005 08:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588424#M230998</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2005-07-23T08:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: rdist usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588425#M230999</link>
      <description>RHA,&lt;BR /&gt;I do not see any problem since the source and target are both on the same server after the nfs mount.&lt;BR /&gt;&lt;BR /&gt;However since rdis is for remote distribution, I have always used a distfile and that makes life much easier&lt;BR /&gt; &lt;BR /&gt;If you follow the example in th man page you will easily be able to accomplish what you want.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;DP</description>
      <pubDate>Sat, 23 Jul 2005 11:49:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588425#M230999</guid>
      <dc:creator>Devesh Pant_1</dc:creator>
      <dc:date>2005-07-23T11:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: rdist usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588426#M231000</link>
      <description>I use(d) rdist for my home directory and apparently it definitely *needs* a config file.&lt;BR /&gt;&lt;BR /&gt;If You want a - in my experience - much better too for this job, look at rsync!&lt;BR /&gt;&lt;BR /&gt;(but even cd inpath ; find -depth | cpio -pdm /outpath/ should work better)</description>
      <pubDate>Sat, 23 Jul 2005 14:45:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588426#M231000</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-07-23T14:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: rdist usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588427#M231001</link>
      <description>You need a config..&lt;BR /&gt;&lt;BR /&gt;Here's mine for a SAP id on a MC/SG cluster:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;First, the cron entry:&lt;BR /&gt;&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;# cat /app/admin/drp/update-binaries.sh&lt;BR /&gt;#! /bin/sh&lt;BR /&gt;&lt;BR /&gt;# Keep the DRP copy of the vgpadm 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/prdadm/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" `cat /usr/local/mailadmin.list`&lt;BR /&gt;        fi&lt;BR /&gt;fi&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;</description>
      <pubDate>Mon, 25 Jul 2005 07:53:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdist-usage/m-p/3588427#M231001</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-07-25T07:53:17Z</dc:date>
    </item>
  </channel>
</rss>

