<?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 Manually rebalancing primaries on indexer cluster fails... why? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-rebalancing-primaries-on-indexer-cluster-fails-why/m-p/278838#M10511</link>
    <description>&lt;P&gt;I used&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://myHost:8089/services/cluster/master/control/control/rebalance_primaries" target="test_blank"&gt;https://myHost:8089/services/cluster/master/control/control/rebalance_primaries&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;as described in the manual at &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Rebalancethecluster#How_primary_rebalancing_works"&gt;How primary rebalancing works&lt;/A&gt;&lt;BR /&gt;
myHost is a functioning Cluster Master; it is not in maintenance mode and it is both valid and complete. There are no pending fixup tasks. It is running:&lt;BR /&gt;
Splunk Version 6.5.1&lt;BR /&gt;
Splunk Build f74036626f0c&lt;/P&gt;

&lt;P&gt;and I got this result:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;response&amp;gt;
    &amp;lt;messages&amp;gt;
        &amp;lt;msg type="ERROR"&amp;gt;
             handler=clustermastercontrol method expected=POST does not match actual=GET customaction=rebalance_primaries
        &amp;lt;/msg&amp;gt;
    &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What did I do wrong? Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2016 21:54:30 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2016-12-13T21:54:30Z</dc:date>
    <item>
      <title>Manually rebalancing primaries on indexer cluster fails... why?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-rebalancing-primaries-on-indexer-cluster-fails-why/m-p/278838#M10511</link>
      <description>&lt;P&gt;I used&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://myHost:8089/services/cluster/master/control/control/rebalance_primaries" target="test_blank"&gt;https://myHost:8089/services/cluster/master/control/control/rebalance_primaries&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;as described in the manual at &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Rebalancethecluster#How_primary_rebalancing_works"&gt;How primary rebalancing works&lt;/A&gt;&lt;BR /&gt;
myHost is a functioning Cluster Master; it is not in maintenance mode and it is both valid and complete. There are no pending fixup tasks. It is running:&lt;BR /&gt;
Splunk Version 6.5.1&lt;BR /&gt;
Splunk Build f74036626f0c&lt;/P&gt;

&lt;P&gt;and I got this result:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;response&amp;gt;
    &amp;lt;messages&amp;gt;
        &amp;lt;msg type="ERROR"&amp;gt;
             handler=clustermastercontrol method expected=POST does not match actual=GET customaction=rebalance_primaries
        &amp;lt;/msg&amp;gt;
    &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What did I do wrong? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 21:54:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Manually-rebalancing-primaries-on-indexer-cluster-fails-why/m-p/278838#M10511</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2016-12-13T21:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Manually rebalancing primaries on indexer cluster fails... why?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-rebalancing-primaries-on-indexer-cluster-fails-why/m-p/278839#M10512</link>
      <description>&lt;P&gt;(ref: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Rebalancethecluster"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Indexer/Rebalancethecluster&lt;/A&gt; )&lt;/P&gt;

&lt;P&gt;The returned error message indicates you need a POST request.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u admin:pass --request POST \
  &lt;A href="https://localhost:8089/services/cluster/master/control/control/rebalance_primaries" target="test_blank"&gt;https://localhost:8089/services/cluster/master/control/control/rebalance_primaries&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this works. &lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2016 19:30:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Manually-rebalancing-primaries-on-indexer-cluster-fails-why/m-p/278839#M10512</guid>
      <dc:creator>Masa</dc:creator>
      <dc:date>2016-12-26T19:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Manually rebalancing primaries on indexer cluster fails... why?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-rebalancing-primaries-on-indexer-cluster-fails-why/m-p/278840#M10513</link>
      <description>&lt;P&gt;Lesson learned: Both the rest command in Splunk (from the master node)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/cluster/master/control/control/rebalance_primaries splunk_server=local
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and the browser interface use an HTTP GET. This is great for retrieving info, but doesn't work for triggering the rebalancing action.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 22:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Manually-rebalancing-primaries-on-indexer-cluster-fails-why/m-p/278840#M10513</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2018-02-13T22:53:10Z</dc:date>
    </item>
  </channel>
</rss>

