Hi,
Is it possible to have multiple instances under the same path. 
Splunk 6.3.1. 
One machine (linux)
For example:
/opt/splunk  - indexer
/opt/splunk/splunksh - search head
/opt/splunk/splunkforwarder - forwarder 
Thanks
 
					
				
		
 
		
		
		
		
		
	
			
		
		
			
					
		Yes you can, really good for building a simple dev environment. But although you can I wouldn't do that for production systems.
 
					
				
		
 
		
		
		
		
		
	
			
		
		
			
					
		Yes you can, really good for building a simple dev environment. But although you can I wouldn't do that for production systems.
Thanks for answer. I have same thoughts. 
I'm wondering, will be problems with upgrading in future if (in same example) indexer is installed with rpm package and other two with tgz package. Will rpm run over search head instance and forwarder instance, because rpm default installation path is /opt/splunk/
 
					
				
		
 
		
		
		
		
		
	
			
		
		
			
					
		To install Splunk in a different directory, use the --prefix flag:
rpm -i --prefix=/opt/new_directory splunk_package_name.rpm
 
					
				
		
 
		
		
		
		
		
	
			
		
		
			
					
		I just reread your structure:
/opt/splunk - indexer
/opt/splunk/splunksh - search head
/opt/splunk/splunkforwarder - forwarder 
this would be problematic, you would most likely have to do this way:
/opt/splunk/splunkidx - indexer
/opt/splunk/splunksh - search head
/opt/splunk/splunkforwarder - forwarder 
Thank you dgrubb. 
I'm thinking the same way as you wrote.  Just needed confirmation from someone else.
