<?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 Workflow to share/sync content of one WFA server with other WFA servers. in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-share-sync-content-of-one-WFA-server-with-other-WFA-servers/m-p/101362#M17949</link>
    <description>&lt;P&gt;WFA can&amp;nbsp;not only be used to automate tasks related to Storage controllers or servers &amp;nbsp;but just about any task that requires manual effort, even the WFA related tasks.&lt;/P&gt;&lt;P&gt;Here is an example of how to share the contents on one WFA with multiple WFA instances. This is a manual task of periodically getting the dar from the primary WFA server and importing the dar file on every WFA server. Can this be automated using a workflow trigger. Of course. Let’s see how&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workflow design is very simple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;A Master/Primary WFA (WFA_master) server exports all its contents in a dar file.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;WFA_master has the list of Secondary WFA Servers (WFA_sec)and their credentials.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Workflow executes and imports the content dar in all the secondary WFA servers.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching the workflow dar, Data Source Type script dar and A JSON data file which does this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On Primary WFA Server:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Prerequisites:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You need &lt;EM&gt;PowerShell 3.0 on the Primary WFA&lt;/EM&gt; server. The Command code and DataSource Type script uses Posh cmdlets which are only available from PoSH3.0 and above. WFA is fully supported on PoSH3.0. Windows Server 2012 by default has PoSH3.0, Windows Server 2008 can be upgraded. Windows server 2003 it will NOT work.&lt;/LI&gt;&lt;LI&gt;Minimum WFA version on all WFA servers should be WFA2.2&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Steps:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Import the attached DAR files into your primary WFA Server. It adds the follwoing to your WFA server:&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Copy the file &lt;EM&gt;wfa.json&lt;/EM&gt; at folder location C:\temp. This is your Data file having the details of the secondary WFA servers.&lt;/LI&gt;&lt;LI&gt;Now open file &lt;EM&gt;C:\temp\wfa.json&lt;/EM&gt; in some editor like Notepad++. It’s a JSON file with keys: hostname, ipv4address and https_port. Every entry in this JSON file is secondary WFA server Hostname, ipv4Address and Https port (default 443). Modify the entries according to your setup. It’s very simple.&lt;/LI&gt;&lt;LI&gt;Create a Data Source of type "WFA Data Source". Put any dummy values for IP, Hostname and ports etc. The Data acquisition script doesn't make use of any of those. The script gets its data from c:\temp\wfa.json file and puts them in WFA Database. This code is also an example of how to acquire data from a JSON file.&lt;/LI&gt;&lt;LI&gt;Add credentials of a WFA admin/architect user into your master WFA with the following:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Match: Exact&lt;/P&gt;&lt;P&gt;Type: Other&lt;/P&gt;&lt;P&gt;Name/IP: localhost&lt;/P&gt;&lt;P&gt;Username:&amp;lt;username of a WFA admin/architect role&amp;gt;.&lt;/P&gt;&lt;P&gt;Password:&amp;lt;user password&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Credentials_localhost.png" style="width: 294px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/2245iA6B3C6DDC318F4DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Credentials_localhost.png" alt="Credentials_localhost.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add credentials of all the secondary WFA servers into Master WFA server.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Match: Exact&lt;/P&gt;&lt;P&gt;Type: Other&lt;/P&gt;&lt;P&gt;Name/IP: &amp;lt;Secondary WFA Server IP&amp;gt;&lt;/P&gt;&lt;P&gt;Username:&amp;lt;username of a WFA admin/architect role&amp;gt;.&lt;/P&gt;&lt;P&gt;Password:&amp;lt;user password&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Credentials_secondary_WFA_server.png" style="width: 328px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/2246iC4CE59834A9D894A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Credentials_secondary_WFA_server.png" alt="Credentials_secondary_WFA_server.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All set!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workflow Execution:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Now execute the workflow "Workflow to Sync contents of Master WFA to All secondary WFA servers".&lt;/LI&gt;&lt;LI&gt;You can open to see the comamnd code and workflow details.&amp;nbsp;&lt;SPAN&gt;"Workflow to Sync contents of Master WFA to All secondary WFA servers". Modify it, play with it as you wish.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;WFA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:57:28 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2025-06-05T04:57:28Z</dc:date>
    <item>
      <title>Workflow to share/sync content of one WFA server with other WFA servers.</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-share-sync-content-of-one-WFA-server-with-other-WFA-servers/m-p/101362#M17949</link>
      <description>&lt;P&gt;WFA can&amp;nbsp;not only be used to automate tasks related to Storage controllers or servers &amp;nbsp;but just about any task that requires manual effort, even the WFA related tasks.&lt;/P&gt;&lt;P&gt;Here is an example of how to share the contents on one WFA with multiple WFA instances. This is a manual task of periodically getting the dar from the primary WFA server and importing the dar file on every WFA server. Can this be automated using a workflow trigger. Of course. Let’s see how&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workflow design is very simple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;A Master/Primary WFA (WFA_master) server exports all its contents in a dar file.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;WFA_master has the list of Secondary WFA Servers (WFA_sec)and their credentials.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Workflow executes and imports the content dar in all the secondary WFA servers.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching the workflow dar, Data Source Type script dar and A JSON data file which does this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On Primary WFA Server:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Prerequisites:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You need &lt;EM&gt;PowerShell 3.0 on the Primary WFA&lt;/EM&gt; server. The Command code and DataSource Type script uses Posh cmdlets which are only available from PoSH3.0 and above. WFA is fully supported on PoSH3.0. Windows Server 2012 by default has PoSH3.0, Windows Server 2008 can be upgraded. Windows server 2003 it will NOT work.&lt;/LI&gt;&lt;LI&gt;Minimum WFA version on all WFA servers should be WFA2.2&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Steps:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Import the attached DAR files into your primary WFA Server. It adds the follwoing to your WFA server:&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Copy the file &lt;EM&gt;wfa.json&lt;/EM&gt; at folder location C:\temp. This is your Data file having the details of the secondary WFA servers.&lt;/LI&gt;&lt;LI&gt;Now open file &lt;EM&gt;C:\temp\wfa.json&lt;/EM&gt; in some editor like Notepad++. It’s a JSON file with keys: hostname, ipv4address and https_port. Every entry in this JSON file is secondary WFA server Hostname, ipv4Address and Https port (default 443). Modify the entries according to your setup. It’s very simple.&lt;/LI&gt;&lt;LI&gt;Create a Data Source of type "WFA Data Source". Put any dummy values for IP, Hostname and ports etc. The Data acquisition script doesn't make use of any of those. The script gets its data from c:\temp\wfa.json file and puts them in WFA Database. This code is also an example of how to acquire data from a JSON file.&lt;/LI&gt;&lt;LI&gt;Add credentials of a WFA admin/architect user into your master WFA with the following:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Match: Exact&lt;/P&gt;&lt;P&gt;Type: Other&lt;/P&gt;&lt;P&gt;Name/IP: localhost&lt;/P&gt;&lt;P&gt;Username:&amp;lt;username of a WFA admin/architect role&amp;gt;.&lt;/P&gt;&lt;P&gt;Password:&amp;lt;user password&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Credentials_localhost.png" style="width: 294px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/2245iA6B3C6DDC318F4DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Credentials_localhost.png" alt="Credentials_localhost.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add credentials of all the secondary WFA servers into Master WFA server.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Match: Exact&lt;/P&gt;&lt;P&gt;Type: Other&lt;/P&gt;&lt;P&gt;Name/IP: &amp;lt;Secondary WFA Server IP&amp;gt;&lt;/P&gt;&lt;P&gt;Username:&amp;lt;username of a WFA admin/architect role&amp;gt;.&lt;/P&gt;&lt;P&gt;Password:&amp;lt;user password&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Credentials_secondary_WFA_server.png" style="width: 328px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/2246iC4CE59834A9D894A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Credentials_secondary_WFA_server.png" alt="Credentials_secondary_WFA_server.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All set!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workflow Execution:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Now execute the workflow "Workflow to Sync contents of Master WFA to All secondary WFA servers".&lt;/LI&gt;&lt;LI&gt;You can open to see the comamnd code and workflow details.&amp;nbsp;&lt;SPAN&gt;"Workflow to Sync contents of Master WFA to All secondary WFA servers". Modify it, play with it as you wish.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;WFA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:57:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-share-sync-content-of-one-WFA-server-with-other-WFA-servers/m-p/101362#M17949</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2025-06-05T04:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to share/sync content of one WFA server with other WFA servers.</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-share-sync-content-of-one-WFA-server-with-other-WFA-servers/m-p/101370#M17952</link>
      <description>&lt;P&gt;Awesome work Sinhaa !!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 15:33:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-share-sync-content-of-one-WFA-server-with-other-WFA-servers/m-p/101370#M17952</guid>
      <dc:creator>korns</dc:creator>
      <dc:date>2015-03-04T15:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow to share/sync content of one WFA server with other WFA servers.</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-share-sync-content-of-one-WFA-server-with-other-WFA-servers/m-p/101375#M17953</link>
      <description>&lt;P&gt;Nice work .... Will give it a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 16:37:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Workflow-to-share-sync-content-of-one-WFA-server-with-other-WFA-servers/m-p/101375#M17953</guid>
      <dc:creator>Adai</dc:creator>
      <dc:date>2015-03-04T16:37:45Z</dc:date>
    </item>
  </channel>
</rss>

