<?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 symclone check function !!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/symclone-check-function/m-p/4345667#M683860</link>
    <description>Hi,&lt;BR /&gt;We have a script which syncs datas over different server.&lt;BR /&gt;&lt;BR /&gt;There is a part where in the function is to if the pairs are in copied state the same is shown below: &lt;BR /&gt;&lt;BR /&gt;/usr/symcli/bin/symclone -sid $LOCAL_SYM_SID -file /tmp/clone_pair verify -copied -i 60 -c 6&lt;BR /&gt;RC=$?&lt;BR /&gt;if [ $RC -ne 0 ]&lt;BR /&gt;then&lt;BR /&gt;echo "symclones are not in a copied state"&lt;BR /&gt;exit $RC&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;The problem is the above command runs for 60 secs for 6 times and comes out with the error message. Though infact the actual process of copying gets completed much after the specified time.&lt;BR /&gt;&lt;BR /&gt;How should I go about inputing  a better check mechanism ? &lt;BR /&gt;&lt;BR /&gt;Kindly assist with your inputs. Thanking you in advance</description>
    <pubDate>Tue, 27 Jan 2009 15:20:47 GMT</pubDate>
    <dc:creator>kpatel786</dc:creator>
    <dc:date>2009-01-27T15:20:47Z</dc:date>
    <item>
      <title>symclone check function !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symclone-check-function/m-p/4345667#M683860</link>
      <description>Hi,&lt;BR /&gt;We have a script which syncs datas over different server.&lt;BR /&gt;&lt;BR /&gt;There is a part where in the function is to if the pairs are in copied state the same is shown below: &lt;BR /&gt;&lt;BR /&gt;/usr/symcli/bin/symclone -sid $LOCAL_SYM_SID -file /tmp/clone_pair verify -copied -i 60 -c 6&lt;BR /&gt;RC=$?&lt;BR /&gt;if [ $RC -ne 0 ]&lt;BR /&gt;then&lt;BR /&gt;echo "symclones are not in a copied state"&lt;BR /&gt;exit $RC&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;The problem is the above command runs for 60 secs for 6 times and comes out with the error message. Though infact the actual process of copying gets completed much after the specified time.&lt;BR /&gt;&lt;BR /&gt;How should I go about inputing  a better check mechanism ? &lt;BR /&gt;&lt;BR /&gt;Kindly assist with your inputs. Thanking you in advance</description>
      <pubDate>Tue, 27 Jan 2009 15:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symclone-check-function/m-p/4345667#M683860</guid>
      <dc:creator>kpatel786</dc:creator>
      <dc:date>2009-01-27T15:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: symclone check function !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symclone-check-function/m-p/4345668#M683861</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;This sounds as if the return code isn't zero but some value signifying a warning or informational state (if as you say the "actual process of copying gets completed).&lt;BR /&gt;&lt;BR /&gt;I would guess that following the termination of this parent process, another process that gets spawned coes the actual copy.&lt;BR /&gt;&lt;BR /&gt;If that is the case, you might be able to write a simple script that queries the activity of either another process or the state of a file to be present or maybe not inuse.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 27 Jan 2009 15:39:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symclone-check-function/m-p/4345668#M683861</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-01-27T15:39:12Z</dc:date>
    </item>
  </channel>
</rss>

