Creating a script that will install UF on remote server, where on my deployment server should I go to save that script?
Hi Kristian
Yes, this is the exact script I'm using, in the line DEPLOY_SERVER="xxx.xxx.xxx.xxx:8089" I have to put the IP of my search head/deployment server machine right?
Once this script is created on the search head/deployment server, where do I have to save it? what directory? (I'm runing Ubuntu).
No you don't. Or well...
One thing the deployment server cannot do is to install (or upgrade) the forwarders themselves. Not via the deployment server mechanisms, anyway. It allows you to remotely configure already installed forwarders.
You can however, from a host on your network, run a script that can remotely install forwarders. That host CAN be the same host as the deployment server, but these functions have nothing in common.
Please see the following post for an example of such a script;
http://splunk-base.splunk.com/answers/34896/simple-installation-script-for-universal-forwarder
Hope this helps,
Kristian
Well.. save it your home dir perhaps. chmod it to executable.
Make sure that you have the files/variables needed BY the script, e.g. the list of your (future) deployment_clients/forwarders, the download of the installer, that you have the passwords for the accounts in the hostlist. etc
The script will prompt you to log in to each of the hosts in the list as part of the upload/install process.
The script is pretty self-explanatory. If your scripting skills are not yet up speed for these tasks, perhaps a more manual approach might suit you better.
/K
Hi Kristian
Yes, this is the exact script I'm using, in the line DEPLOY_SERVER="xxx.xxx.xxx.xxx:8089" I have to put the IP of my search head/deployment server machine right?
Once this script is created on the search head/deployment server, where do I have to save it? what directory? (I'm runing Ubuntu).