<?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 syslog for serviceguard cluster in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-for-serviceguard-cluster/m-p/3211074#M168573</link>
    <description>I am setting up a serviceguard cluster of two nodes in an active-active configuration to replace two existing systems.&lt;BR /&gt;&lt;BR /&gt;The existing systems /etc/syslog.conf are setup like this (where HP2 is a central syslog host):&lt;BR /&gt;&lt;BR /&gt;HP1:&lt;BR /&gt;local0.info  @HP2&lt;BR /&gt;&lt;BR /&gt;HP2:&lt;BR /&gt;local0.info  /var/adm/syslog/local0.info&lt;BR /&gt;&lt;BR /&gt;(currently this local0.info data is forwarded via a shell script which does a 'tail -f /var/adm/syslog/local0.info | netcat &lt;PRINTSERVER&gt;' on HP2; where printserver only supports one TCP connection so only one box can send data to it)&lt;BR /&gt;&lt;BR /&gt;In the new cluster there will be a package for each, HP1 and HP2.  I would like to maintain a central syslog host and have this as a service in the HP2 package.  The problem is that I would like to keep the /etc/syslog.conf files identical on each node and make them look like this: "local0.info @HP2".  However when the cluster is running both package HP1 and HP2 on the same physical node (failed-over) the local0.info syslog messages will be forwarded to itself and then to itself and then to itself, again and again.&lt;BR /&gt;&lt;BR /&gt;I have thought about doing some /etc/syslog.conf file modifications as part of the package control scripts but would rather not edit system files on the fly like this.  Another option is to move the syslog host to a system out of the cluster but this is a function that we need to be highly available.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-ab&lt;/PRINTSERVER&gt;</description>
    <pubDate>Fri, 05 Mar 2004 16:21:51 GMT</pubDate>
    <dc:creator>Aaron Bush</dc:creator>
    <dc:date>2004-03-05T16:21:51Z</dc:date>
    <item>
      <title>syslog for serviceguard cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-for-serviceguard-cluster/m-p/3211074#M168573</link>
      <description>I am setting up a serviceguard cluster of two nodes in an active-active configuration to replace two existing systems.&lt;BR /&gt;&lt;BR /&gt;The existing systems /etc/syslog.conf are setup like this (where HP2 is a central syslog host):&lt;BR /&gt;&lt;BR /&gt;HP1:&lt;BR /&gt;local0.info  @HP2&lt;BR /&gt;&lt;BR /&gt;HP2:&lt;BR /&gt;local0.info  /var/adm/syslog/local0.info&lt;BR /&gt;&lt;BR /&gt;(currently this local0.info data is forwarded via a shell script which does a 'tail -f /var/adm/syslog/local0.info | netcat &lt;PRINTSERVER&gt;' on HP2; where printserver only supports one TCP connection so only one box can send data to it)&lt;BR /&gt;&lt;BR /&gt;In the new cluster there will be a package for each, HP1 and HP2.  I would like to maintain a central syslog host and have this as a service in the HP2 package.  The problem is that I would like to keep the /etc/syslog.conf files identical on each node and make them look like this: "local0.info @HP2".  However when the cluster is running both package HP1 and HP2 on the same physical node (failed-over) the local0.info syslog messages will be forwarded to itself and then to itself and then to itself, again and again.&lt;BR /&gt;&lt;BR /&gt;I have thought about doing some /etc/syslog.conf file modifications as part of the package control scripts but would rather not edit system files on the fly like this.  Another option is to move the syslog host to a system out of the cluster but this is a function that we need to be highly available.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-ab&lt;/PRINTSERVER&gt;</description>
      <pubDate>Fri, 05 Mar 2004 16:21:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-for-serviceguard-cluster/m-p/3211074#M168573</guid>
      <dc:creator>Aaron Bush</dc:creator>
      <dc:date>2004-03-05T16:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: syslog for serviceguard cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-for-serviceguard-cluster/m-p/3211075#M168574</link>
      <description>I think you are going to have to write some "checking" code in your server that "check" to see which node the other package is running on.&lt;BR /&gt;&lt;BR /&gt;test1 = `cmviewcl |grep packagename |awk '{print $5}'`&lt;BR /&gt;if test1=`uname -n`&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;service is....&lt;BR /&gt;&lt;BR /&gt;else&lt;BR /&gt;&lt;BR /&gt;service is....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Fri, 05 Mar 2004 16:47:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-for-serviceguard-cluster/m-p/3211075#M168574</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-03-05T16:47:30Z</dc:date>
    </item>
  </channel>
</rss>

