<?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: KVStore error although not using kvstore in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/KVStore-error-although-not-using-kvstore/m-p/241503#M2121</link>
    <description>&lt;P&gt;if you does not want / cannot stop all members (which is reasonable) - You can take the following steps :&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Find who is the captain.&lt;/LI&gt;
&lt;LI&gt;One by one with each members (the one which is not captain) start doing:&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;a) Stop Splunk.&lt;BR /&gt;
b) Backup $SPLUNK_DB/var/lib/kvstore&lt;BR /&gt;
c) Clean up KVStore splunk clean kvstore --local&lt;BR /&gt;
d) Disable KVStore in system.conf, see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf&lt;/A&gt;&lt;BR /&gt;
e) Start this member.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Do the same operations with the Captain. &lt;/LI&gt;
&lt;LI&gt;At this point customer should have working SHC with KVStore disabled on all members.&lt;/LI&gt;
&lt;LI&gt;Verify that KVStore port is open and can be accesses from all other members of SHC.&lt;/LI&gt;
&lt;LI&gt;Now we want to enable KVStore on each members one by one, again starting from non-captains start doing:&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;a) Stop Splunk.&lt;BR /&gt;
b) Enable kvstore in system.conf&lt;BR /&gt;
c) Start Splunk.&lt;BR /&gt;
d) Verify that KVStore will have status ready on each member (for example {{ curl -s -k &lt;A href="https://localhost:8089/services/server/info"&gt;https://localhost:8089/services/server/info&lt;/A&gt; | grep kvStoreStatus}}. And there are no issues in splunkd.log of SHC Captain. &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;The last step is to do the same steps from 6 on captain. &lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Mon, 14 Mar 2016 16:43:39 GMT</pubDate>
    <dc:creator>rbal_splunk</dc:creator>
    <dc:date>2016-03-14T16:43:39Z</dc:date>
    <item>
      <title>KVStore error although not using kvstore</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/KVStore-error-although-not-using-kvstore/m-p/241502#M2120</link>
      <description>&lt;P&gt;We have an 8 node SHC and Splunk Version is from 6.2.2.1 to 6.3.3.&lt;BR /&gt;
(a) The SHC captain generates the following message every 5 seconds: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;03-01-2016 09:12:54.909 -0800 ERROR KVStorageProvider - Could not update replica set configuration, error domain 1, err code 12, Error message: Requested PRIMARY node is not available. 
03-01-2016 09:12:54.909 -0800 ERROR KVStoreConfigurationProvider - Failed to update replica set configuration 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(b) Polling the services/server/info REST end-point, the SHC captain returns: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;s:key name="kvStoreStatus"&amp;gt;failed&amp;lt;/s:key&amp;gt; 
And SHC members return: 
&amp;lt;s:key name="kvStoreStatus"&amp;gt;starting&amp;lt;/s:key 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(c) mongod.log for 3 SHC members reports no local replica sets: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2016-02-29T08:24:00.380Z I REPL [initandlisten] Did not find local replica set configuration document at startup; 
NoMatchingDocument Did not find replica set configuration document in local.system.replset 
mongod.log for the other 5 SHC members reports only 5 hosts. All hosts the kvstore port configured for 8201. However, 3 of the hosts still appear using the default port 8191. 
2016-02-29T10:04:04.237Z I REPL [ReplicationExecutor] New replica set config in use: { _id: "splunkrs", version: 265, members: [ { _id: 130, host: "17.142.230.35:8191", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: { all: "all", instance: "262C5C0E-47FB-4DC9-965B-3588670626AD" }, slaveDelay: 0, votes: 1 }, { _id: 126, host: "17.142.230.33:8191", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: { all: "all", instance: "686A134F-C51D-41F6-B6E2-E82E11D32BFA" }, slaveDelay: 0, votes: 1 }, { _id: 131, host: "17.142.229.32:8201", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: { all: "all", instance: "81380A60-45E5-4D93-A660-2740A5DB4638" }, slaveDelay: 0, votes: 1 }, { _id: 132, host: "17.142.229.34:8201", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: { all: "all", instance: "C4E3DAED-9F32-4E0A-A916-15AAFF6F983B" }, slaveDelay: 0, votes: 1 }, { _id: 129, host: "17.142.230.34:8191", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: { all: "all", instance: "DF30C540-3D5B-40D0-9278-8D9B9E332598" }, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatTimeoutSecs: 10, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 } } }
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We are not using kvstore- what should be done to get rid of these errors?.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 16:40:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/KVStore-error-although-not-using-kvstore/m-p/241502#M2120</guid>
      <dc:creator>sat94541</dc:creator>
      <dc:date>2016-03-14T16:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: KVStore error although not using kvstore</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/KVStore-error-although-not-using-kvstore/m-p/241503#M2121</link>
      <description>&lt;P&gt;if you does not want / cannot stop all members (which is reasonable) - You can take the following steps :&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Find who is the captain.&lt;/LI&gt;
&lt;LI&gt;One by one with each members (the one which is not captain) start doing:&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;a) Stop Splunk.&lt;BR /&gt;
b) Backup $SPLUNK_DB/var/lib/kvstore&lt;BR /&gt;
c) Clean up KVStore splunk clean kvstore --local&lt;BR /&gt;
d) Disable KVStore in system.conf, see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf&lt;/A&gt;&lt;BR /&gt;
e) Start this member.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Do the same operations with the Captain. &lt;/LI&gt;
&lt;LI&gt;At this point customer should have working SHC with KVStore disabled on all members.&lt;/LI&gt;
&lt;LI&gt;Verify that KVStore port is open and can be accesses from all other members of SHC.&lt;/LI&gt;
&lt;LI&gt;Now we want to enable KVStore on each members one by one, again starting from non-captains start doing:&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;a) Stop Splunk.&lt;BR /&gt;
b) Enable kvstore in system.conf&lt;BR /&gt;
c) Start Splunk.&lt;BR /&gt;
d) Verify that KVStore will have status ready on each member (for example {{ curl -s -k &lt;A href="https://localhost:8089/services/server/info"&gt;https://localhost:8089/services/server/info&lt;/A&gt; | grep kvStoreStatus}}. And there are no issues in splunkd.log of SHC Captain. &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;The last step is to do the same steps from 6 on captain. &lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 14 Mar 2016 16:43:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/KVStore-error-although-not-using-kvstore/m-p/241503#M2121</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2016-03-14T16:43:39Z</dc:date>
    </item>
  </channel>
</rss>

