<?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: How-To working with external data sources MSSQL in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99307#M17520</link>
    <description>&lt;P&gt;sinhaa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot for your reply - it really was very helpful - it's working now and it seems i haven't created a cache query which caused the scheme to be empty - i assumed i can make direct sql queries when not enabling caching - but as i understood correctly now&amp;nbsp;i always have to cache external information first within wfa db.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;some experience i want to share with you:&lt;/P&gt;&lt;P&gt;1. i cannot create point 3 before point 4 as you suggested - by trying to save the cache query it tells me "datesource doesn't exist" - so i did "4" first and then created "3"&lt;/P&gt;&lt;P&gt;2. creating a scheme which has to many digits leads to an error during acquisition "specified key was too long; max key length is 3072 bytes" (even if i don't create a cache query first) - so although it let's me create the scheme with 10 letters (10lettters in my case- all smal letters, no numbers, no special characters) it seems there is a limitation when it tries to aquire data into that scheme - shortening the scheme name fixes this problem&lt;/P&gt;&lt;P&gt;3. as soon as the&amp;nbsp;scheme is created also a column "id" is created with AI and PK options in mysql db in background - the problem&amp;nbsp;comes up&amp;nbsp;within the cache select query&amp;nbsp;- i also had&amp;nbsp;to select&amp;nbsp;this id-column although it only should be used by wfa and not to be an imported&amp;nbsp;column - if i only select my columns i get "number of cacheable attributes doesn't match with the number of columns selected in the cache query"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i think 2. and 3. are bugs &lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://community.netapp.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;today i tried the same with 3.0RC1 (before it&amp;nbsp;had 2.2.1RC1) - same results - also i want to mention that upgrading was not possible what was quite frustrating - i backuped and restored the db, but if there where new workflows, commands etc. in 3.0&amp;nbsp;they're lost from my install now....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this helps to make WFA a better product - thanks for help&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2015 11:40:27 GMT</pubDate>
    <dc:creator>HONIG2012</dc:creator>
    <dc:date>2015-01-15T11:40:27Z</dc:date>
    <item>
      <title>How-To working with external data sources MSSQL</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99235#M17506</link>
      <description>&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i currently trying to get a costumer ms sql db&amp;nbsp;into WFA - i tried to find something like a guide or how steps but couldn't find anything appropriate.&lt;/P&gt;&lt;P&gt;so what are the steps to get this stuff work&lt;/P&gt;&lt;P&gt;what i've already done is:&lt;/P&gt;&lt;P&gt;- created a datasrouce type SQL (under Designer) with newly create scheme&lt;/P&gt;&lt;P&gt;- created datasource (under Execution) &amp;gt; Execution completes successfull&lt;/P&gt;&lt;P&gt;and now? what's next?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried to create a dictionary entry but i cannot see&amp;nbsp;whether its filled up or not - so how i can proceed??&lt;/P&gt;&lt;P&gt;is there any documentation on such tasks (i think they are very common).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks AJ&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:17:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99235#M17506</guid>
      <dc:creator>HONIG2012</dc:creator>
      <dc:date>2025-06-05T05:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: How-To working with external data sources MSSQL</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99246#M17508</link>
      <description>&lt;P&gt;AJ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Acquiring a Datasource in WFA needs some good amount of planning to be done as what all do you want to acquire from the external DB ( MS sql in your case ). This decision will be based on what all data you want to use for resource selection for your workflow executions. So &amp;nbsp;as you can see this needs some planning to get it to full strength.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So setps to start with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Create your dictionary &amp;nbsp;on a new scheme. This will create a New Database. Dictionary are like DB tables, rows in dictionaries will be the columns in that table. So decide what all columns you need to acquire from MS sql.&lt;/P&gt;&lt;P&gt;2. Create a Datasource Type, Method SQL, Driver: MS SQL Jdbc driver 3.0. You might also have to mention your SID/Database name as present in MS SQl server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Create Cache queries on your Data Source Type. They are SQL queries with select methods which will be executed against the MS SQL server and the result data will be obtained and filled in WFA DB into the dictionary your created. You need to create Cache queries for all your dictionay items which you want to acquire. by default all will be enables to be acquired.&lt;/P&gt;&lt;P&gt;4. &amp;nbsp;Create a New Data Source with the given DataSource Type as in step 2. Provide connection details like Host IP, port, credentials of your MS SQL. Run acquistion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. You are done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See some certified Datasource like OCUM6.0 ( Mysql server) etc. to see how it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@i tried to create a dictionary entry but i cannot see&amp;nbsp;whether its filled up or not - so how i can proceed??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WFA DB is mysql server. So you can connect to it using any mysql client like SQLYog, DB vizualizer, SQL workbench etc using credentials wfa/Wfa123. See WFA developer's guide/Instllation Guide for information on this. You can see the Data acquired in your DB by the acquistion.&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;sinhaa&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;&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>Wed, 14 Jan 2015 16:58:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99246#M17508</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-01-14T16:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: How-To working with external data sources MSSQL</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99307#M17520</link>
      <description>&lt;P&gt;sinhaa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot for your reply - it really was very helpful - it's working now and it seems i haven't created a cache query which caused the scheme to be empty - i assumed i can make direct sql queries when not enabling caching - but as i understood correctly now&amp;nbsp;i always have to cache external information first within wfa db.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;some experience i want to share with you:&lt;/P&gt;&lt;P&gt;1. i cannot create point 3 before point 4 as you suggested - by trying to save the cache query it tells me "datesource doesn't exist" - so i did "4" first and then created "3"&lt;/P&gt;&lt;P&gt;2. creating a scheme which has to many digits leads to an error during acquisition "specified key was too long; max key length is 3072 bytes" (even if i don't create a cache query first) - so although it let's me create the scheme with 10 letters (10lettters in my case- all smal letters, no numbers, no special characters) it seems there is a limitation when it tries to aquire data into that scheme - shortening the scheme name fixes this problem&lt;/P&gt;&lt;P&gt;3. as soon as the&amp;nbsp;scheme is created also a column "id" is created with AI and PK options in mysql db in background - the problem&amp;nbsp;comes up&amp;nbsp;within the cache select query&amp;nbsp;- i also had&amp;nbsp;to select&amp;nbsp;this id-column although it only should be used by wfa and not to be an imported&amp;nbsp;column - if i only select my columns i get "number of cacheable attributes doesn't match with the number of columns selected in the cache query"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i think 2. and 3. are bugs &lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://community.netapp.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;today i tried the same with 3.0RC1 (before it&amp;nbsp;had 2.2.1RC1) - same results - also i want to mention that upgrading was not possible what was quite frustrating - i backuped and restored the db, but if there where new workflows, commands etc. in 3.0&amp;nbsp;they're lost from my install now....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this helps to make WFA a better product - thanks for help&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:40:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99307#M17520</guid>
      <dc:creator>HONIG2012</dc:creator>
      <dc:date>2015-01-15T11:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: How-To working with external data sources MSSQL</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99318#M17521</link>
      <description>&lt;P&gt;AJ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Glad it worked for you. Some points to clarify:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@1. i cannot create point 3 before point 4 as you suggested - by trying to save the cache query it tells me "datesource doesn't exist" - so i did "4" first and then created "3"&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;You can &lt;STRONG&gt;&lt;EM&gt;Save&lt;/EM&gt;&lt;/STRONG&gt; but you can't &lt;EM&gt;Test&lt;/EM&gt;. Attempting to &lt;EM&gt;Test&lt;/EM&gt; gives this error. Testing needs connection info which is only available when a DataSource is created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@2. creating a scheme which has to many digits leads to an error during acquisition "specified key was too long; max key length is 3072 bytes" (even if i don't create a cache query first) - so although it let's me create the scheme with 10 letters (10lettters in my case- all smal letters, no numbers, no special characters) it seems there is a limitation when it tries to aquire data into that scheme - shortening the scheme name fixes this problem&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;I don't think WFA limits this, but its a MYsql limit for a DB ( scheme ) name. What scheme name were you trying to give.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@3. as soon as the&amp;nbsp;scheme is created also a column "id" is created with AI and PK options in mysql db in background - the problem&amp;nbsp;comes up&amp;nbsp;within the cache select query&amp;nbsp;- i also had&amp;nbsp;to select&amp;nbsp;this id-column although it only should be used by wfa and not to be an imported&amp;nbsp;column - if i only select my columns i get "number of cacheable attributes doesn't match with the number of columns selected in the cache query"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is expected behaviour. A DB entry will have an ID as a column and WFA acquistion is a DB entry creation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 16:43:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99318#M17521</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-01-15T16:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: How-To working with external data sources MSSQL</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99319#M17522</link>
      <description>&lt;P&gt;well also the save button tries to test the select state - i don't know why&amp;nbsp;but i also noticed this behavior in select queries for user inputs - the first dialog box may be quit with ok but the workflow at all may not be saved if the select query is invalid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mysql has created the scheme&amp;nbsp; - i saw it through workbench - i tried to reproduce&amp;nbsp;but where not able to do so - seems like this error is gone now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i understand that there's an automated id for wfa but why do i have to import this id by the cache query? - e.g. my mssql db haven't had such an entry - so i would like to import the data and the ID column should be autoincremented by the mysql&amp;nbsp;db&amp;nbsp;since i will not use these interal wfa id's - you know what i mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for assistance again.&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 17:12:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99319#M17522</guid>
      <dc:creator>HONIG2012</dc:creator>
      <dc:date>2015-01-15T17:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: How-To working with external data sources MSSQL</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99370#M17529</link>
      <description>&lt;P&gt;Hello AJ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@well also the save button tries to test the select state - i don't know why&amp;nbsp;but i also noticed this behavior in select queries for user inputs - the first dialog box may be quit with ok but the workflow at all may not be saved if the select query is invalid.&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;Queries written at Cache queries and those at User-Inputs are not the same behaviour wise. The former is meant to run on the external DB and hence need connnection info to &lt;EM&gt;Test&lt;/EM&gt; and hance do NOT run &lt;EM&gt;Testing&lt;/EM&gt; of query before save. You can type any blah at a cahe query and it will get saved. Only Test will fail if a DataSource is created which provides for running the query against the external DB and validating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But User-Input queries are always going to be executed on the local WFA mysql db and hence it makes sense to validate the query before saving.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@i understand that there's an automated id for wfa but why do i have to import this id by the cache query? - e.g. my mssql db haven't had such an entry - so i would like to import the data and the ID column should be autoincremented by the mysql&amp;nbsp;db&amp;nbsp;since i will not use these interal wfa id's - you know what i mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;There are reasons for it.&amp;nbsp;I will want to keep the ID in the external DB same in the WFA local DB due to referance to other tables. Auto-Increment in this case will cause a complete DB catastrophy if the IDs get changed. &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;&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>Fri, 16 Jan 2015 07:30:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-To-working-with-external-data-sources-MSSQL/m-p/99370#M17529</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-01-16T07:30:15Z</dc:date>
    </item>
  </channel>
</rss>

