<?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: How to reload deployment server passing credentials silently in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287812#M10922</link>
    <description>&lt;P&gt;Use the URL below, substituting your host name for myHostName and the serverClass you want to reload for serverClassName&lt;/P&gt;

&lt;P&gt;&lt;A href="https://myHostName:8089/services/deployment/server/serverclasses/serverClassName/reload"&gt;https://myHostName:8089/services/deployment/server/serverclasses/serverClassName/reload&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2016 22:21:54 GMT</pubDate>
    <dc:creator>wrangler2x</dc:creator>
    <dc:date>2016-04-12T22:21:54Z</dc:date>
    <item>
      <title>How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287806#M10916</link>
      <description>&lt;P&gt;I'm trying to get Splunk to reload the deployment server when we have updated our apps without having to manually go onto the box.&lt;/P&gt;

&lt;P&gt;Basically we run a jenkins job that builds a version of our apps. It then ssh onto the deployment server and puts them into the /etc/deployment-apps folder. This all works but I can't get it to reload the apps using deploy-reload as it prompts for a username. I've tried to use -auth and pass in the credentials via an environment variable but it doesn't work. I've also created a script to do an expect when it prompts for the Splunk username: but can't get this to work either.&lt;/P&gt;

&lt;P&gt;Has anyone got any ideas how we can implement this? &lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 08:47:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287806#M10916</guid>
      <dc:creator>scaffster</dc:creator>
      <dc:date>2016-04-12T08:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287807#M10917</link>
      <description>&lt;P&gt;The reload operation doens't support passing the credentials from CLI. How frequently do you do the build which requires a deployment server reload? If it's not too frequent, you can push the changes by restarting the deployment server.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 15:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287807#M10917</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-04-12T15:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287808#M10918</link>
      <description>&lt;P&gt;Currently we are constantly pushing changes as more teams on-board with different log formats. It tends to be the inputs.conf and props.conf that are the only things changing.&lt;/P&gt;

&lt;P&gt;Is splunk clever enough to know that a change has been made to an app after the restart and push it out based on what's defined in the serverclass file for the app?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 16:00:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287808#M10918</guid>
      <dc:creator>scaffster</dc:creator>
      <dc:date>2016-04-12T16:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287809#M10919</link>
      <description>&lt;P&gt;The Splunk restart would refresh all endpoints, including deploy-server and will push (or make available) all the changes made to the deployment-clients&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 16:17:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287809#M10919</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-04-12T16:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287810#M10920</link>
      <description>&lt;P&gt;We are running Splunk 6.3.1 on our deployment servers.  I have a script that does reload /opt/splunk/bin/splunk reload deploy-server -auth &lt;EM&gt;myadminuser&lt;/EM&gt;:&lt;EM&gt;password&lt;/EM&gt; and that works for us. I just tested. If I leave the -auth off it prompts. If I include it I can see that server is reloaded with changes that I made.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 16:57:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287810#M10920</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2016-04-12T16:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287811#M10921</link>
      <description>&lt;P&gt;REST call:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -ku admin:your_password &lt;A href="https://your_splunk_server:8089/servicesNS/-/system/deployment/server/config/_reload" target="test_blank"&gt;https://your_splunk_server:8089/servicesNS/-/system/deployment/server/config/_reload&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Apr 2016 17:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287811#M10921</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-04-12T17:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287812#M10922</link>
      <description>&lt;P&gt;Use the URL below, substituting your host name for myHostName and the serverClass you want to reload for serverClassName&lt;/P&gt;

&lt;P&gt;&lt;A href="https://myHostName:8089/services/deployment/server/serverclasses/serverClassName/reload"&gt;https://myHostName:8089/services/deployment/server/serverclasses/serverClassName/reload&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 22:21:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287812#M10922</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2016-04-12T22:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287813#M10923</link>
      <description>&lt;P&gt;Problem is putting them in the deployment-apps folder doesn't add them to serverclasses.conf so new apps aren't going to auto deploy.  If you're effectively just adding new inputs and props stanzas then the API approaches mentioned in the answers work well.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 23:22:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287813#M10923</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-04-12T23:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287814#M10924</link>
      <description>&lt;P&gt;Brilliant thanks, tried both approaches and both work&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 14:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287814#M10924</guid>
      <dc:creator>scaffster</dc:creator>
      <dc:date>2016-04-14T14:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287815#M10925</link>
      <description>&lt;P&gt;I assume this one would reload all serverClasses.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 18:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287815#M10925</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2016-04-14T18:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to reload deployment server passing credentials silently</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287816#M10926</link>
      <description>&lt;P&gt;Yes, all server classes would reload with that endpoint&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 19:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-reload-deployment-server-passing-credentials-silently/m-p/287816#M10926</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-04-14T19:06:40Z</dc:date>
    </item>
  </channel>
</rss>

