<?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: DB Connect, MSSQL Availability Group, Read Only Intent. in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/484659#M59617</link>
    <description>&lt;P&gt;It did. Funny thing is that I had tried in the JDBC URL ApplicationInten= ReadOnly before coming here to post this question and it did not work. Only in a group webex did someone notice the missing "t". &lt;/P&gt;

&lt;P&gt;If you convert your comment to an answer I'll gladly mark it accepted. &lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2019 22:19:24 GMT</pubDate>
    <dc:creator>JDukeSplunk</dc:creator>
    <dc:date>2019-11-13T22:19:24Z</dc:date>
    <item>
      <title>DB Connect, MSSQL Availability Group, Read Only Intent.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/484657#M59615</link>
      <description>&lt;P&gt;I am trying to connect 3.1.2 to a off-node in a 3 host MS-SQL Cluster. The reason for this is to take load off of the live cluster node. The DBA has assured me that the Availability group flag is set to allow read only connections to this node. I believe him because the error message changed from the last time I tried to connect. &lt;/P&gt;

&lt;P&gt;From this.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;The target database ('DatabaseName') is in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability group replica is not enabled for read access......&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;To this&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;The target database ('DatabaseName') is in an availability group and is currently accessible for connections when the application intent is set to read only. For more information about application intent, see SQL Server Books Online."&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;The DBA has asked that I simply insert -Kreadonly into the connection string. The closest thing I can see to do that in DBConnect is the little check box for "read only". This does not work.&lt;/P&gt;

&lt;P&gt;I have also tried editing the JDBC URL to include &lt;CODE&gt;;readonly=true&lt;/CODE&gt; with no success. &lt;/P&gt;

&lt;P&gt;Anyone run into this before?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 16:12:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/484657#M59615</guid>
      <dc:creator>JDukeSplunk</dc:creator>
      <dc:date>2019-11-13T16:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect, MSSQL Availability Group, Read Only Intent.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/484658#M59616</link>
      <description>&lt;P&gt;Can you please try with &lt;CODE&gt;ApplicationIntent= ReadOnly&lt;/CODE&gt;, I never played in this type of environment but it might work.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 20:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/484658#M59616</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-11-13T20:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect, MSSQL Availability Group, Read Only Intent.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/484659#M59617</link>
      <description>&lt;P&gt;It did. Funny thing is that I had tried in the JDBC URL ApplicationInten= ReadOnly before coming here to post this question and it did not work. Only in a group webex did someone notice the missing "t". &lt;/P&gt;

&lt;P&gt;If you convert your comment to an answer I'll gladly mark it accepted. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 22:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/484659#M59617</guid>
      <dc:creator>JDukeSplunk</dc:creator>
      <dc:date>2019-11-13T22:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect, MSSQL Availability Group, Read Only Intent.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/535370#M64597</link>
      <description>&lt;P&gt;Where do you specify the ApplicationIntent=Read Only option? I do not see optional connection parameters in the DBConnect Input GUI.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 16:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/535370#M64597</guid>
      <dc:creator>cdaly</dc:creator>
      <dc:date>2021-01-11T16:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect, MSSQL Availability Group, Read Only Intent.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/537288#M64700</link>
      <description>&lt;P&gt;In order to get this working, in the DBConnection definition, Edit JDBC URL needs to be checked and the additional connection string parameter gets added at the end of the string.&amp;nbsp; ApplicationIntent=ReadOnly&lt;/P&gt;&lt;P&gt;ex:&amp;nbsp; jdbc:sqlserver://YourServerName:1433;databaseName=YourDatabaseName;selectMethod=cursor;integratedSecurity=true;ApplicationIntent=ReadOnly&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 19:38:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-MSSQL-Availability-Group-Read-Only-Intent/m-p/537288#M64700</guid>
      <dc:creator>cdaly</dc:creator>
      <dc:date>2021-01-26T19:38:17Z</dc:date>
    </item>
  </channel>
</rss>

