Deployment Architecture

Possible typo in stanza (serverRepositoryLocationPolicy) Splunk 6.0.1

thslopes
Explorer

I'm trying to do this:
http://docs.splunk.com/Documentation/Splunk/6.0.1/DistSearch/Deploymentserverandsearchheadpooling

My deploymentclient.conf looked like this:

[target-broker:deploymentServer]
targetUri = owsplunkdeployment.vtex.com.br:8089
serverRepositoryLocationPolicy=rejectAlways
repositoryLocation = /opt/shared/etc/apps

I am taking this error:

Possible typo in stanza [target-broker:deploymentServer] in /opt/splunk/etc/system/local/deploymentclient.conf, line 3: serverRepositoryLocationPolicy = rejectAlways
Possible typo in stanza [target-broker:deploymentServer] in /opt/splunk/etc/system/local/deploymentclient.conf, line 4: repositoryLocation  =  /opt/shared/etc/apps

And the apps are going to

$SPLUNKHOME/etc/apps

OBS: My distributed search are working fine, when I create an app on a Search Head it goes to the rigth location(the shared folder). The problem occurs only when I try to use the Deployment Server.

Can anyone help me?

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Those two key-value pairs in line 3 and 4 don't belong in the target-broker:deploymentServer stanza. See http://docs.splunk.com/Documentation/Splunk/6.0.1/Admin/Deploymentclientconf for reference, your case is roughly the example #2 from there:

[deployment-client]
serverRepositoryLocationPolicy = rejectAlways
repositoryLocation = $SPLUNK_HOME/etc/apps

[target-broker:deploymentServer]
targetUri= deploymentserver.splunk.mycompany.com:8089

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Those two key-value pairs in line 3 and 4 don't belong in the target-broker:deploymentServer stanza. See http://docs.splunk.com/Documentation/Splunk/6.0.1/Admin/Deploymentclientconf for reference, your case is roughly the example #2 from there:

[deployment-client]
serverRepositoryLocationPolicy = rejectAlways
repositoryLocation = $SPLUNK_HOME/etc/apps

[target-broker:deploymentServer]
targetUri= deploymentserver.splunk.mycompany.com:8089
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...