<?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: Cluster files check in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927132#M709853</link>
    <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Thanks for your advice.&lt;BR /&gt;&lt;BR /&gt;Can you give me the script?&lt;BR /&gt;</description>
    <pubDate>Fri, 14 Mar 2003 01:39:17 GMT</pubDate>
    <dc:creator>Sanjiv Sharma_1</dc:creator>
    <dc:date>2003-03-14T01:39:17Z</dc:date>
    <item>
      <title>Cluster files check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927130#M709851</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a two node(2*N4000/HP-UX 11.00/MCSG) cluster with total 6 packages running. 3 on each node.&lt;BR /&gt;&lt;BR /&gt;The 6 different packages belongs to 6 different owners and hence it has been seen that these owners makes some changes while working on one node based on their requirement and is not updated in the 2nd node.&lt;BR /&gt;&lt;BR /&gt;Now when one node fails and the package comes on the 2nd node it has been found that either the package will fail to start(say a new lvol has been added) or some of the application may not work(say entry has not been made in the /etc/services or cron.allow).&lt;BR /&gt;&lt;BR /&gt;My question is:&lt;BR /&gt;&lt;BR /&gt;Is there a script or a way through which I can check whether if any changes has been made in active node so that I can update the file/files in the standby node too respective to the package?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sanjiv.</description>
      <pubDate>Fri, 14 Mar 2003 01:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927130#M709851</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-03-14T01:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster files check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927131#M709852</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There are a couple of ways around this.  One way is to take the filesystem where they are making changes and put it into the package.  If that won't work, you could write a script to check for file changes and copy them to the failover node, or even just copy them on a daily basis.  &lt;BR /&gt;&lt;BR /&gt;We use a script that provides daily information about our systems and it does a 'diff' on certain files and output of commands [vgdisplay -v, swlist -l product, etc.] between the current date and the previous date.  If anything has changed it sends us an e-mail.  &lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2003 01:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927131#M709852</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-03-14T01:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster files check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927132#M709853</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Thanks for your advice.&lt;BR /&gt;&lt;BR /&gt;Can you give me the script?&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2003 01:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927132#M709853</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-03-14T01:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster files check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927133#M709854</link>
      <description>I'm at home now so I don't have easy access to the script.  I'll post some of it when I get to work in the morning.&lt;BR /&gt;&lt;BR /&gt;The gist of it is that you have a text file with the previous days file you are checking, so you rename that and get a current copy of the file.  Then, you do a 'diff' on the two files and send any output as e-mail to yourself.  It's even handy for a shop with several Unix admins who don't always communicate what they are working on between themselves.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2003 01:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927133#M709854</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-03-14T01:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster files check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927134#M709855</link>
      <description>Hi John,&lt;BR /&gt;Thanks again. I will be waiting for the script.</description>
      <pubDate>Fri, 14 Mar 2003 01:58:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927134#M709855</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-03-14T01:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster files check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927135#M709856</link>
      <description>Raje,&lt;BR /&gt;&lt;BR /&gt;I use rdist to keep these things in sync (it needs .rhosts files, but I'm guessing you have those anyway in a SG cluster)&lt;BR /&gt;&lt;BR /&gt;rdist is very easy to configure, simply create a configuration file on your master which details the hosts to distribute to, and the files to distribute in the format:&lt;BR /&gt;&lt;BR /&gt;HOSTS = ( node1 node2&lt;BR /&gt;          node3 ... nodeN )&lt;BR /&gt;&lt;BR /&gt;FILES = ( file1 file2&lt;BR /&gt;          File3 ... fileN )&lt;BR /&gt;&lt;BR /&gt;${FILES} -&amp;gt; ${HOSTS}&lt;BR /&gt;install -R ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;e.g. We have a three node cluster with nodes dilbert, dogbert and ratbert, we have nominated dilbert as our master. We have one package called oracle with three files that must be distributed (/etc/cmcluster/oracle/oracle.cntl, /etc/cmcluster/oracle/oramon.sh, and /etc/cmcluster/oracle/sqlnetmon.sh). Our rdistfile is installed as dilbert:/etc/cmcluster/rdist.cfg, and contains the following:&lt;BR /&gt;&lt;BR /&gt;HOSTS = ( dilbert dogbert ratbert )&lt;BR /&gt;&lt;BR /&gt;FILES = ( /etc/cmcluster/oracle/oracle.cntl&lt;BR /&gt;          /etc/cmcluster/oracle/oramon.sh&lt;BR /&gt;          /etc/cmcluster/oracle/sqlnetmon.sh&lt;BR /&gt;         )&lt;BR /&gt;&lt;BR /&gt;${FILES} -&amp;gt; ${HOSTS}&lt;BR /&gt;install -R ;&lt;BR /&gt;&lt;BR /&gt;Now whenever we make any change to our package files on dilbert, we can distribute these changes to the other servers using the command:&lt;BR /&gt;&lt;BR /&gt;rdist ???f /etc/cmcluster/rdist.cfg&lt;BR /&gt;&lt;BR /&gt;If I am controlling the cluster I just do this manually... if others are responsible for it I might consider popping the above command in roots crontab on my 'master' host.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Mar 2003 13:46:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927135#M709856</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2003-03-19T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster files check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927136#M709857</link>
      <description>Hi Duncan,&lt;BR /&gt;&lt;BR /&gt;rdist seems to be good.&lt;BR /&gt;&lt;BR /&gt;But I still prefer to have a script which can help me to find the difference of the important files between there two nodes?&lt;BR /&gt;&lt;BR /&gt;Can someone give me or help me to write this script?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2003 09:15:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927136#M709857</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-04-01T09:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster files check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927137#M709858</link>
      <description>well producing a 'remote diff' should be fairly straightforward...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;e.g. &lt;BR /&gt;&lt;BR /&gt;compare file /etc/cmcluster/pkg1/pkg1.cntl on two hosts to local file:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;file_to_diff=/etc/cmcluster/pkg1/pkg1.cntl&lt;BR /&gt;for node in node2 node3&lt;BR /&gt;do&lt;BR /&gt;echo "Differences on ${node}"&lt;BR /&gt;remsh ${node} "cat ${file_to_diff}" | diff ${file_to_diff} -&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Hope this helps some...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Tue, 01 Apr 2003 09:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927137#M709858</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2003-04-01T09:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster files check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927138#M709859</link>
      <description>Talk to your HP Account Rep - there is an excellent tool called - CCMON.&lt;BR /&gt;&lt;BR /&gt;Cluster Consistency Monitor&lt;BR /&gt;&lt;BR /&gt;It details changes in your environment and is entirely customizable...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 03 Apr 2003 20:01:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cluster-files-check/m-p/2927138#M709859</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-04-03T20:01:15Z</dc:date>
    </item>
  </channel>
</rss>

