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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...