I have a Windows 2012 R2 server with UAC disabled.
I've just installed Splunk Enterprise, placed an app in the $SPLUNK_HOME/etc/shcluster/apps/ directory,
and tried to deploy a bundle:
>splunk apply shcluster-bundle -target https://searchhead:8089 Warning: Depending on the configuration changes being pushed, this command migh t initiate a rolling restart of the cluster members. Please refer to the docume ntation for the details. Do you wish to continue? [y/n]: y Your session is invalid. Please login. Splunk username: admin Password: Error while creating deployable apps: Error moving tmp_staging_area="C:\Program Files\Splunk\var\run\splunk\deploy.9f0aa64b5fe19f35.tmp" to dst="C:\Program File s\Splunk\var\run\splunk\deploy": Access is denied.
Has anyone else seen this behavior?
Thank you for your reply, Martin. At first glance, your answer seemed right. However, as I look further, I'm not convinced.
The deployer in my case is not a cluster member (indeed, it cannot be a cluster member) and therefore is not subject to the restrictions on search head cluster members. You can see that the requirements for the deployer (http://docs.splunk.com/Documentation/Splunk/6.2.2/DistSearch/SHCsystemrequirements#Deployer_requirem...) include Windows. I am running the deployer on my deployment server, which I want to be a Windows server.
I was not aware that Windows search head clusters are not supported. They are certainly configurable since I have a cluster with two Windows search heads. I will have to redeploy them as Linux servers.
However, I think (based on the documentation) that the Windows deployer should work. Am I missing something else?
Hi, I have the same issue. Documentation did not say the deployer has to be linux. Can anyone using windows deployer confirm it works? Maybe it's a configuration issue with windows 2012 server?
The documentation is pretty clear on not supporting Windows, and it explicitly mentions the deployer: http://docs.splunk.com/Documentation/Splunk/6.2.3/DistSearch/SHCsystemrequirements#Operating_system_...
All search head cluster members and the deployer must run on the same operating system. If the search head cluster is connected to an indexer cluster, then the indexer cluster instances must run on the same operating system as the search head cluster members. Search head clustering is available on the following operating systems: •Linux •Solaris Splunk does not currently support search head clustering on Windows systems.
did you find any solution to this? I am facing same issue as well.
No, I'm afraid not. I will be redeploying all my indexers, search heads and the cluster master as Redhat instead. I will put the deployer on the cluster master, instead. I guess the Windows situation must remain a Splunk mystery.
I had the exact same error on a linux box. The issue was a file permissions issue where the current user had read access but not write access to
Looks like this could be possibly related.