<?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>article QRS API: Change Central Node Failover Timeout in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/QRS-API-Change-Central-Node-Failover-Timeout/ta-p/1716611</link>
    <description>&lt;P&gt;Starting with Qlik Sense June 2017 you can set a RIM node to be a failover candidate for the Central node. That timeout for failover is set automatically to 10 minutes, but you can change that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the QRS API to do so is the recommended way to accomplish this.&lt;/P&gt;
&lt;P&gt;Regarding how to call QRS API using Postman, please refer to&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/QRS-API-using-Xrfkey-header-in-Postman-Chrome-Extension/ta-p/1714661" target="_blank" rel="noopener"&gt;QRS API using Xrfkey header in Postman&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;1. First use the following command: &lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GET /qrs/servicecluster/full?xrfkey=LrVKbOV7HAVjFMTF&lt;/LI-CODE&gt;
&lt;P&gt;In Postman, specify the following:&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Headers:&lt;/U&gt;&lt;BR /&gt;x-qlik-xrfkey:&amp;nbsp;LrVKbOV7HAVjFMTF&lt;BR /&gt;&lt;BR /&gt;In order to retrieve the service cluster settings ass pictures in fig 1:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QRS API central node failover.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45389iB9B173570D6E0C5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="QRS API central node failover.png" alt="QRS API central node failover.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;You will need the id returned here in order to alter the timeout setting through the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/qrs/servicecluster/&lt;/FONT&gt; endpoint.&lt;/P&gt;
&lt;P&gt;In this example, the id is:&amp;nbsp;&lt;STRONG&gt;2cc76c42-e0a1-4bf6-b818-ed4a10bc6824&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. Send the following API call to alter the timeout:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PUT /qrs/servicecluster/{ID}?xrfkey=LrVKbOV7HAVjFMTF&lt;/LI-CODE&gt;
&lt;P&gt;In Postman, specify the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;U&gt;Headers:&lt;/U&gt;&lt;BR /&gt;x-qlik-xrfkey:&amp;nbsp;LrVKbOV7HAVjFMTF&lt;BR /&gt;Content-type:&amp;nbsp;application/json&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Request body&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Copy the response retrieved in step 1 and replace the value for the timeout&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;"failoverTimeout": &lt;STRONG&gt;10&lt;/STRONG&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Replace the value with the value desired.&lt;BR /&gt;&lt;BR /&gt;You will also need to remove the "[" and the "]" at the beginning and the end of the body. See fig 2.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fig 2" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45390i117CFC867B08685E/image-size/large?v=v2&amp;amp;px=999" role="button" title="QRS API central node failover PUT.png" alt="Fig 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Fig 2&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If the request succeeds, the following response should be returned and from the QMC cluster settings tab you will see that the value has changed (fig 3).&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[
    {
        "id": "2cc76c42-e0a1-4bf6-b818-ed4a10bc6824",
        "name": "ServiceCluster",
        "modifiedByUserName": "DOMAIN\\administrator",
        "modifiedDate": "2017-07-25T08:26:14.212Z"
    }
]&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fig 3" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45391iBF1D35DF7F42CD5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="QRS API central node failover service cluster.png" alt="Fig 3" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Fig 3&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Related Content:&lt;/H4&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/November2020/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Failover.htm" target="_self" rel="nofollow noopener noreferrer"&gt;Configuring failover for central node resiliency&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Change-Central-Node-Failover-Timeout/ta-p/1716586" target="_blank" rel="noopener"&gt;Change Central Node Failover Timeout&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2020 15:21:26 GMT</pubDate>
    <dc:creator>Damien_V</dc:creator>
    <dc:date>2020-12-08T15:21:26Z</dc:date>
    <item>
      <title>QRS API: Change Central Node Failover Timeout</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/QRS-API-Change-Central-Node-Failover-Timeout/ta-p/1716611</link>
      <description>&lt;P&gt;Starting with Qlik Sense June 2017 you can set a RIM node to be a failover candidate for the Central node. That timeout for failover is set automatically to 10 minutes, but you can change that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the QRS API to do so is the recommended way to accomplish this.&lt;/P&gt;
&lt;P&gt;Regarding how to call QRS API using Postman, please refer to&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/QRS-API-using-Xrfkey-header-in-Postman-Chrome-Extension/ta-p/1714661" target="_blank" rel="noopener"&gt;QRS API using Xrfkey header in Postman&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;1. First use the following command: &lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GET /qrs/servicecluster/full?xrfkey=LrVKbOV7HAVjFMTF&lt;/LI-CODE&gt;
&lt;P&gt;In Postman, specify the following:&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Headers:&lt;/U&gt;&lt;BR /&gt;x-qlik-xrfkey:&amp;nbsp;LrVKbOV7HAVjFMTF&lt;BR /&gt;&lt;BR /&gt;In order to retrieve the service cluster settings ass pictures in fig 1:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QRS API central node failover.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45389iB9B173570D6E0C5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="QRS API central node failover.png" alt="QRS API central node failover.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;You will need the id returned here in order to alter the timeout setting through the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/qrs/servicecluster/&lt;/FONT&gt; endpoint.&lt;/P&gt;
&lt;P&gt;In this example, the id is:&amp;nbsp;&lt;STRONG&gt;2cc76c42-e0a1-4bf6-b818-ed4a10bc6824&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. Send the following API call to alter the timeout:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PUT /qrs/servicecluster/{ID}?xrfkey=LrVKbOV7HAVjFMTF&lt;/LI-CODE&gt;
&lt;P&gt;In Postman, specify the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;U&gt;Headers:&lt;/U&gt;&lt;BR /&gt;x-qlik-xrfkey:&amp;nbsp;LrVKbOV7HAVjFMTF&lt;BR /&gt;Content-type:&amp;nbsp;application/json&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Request body&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Copy the response retrieved in step 1 and replace the value for the timeout&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;"failoverTimeout": &lt;STRONG&gt;10&lt;/STRONG&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Replace the value with the value desired.&lt;BR /&gt;&lt;BR /&gt;You will also need to remove the "[" and the "]" at the beginning and the end of the body. See fig 2.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fig 2" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45390i117CFC867B08685E/image-size/large?v=v2&amp;amp;px=999" role="button" title="QRS API central node failover PUT.png" alt="Fig 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Fig 2&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If the request succeeds, the following response should be returned and from the QMC cluster settings tab you will see that the value has changed (fig 3).&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[
    {
        "id": "2cc76c42-e0a1-4bf6-b818-ed4a10bc6824",
        "name": "ServiceCluster",
        "modifiedByUserName": "DOMAIN\\administrator",
        "modifiedDate": "2017-07-25T08:26:14.212Z"
    }
]&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fig 3" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45391iBF1D35DF7F42CD5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="QRS API central node failover service cluster.png" alt="Fig 3" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Fig 3&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Related Content:&lt;/H4&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/November2020/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Failover.htm" target="_self" rel="nofollow noopener noreferrer"&gt;Configuring failover for central node resiliency&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Change-Central-Node-Failover-Timeout/ta-p/1716586" target="_blank" rel="noopener"&gt;Change Central Node Failover Timeout&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 15:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/QRS-API-Change-Central-Node-Failover-Timeout/ta-p/1716611</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2020-12-08T15:21:26Z</dc:date>
    </item>
  </channel>
</rss>

