<?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: LB_MAC vs. LB_PORT APA balancing with Oracle RAC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lb-mac-vs-lb-port-apa-balancing-with-oracle-rac/m-p/4525711#M533809</link>
    <description>&amp;gt;&amp;gt;&amp;gt;&amp;gt; Also, shouldn't your hp_apaconf have a line similar to...&lt;BR /&gt;I don't think so: we are using LACP_AUTO.</description>
    <pubDate>Tue, 03 Nov 2009 11:26:16 GMT</pubDate>
    <dc:creator>Jose M. del Rio</dc:creator>
    <dc:date>2009-11-03T11:26:16Z</dc:date>
    <item>
      <title>LB_MAC vs. LB_PORT APA balancing with Oracle RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lb-mac-vs-lb-port-apa-balancing-with-oracle-rac/m-p/4525709#M533807</link>
      <description>Hi, &lt;BR /&gt;we have a 2-node Oracle RAC cluster.&lt;BR /&gt;Each node uses a 2-NIC APA aggregate as Oracle RAC heartbeat.&lt;BR /&gt;We have noticed that only one NIC in the aggregate is being used:&lt;BR /&gt;&lt;BR /&gt;node 1:&lt;BR /&gt;ensnada5:/root/JMR#lanadmin -g mibstats 2 | egrep -e 'Description|Outbound Oc&amp;gt;&lt;BR /&gt;Description                     = lan2 HP PCI 1000Base-T Release B.11.11.27&lt;BR /&gt;Outbound Octets                 = 22940&lt;BR /&gt;ensnada5:/root/JMR#lanadmin -g mibstats 4 | egrep -e 'Description|Outbound Oc&amp;gt;&lt;BR /&gt;Description                     = lan4 HP PCI 1000Base-T Release B.11.11.27&lt;BR /&gt;Outbound Octets                 = 3896665757&lt;BR /&gt;&lt;BR /&gt;node 2:&lt;BR /&gt;ensnada6:/#lanadmin -g mibstats 3 | egrep -e 'Description|Outbound Octets'&lt;BR /&gt;Description                     = lan3 HP PCI 1000Base-T Release B.11.11.27&lt;BR /&gt;Outbound Octets                 = 2966334394&lt;BR /&gt;ensnada6:/#lanadmin -g mibstats 4 | egrep -e 'Description|Outbound Octets'&lt;BR /&gt;Description                     = lan4 HP PCI 1000Base-T Release B.11.11.27&lt;BR /&gt;Outbound Octets                 = 19592&lt;BR /&gt;&lt;BR /&gt;The aggregates are configured with the default LB_MAC algorithm in /etc/rc.config.d/hp_apaconf:&lt;BR /&gt;HP_APA_INTERFACE_NAME[1]=lan901&lt;BR /&gt;HP_APA_LOAD_BALANCE_MODE[1]=LB_MAC&lt;BR /&gt;HP_APA_HOT_STANDBY[1]=off&lt;BR /&gt;HP_APA_GROUP_CAPABILITY[1]=4&lt;BR /&gt;HP_APA_KEY[1]=1&lt;BR /&gt;&lt;BR /&gt;According to the 'HP Auto Port Aggregation Administrator's Guide', LB_MAC uses the &lt;BR /&gt;"least significant byte of the link level destination MAC address" as the hash key to choose the port. Therefore, in a 2-node RAC cluster we suspect all the traffic to the other node's heartbeat MAC address is being sent over the same port.&lt;BR /&gt;We wonder if this is really the case and if the LB_PORT algorithm is the recommended option for a 2-node cluster, as we gather from the Guide.&lt;BR /&gt;&lt;BR /&gt;PS:&lt;BR /&gt;We have another 4-node RAC cluster, and the load is being distributed between the heartbeat ports.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2009 14:21:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lb-mac-vs-lb-port-apa-balancing-with-oracle-rac/m-p/4525709#M533807</guid>
      <dc:creator>Jose M. del Rio</dc:creator>
      <dc:date>2009-11-02T14:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: LB_MAC vs. LB_PORT APA balancing with Oracle RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lb-mac-vs-lb-port-apa-balancing-with-oracle-rac/m-p/4525710#M533808</link>
      <description>I'm not an APA "expert" so others will no doubt step in to assist, but the following commands may help you:&lt;BR /&gt;&lt;BR /&gt;#lanadmin -x -i 901&lt;BR /&gt;Link Aggregate PPA #             : 901&lt;BR /&gt;Link Aggregation Mode            : MANUAL&lt;BR /&gt;Load Balance Mode                : MAC Address based (LB_MAC)&lt;BR /&gt;Active Ports PPA #               : 0 2 &lt;BR /&gt;Port(s) not ready                : NONE&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;#lanadmin -s -m 901&lt;BR /&gt;MTU Size                        = 1500&lt;BR /&gt;Speed                           = 2000000000&lt;BR /&gt;&lt;BR /&gt;the first shows both ports (0 and 2 in my case) are active, none are not ready.&lt;BR /&gt;The second shows the expected speed of 2 Gb/s. If only one port was active, it would be half. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also, shouldn't your hp_apaconf have a line similar to the following?:&lt;BR /&gt;HP_APA_MANUAL_LA[1]="1,2"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2009 15:19:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lb-mac-vs-lb-port-apa-balancing-with-oracle-rac/m-p/4525710#M533808</guid>
      <dc:creator>DogBytes</dc:creator>
      <dc:date>2009-11-02T15:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: LB_MAC vs. LB_PORT APA balancing with Oracle RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lb-mac-vs-lb-port-apa-balancing-with-oracle-rac/m-p/4525711#M533809</link>
      <description>&amp;gt;&amp;gt;&amp;gt;&amp;gt; Also, shouldn't your hp_apaconf have a line similar to...&lt;BR /&gt;I don't think so: we are using LACP_AUTO.</description>
      <pubDate>Tue, 03 Nov 2009 11:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lb-mac-vs-lb-port-apa-balancing-with-oracle-rac/m-p/4525711#M533809</guid>
      <dc:creator>Jose M. del Rio</dc:creator>
      <dc:date>2009-11-03T11:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: LB_MAC vs. LB_PORT APA balancing with Oracle RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lb-mac-vs-lb-port-apa-balancing-with-oracle-rac/m-p/4525712#M533810</link>
      <description>If all the outbound traffic from the aggregate is to the same destination (distinguished according to the LB algorythm), then it will all be sent on the same physical interface. &lt;BR /&gt;&lt;BR /&gt;Since the destination aggregate is only using one shared mac address, there is only one "data flow" to use. &lt;BR /&gt;&lt;BR /&gt;Will using LB_PORT result in more than one "data flow" to balance across multiple links ? Maybe, but only if the packets sent to the destination use more than one destination TCP or UDP port number. &lt;BR /&gt;&lt;BR /&gt;On one system, run "netstat -in |grep X.X.X.X", where X.X.X.X is the other system's HB IP address. Under the foreign address column you will see X.X.X.X.Y . If there are different Y values, then the load can be balanced using LB_PORT. If only one, then it can't be. &lt;BR /&gt;&lt;BR /&gt;Why do you see load balancing on your 4 node cluster ? Because you have 3 remote mac addresses to send HB to, not one. &lt;BR /&gt;&lt;BR /&gt;Is this a real concern? Probably not, unless the outbound send rate aproaches one Gbit/sec at times.  If it does, and there is only one data flow the only solution is to go to a higher speed device, perhaps 10Gbit Lan. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Nov 2009 12:31:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lb-mac-vs-lb-port-apa-balancing-with-oracle-rac/m-p/4525712#M533810</guid>
      <dc:creator>Jim Keeble</dc:creator>
      <dc:date>2009-11-03T12:31:25Z</dc:date>
    </item>
  </channel>
</rss>

