<?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 Checking MCSG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-mcsg/m-p/3087478#M708468</link>
    <description>Hi all&lt;BR /&gt;I am new to MCSG and i need a help from you. I am writing a shell script and need to check whether MC Serviceguard is installed or not. Based on that i need to run some task.&lt;BR /&gt;anyone help me how can i check whether MCSG is installed and working in this machine. &lt;BR /&gt;I know i can check the installation with swlist | grep -i serviceguard but i need to know whether it is part of a running cluster.&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay</description>
    <pubDate>Tue, 07 Oct 2003 17:24:47 GMT</pubDate>
    <dc:creator>Vijaya Kumar_3</dc:creator>
    <dc:date>2003-10-07T17:24:47Z</dc:date>
    <item>
      <title>Checking MCSG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-mcsg/m-p/3087478#M708468</link>
      <description>Hi all&lt;BR /&gt;I am new to MCSG and i need a help from you. I am writing a shell script and need to check whether MC Serviceguard is installed or not. Based on that i need to run some task.&lt;BR /&gt;anyone help me how can i check whether MCSG is installed and working in this machine. &lt;BR /&gt;I know i can check the installation with swlist | grep -i serviceguard but i need to know whether it is part of a running cluster.&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay</description>
      <pubDate>Tue, 07 Oct 2003 17:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-mcsg/m-p/3087478#M708468</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-10-07T17:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Checking MCSG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-mcsg/m-p/3087479#M708469</link>
      <description>If you need to check for a running cluster node then grep'ing the cmviewcl output could be a way to go. You could also check if the cluster damon 'cmcld' is present.&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.</description>
      <pubDate>Tue, 07 Oct 2003 17:37:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-mcsg/m-p/3087479#M708469</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-10-07T17:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Checking MCSG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-mcsg/m-p/3087480#M708470</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  # swlist ServiceGuard&lt;BR /&gt;&lt;BR /&gt;  will tell u if it has been installed or not&lt;BR /&gt;&lt;BR /&gt;  # ps -ef | grep /usr/lbin/cmcld | grep -v grep | grep -q cmcld&lt;BR /&gt;  # if [[ $? -ne 0 ]]&lt;BR /&gt;  then&lt;BR /&gt;     echo "cluster not running"&lt;BR /&gt;  else&lt;BR /&gt;     echo "running"&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Sundar.&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Oct 2003 17:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-mcsg/m-p/3087480#M708470</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-10-07T17:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Checking MCSG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-mcsg/m-p/3087481#M708471</link>
      <description>a.)  Regarding "...check whether MC Serviceguard is installed or not..."&lt;BR /&gt; &lt;BR /&gt;# swlist -l fileset -a state | grep -i serviceguard&lt;BR /&gt; &lt;BR /&gt;b) Regarding "..and working in this machine..."&lt;BR /&gt; &lt;BR /&gt;This will be a combo of things depending on what you want, for many SA's don't allow the SG cluster to start at boot up.  If you do then:&lt;BR /&gt; &lt;BR /&gt;- grep "AUTOSTART_CMCLD=1" /etc/rc.config.d/cmcluster&lt;BR /&gt; &lt;BR /&gt;- Check syslog.log for 'vmunix' and 'cmcld' messages.&lt;BR /&gt; &lt;BR /&gt;- ServiceGuard Manager, a free openview  download from:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8325BA" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8325BA&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;- or do as others have suggested and parse the output of 'cmviewcl -v'.&lt;BR /&gt; &lt;BR /&gt;# cmclview -v &amp;gt; /tmp/file&lt;BR /&gt;# grep -i -e enabled -e primary /tmp/file (* etc. *)</description>
      <pubDate>Tue, 07 Oct 2003 20:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-mcsg/m-p/3087481#M708471</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-10-07T20:27:48Z</dc:date>
    </item>
  </channel>
</rss>

