<?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 script to compare rc config on ha pair in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64429#M15182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anybody created a script to compare the nodes in an HA pair to make sure the rc files are in sync? I do most admin on the comandline and while being careful sometimes miss creating a vlan or something. We use a lot of vfilers and system manager is no help here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If nobody else has done it, I'll do it. Should do it in powershell. Need to break out of my perl shell...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2011 17:57:20 GMT</pubDate>
    <dc:creator>ccolht</dc:creator>
    <dc:date>2011-06-07T17:57:20Z</dc:date>
    <item>
      <title>script to compare rc config on ha pair</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64429#M15182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anybody created a script to compare the nodes in an HA pair to make sure the rc files are in sync? I do most admin on the comandline and while being careful sometimes miss creating a vlan or something. We use a lot of vfilers and system manager is no help here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If nobody else has done it, I'll do it. Should do it in powershell. Need to break out of my perl shell...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 17:57:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64429#M15182</guid>
      <dc:creator>ccolht</dc:creator>
      <dc:date>2011-06-07T17:57:20Z</dc:date>
    </item>
    <item>
      <title>script to compare rc config on ha pair</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64434#M15185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NetApp has provided such a script for many years in the Utility Tools section on NOW:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://now.netapp.com/eservice/toolchest?toolid=416" target="_blank"&gt;HA Configuration Checker (cf-config-check.cgi)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 22:57:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64434#M15185</guid>
      <dc:creator>shaunjurr</dc:creator>
      <dc:date>2011-06-07T22:57:05Z</dc:date>
    </item>
    <item>
      <title>script to compare rc config on ha pair</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64439#M15188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried that but it is not very complete for network configs. It doesn't check for ifgrp/vif or vlan configs. It just compares ifconfig &amp;lt;-&amp;gt; ifconfig and rc &amp;lt;-&amp;gt; rc but not ifconfig &amp;lt;-&amp;gt; rc. This would be useful on any filer. I'm running it on a 3240AE pair. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the warnings it gives for option mismatches are mostly incorrect but it doesn't flag any HA issues because of them. I'm running v8.0.1P4 which is not listed as a supported version in the file. Other than ifgrp, there isn't much difference from a network perspective. That is the part that changes most frequently for me. Lots of vlan and vfiler changes. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 18:24:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64439#M15188</guid>
      <dc:creator>ccolht</dc:creator>
      <dc:date>2011-06-14T18:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: script to compare rc config on ha pair</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64443#M15190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two options come to my mind:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Try the "Configuration Check" in Operations Manager (select one cluster node in Member Details and then click on it in the left pane)&lt;/P&gt;&lt;P&gt;2. Give it a try with the Ontap PowerShell Toolkit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not a scripter, so I cannot copy paste a solution in here. But it looks to me you could do almost anything with this PowerShell stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 05:26:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64443#M15190</guid>
      <dc:creator>peter_lehmann</dc:creator>
      <dc:date>2011-06-15T05:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: script to compare rc config on ha pair</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64447#M15191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I tried #1 but the results were worse than ha-configcheck:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;Error: There are 17 partner interfaces on filer1-1.mycompany.com specifying local interface vif0-106 () on filer1-2.mycompany.com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt; vif0-116 on anc-ewc-flr01-2.corp.acsalaska.com may not be taken over correctly because it has netmask 255.0.0.0, whereas partner interface vif0-116 on anc-ewc-flr01-1.corp.acsalaska.com has netmask 255.255.255.0.&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Interface vif0-106 on filer1-2.mycompany.com will not be taken over because it does not have a matching interface on partner node filer1-1.mycompany.com.&lt;/P&gt;&lt;P&gt;Error: Interface c0a on filer1-2.mycompany.com will not be taken over because it does not have a matching interface on partner node filer1-1.mycompany.com.&lt;/P&gt;&lt;P&gt;Error: Interface e0P on filer1-2.mycompany.com will not be taken over because it does not have a matching interface on partner node filer1-1.mycompany.com.&lt;/P&gt;&lt;P&gt;Error: Interface losk on filer1-1.mycompany.com will not be taken over because it does not have a matching interface on partner node filer1-2.mycompany.com.&lt;/P&gt;&lt;P&gt;Action: Reconfigure filer1-1.mycompany.com to specify only one partner interface for vif0-106 () on filer1-2.mycompany.com.&lt;/P&gt;&lt;P&gt;Action: Configure a network interface on filer1-1.mycompany.com to specify filer1-2.mycompany.com's vif0-106 interface as its partner.&lt;/P&gt;&lt;P&gt;Action: Configure a network interface on filer1-1.mycompany.com to specify filer1-2.mycompany.com's c0a interface as its partner.&lt;/P&gt;&lt;P&gt;Action: Configure a network interface on filer1-1.mycompany.com to specify filer1-2.mycompany.com's e0P interface as its partner.&lt;/P&gt;&lt;P&gt;Action: Configure a network interface on filer1-2.mycompany.com to specify filer1-1.mycompany.com's losk interface as its partner.&lt;/P&gt;&lt;P&gt;&amp;lt;/snip&amp;gt;&lt;/P&gt;&lt;P&gt;It reported that every interface was a partner for every other interface &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/4.5.5/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;.&amp;nbsp; It also said I should setup a partner for losk! That would be interesting. The error about the netmasks is not true but reported on every interface. The netmask is not given on the partner's head. I think it was using the deffault network for class A networks to compare. Very odd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's how my rc files are arranged:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# global config&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ifgrp creates&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vlan create &amp;lt;mgmt vlans&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ifconfig &amp;lt;mgmt interfaces&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;route add default&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#vfilers&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# custA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vlan create vifx vlanX vlanY vlanZ&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ifconfig vifx-X &amp;lt;args if primary&amp;gt; partner vifx-X&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# custB&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vlan create vifx vlanD vlanE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ifconfig vifx-E&amp;lt;args if primary&amp;gt; partner vifx-E&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vfiler run &amp;lt;custB&amp;gt; route add default x.x.x.x 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Perhaps the config checker is confused by this? I don't use the `hostname` trick. ha-config-check looks for that but doesn't require it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I'll write something. Probably start with ha-config-check since I know perl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 19:10:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64447#M15191</guid>
      <dc:creator>ccolht</dc:creator>
      <dc:date>2011-06-15T19:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: script to compare rc config on ha pair</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64452#M15193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to add the path to your ha-config-check.cgi to your path environment variable in Windows 7 and the&amp;nbsp; run the script using "ha-config-check.exe -s username@filerA username@filerB".&lt;/P&gt;&lt;P&gt; It worked for me! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 11:42:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/64452#M15193</guid>
      <dc:creator>OLANREWAJOU</dc:creator>
      <dc:date>2013-01-04T11:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: script to compare rc config on ha pair</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/123900#M26574</link>
      <description>&lt;P&gt;Hi, did you manage to produce a script that worked? If so could you possibly share it with me.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 13:42:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/123900#M26574</guid>
      <dc:creator>owemanu</dc:creator>
      <dc:date>2016-10-06T13:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: script to compare rc config on ha pair</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/144156#M31922</link>
      <description>&lt;P&gt;A working script here to use as a template would be key.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/45880"&gt;@owemanu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, did you manage to produce a script that worked? If so could you possibly share it with me.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 14:58:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/script-to-compare-rc-config-on-ha-pair/m-p/144156#M31922</guid>
      <dc:creator>Fooldall</dc:creator>
      <dc:date>2018-10-23T14:58:00Z</dc:date>
    </item>
  </channel>
</rss>

