<?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 unable to add a secondary database node in tdboutput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373699#M136391</link>
    <description>&lt;P&gt;I am using vertica 3 node distributed High availability database to connect using jdbc  &amp;amp; load data from talend jobs.  By default, the vertica driver that talend use supports failover that in case the primary node of vertica is down, it switches to next node given in the connection string.  However the connection string that Talend use with tdboutput component with vertica is  :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String url_tDBOutput_1 = "jdbc:vertica://" + "primary_db_host" + ":" + "5433" + "/" + "padb";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				String dbUser_tDBOutput_1 = "dbuser";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				final String decryptedPassword_tDBOutput_1 = context.dbpassword;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				String dbPwd_tDBOutput_1 = decryptedPassword_tDBOutput_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				conn_tDBOutput_1 = String url_tDBOutput_1 = "jdbc:vertica://" + "primary_db_host" + ":" + "5433" + "/" + "dbname";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				String dbUser_tDBOutput_1 = "dbuser";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				final String decryptedPassword_tDBOutput_1 = context.dbpassword;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				String dbPwd_tDBOutput_1 = decryptedPassword_tDBOutput_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				conn_tDBOutput_1 = java.sql.DriverManager.getConnection(url_tDBOutput_1, dbUser_tDBOutput_1,&lt;/P&gt;&lt;P&gt;						dbPwd_tDBOutput_1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will build the final DB connection string with Talend as : java.sql.DriverManager.getConnection(url_tDBOutput_1, dbUser_tDBOutput_1,&lt;/P&gt;&lt;P&gt;						dbPwd_tDBOutput_1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a feature in vertica jdbc using the following connection string having "db_secondary_host" with given syntax: &lt;/P&gt;&lt;P&gt;https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/ConnectingToVertica/ClientJDBC/JDBCConnectionFailover.htm?tocpath=Connecting%20to%20Vertica%7CClient%20Libraries%7CProgramming%20JDBC%20Client%20Applications%7CCreating%20and%20Configuring%20a%20Connection%7C_____8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;java.sql.DriverManager.getConnection(url_tDBOutput_1, dbUser_tDBOutput_1,&lt;/P&gt;&lt;P&gt;						dbPwd_tDBOutput_1,  db_secondary_host);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will avoid the impact in case primary_db_host is down, it automatically switch to db_secondary_host. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i enable this functionality in my talend design as by default, talend doesn't support it?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please guide&lt;/P&gt;</description>
    <pubDate>Tue, 02 Nov 2021 07:08:55 GMT</pubDate>
    <dc:creator>MKAPOOR1596038160</dc:creator>
    <dc:date>2021-11-02T07:08:55Z</dc:date>
    <item>
      <title>unable to add a secondary database node in tdboutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373699#M136391</link>
      <description>&lt;P&gt;I am using vertica 3 node distributed High availability database to connect using jdbc  &amp;amp; load data from talend jobs.  By default, the vertica driver that talend use supports failover that in case the primary node of vertica is down, it switches to next node given in the connection string.  However the connection string that Talend use with tdboutput component with vertica is  :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String url_tDBOutput_1 = "jdbc:vertica://" + "primary_db_host" + ":" + "5433" + "/" + "padb";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				String dbUser_tDBOutput_1 = "dbuser";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				final String decryptedPassword_tDBOutput_1 = context.dbpassword;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				String dbPwd_tDBOutput_1 = decryptedPassword_tDBOutput_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				conn_tDBOutput_1 = String url_tDBOutput_1 = "jdbc:vertica://" + "primary_db_host" + ":" + "5433" + "/" + "dbname";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				String dbUser_tDBOutput_1 = "dbuser";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				final String decryptedPassword_tDBOutput_1 = context.dbpassword;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				String dbPwd_tDBOutput_1 = decryptedPassword_tDBOutput_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				conn_tDBOutput_1 = java.sql.DriverManager.getConnection(url_tDBOutput_1, dbUser_tDBOutput_1,&lt;/P&gt;&lt;P&gt;						dbPwd_tDBOutput_1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will build the final DB connection string with Talend as : java.sql.DriverManager.getConnection(url_tDBOutput_1, dbUser_tDBOutput_1,&lt;/P&gt;&lt;P&gt;						dbPwd_tDBOutput_1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a feature in vertica jdbc using the following connection string having "db_secondary_host" with given syntax: &lt;/P&gt;&lt;P&gt;https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/ConnectingToVertica/ClientJDBC/JDBCConnectionFailover.htm?tocpath=Connecting%20to%20Vertica%7CClient%20Libraries%7CProgramming%20JDBC%20Client%20Applications%7CCreating%20and%20Configuring%20a%20Connection%7C_____8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;java.sql.DriverManager.getConnection(url_tDBOutput_1, dbUser_tDBOutput_1,&lt;/P&gt;&lt;P&gt;						dbPwd_tDBOutput_1,  db_secondary_host);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will avoid the impact in case primary_db_host is down, it automatically switch to db_secondary_host. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i enable this functionality in my talend design as by default, talend doesn't support it?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please guide&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 07:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373699#M136391</guid>
      <dc:creator>MKAPOOR1596038160</dc:creator>
      <dc:date>2021-11-02T07:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add a secondary database node in tdboutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373700#M136392</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;I think this could be a new feature, can you please open a jira issue on our &lt;A href="https://jira.talendforge.org/secure/Dashboard.jspa" alt="https://jira.talendforge.org/secure/Dashboard.jspa" target="_blank"&gt;bugtracker &lt;/A&gt;for R&amp;amp;D team to investigate it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 06:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373700#M136392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-05T06:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add a secondary database node in tdboutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373701#M136393</link>
      <description>&lt;P&gt;Thanks Shong, This is my first time to log a JIRA which to best of my effort tried and logged here: &lt;A href="https://jira.talendforge.org/browse/TDI-47001" alt="https://jira.talendforge.org/browse/TDI-47001" target="_blank"&gt;- Talend Open Integration Solution (talendforge.org)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please check if i did the JIRA process correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Madhusudan &lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 04:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373701#M136393</guid>
      <dc:creator>MKAPOOR1596038160</dc:creator>
      <dc:date>2021-11-07T04:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add a secondary database node in tdboutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373702#M136394</link>
      <description>&lt;P&gt;Hello Madhusudan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to follow up on this request with you.&lt;/P&gt;&lt;P&gt;Based on the JIRA / Official documentation this feature might be supported as of today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Official documentation suggests:&lt;/P&gt;&lt;P&gt;// Set two backup hosts to be used if connecting to the first host&lt;/P&gt;&lt;P&gt;        // fails. All of these hosts will be tried in order until the connection&lt;/P&gt;&lt;P&gt;        // succeeds or all of the connections fail.&lt;/P&gt;&lt;P&gt;        myProp.put("BackupServerNode", "VerticaHost02,VerticaHost03");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Properties can also be passed to JDBC drivers using Additonal JDBC Parameters.&lt;/P&gt;&lt;P&gt;https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/ConnectingToVertica/ClientJDBC/JDBCConnectionProperties.htm?tocpath=Connecting%20to%20Vertica%7CClient%20Libraries%7CProgramming%20JDBC%20Client%20Applications%7CCreating%20and%20Configuring%20a%20Connection%7C_____1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Include the property name and value as part of the connection string you pass to the&amp;nbsp;DriverManager.getConnection()&amp;nbsp;method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the additonal JDBC parameters in talend studio should be:&lt;/P&gt;&lt;P&gt;"?BackupServerNode=VerticaHost02,VerticaHost03"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check and report back if this works?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Balázs&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 22:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373702#M136394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-30T22:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add a secondary database node in tdboutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373703#M136395</link>
      <description>Hello Balazs,

Following your email, I am able to connect to backup node in case primary node is failing

The only thing that I changes is updating below( without ? &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;)  &amp;amp; it worked.

[cid:image002.png@01D7E699.8839E7C0]


Thanks a lot for the explanation &amp;amp; apology for logging JIRA.

Madhusudan



ST Restricted</description>
      <pubDate>Wed, 01 Dec 2021 04:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/unable-to-add-a-secondary-database-node-in-tdboutput/m-p/2373703#M136395</guid>
      <dc:creator>MKAPOOR1596038160</dc:creator>
      <dc:date>2021-12-01T04:25:29Z</dc:date>
    </item>
  </channel>
</rss>

