Getting Data In

Where do I save the script that will install UF on remote servers?

mariaerh
New Member

Creating a script that will install UF on remote server, where on my deployment server should I go to save that script?

Tags (1)
0 Karma

mariaerh
New Member

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).

0 Karma

kristian_kolb
Ultra Champion

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

0 Karma

kristian_kolb
Ultra Champion

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

0 Karma

mariaerh
New Member

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).

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...