Deployment Architecture

Server Migration

AMAN0113
Explorer

We are planning to migrate a server that plays multiple roles as a DS, HEC, Proxy, SC4S, Syslog etc., to multiple servers by possibly trying to split the roles. Eg; server A to play DS role, server B to take care of HEC Services and so on.
What would be the easiest approach to achieve this?  Seems like a lot of work. Would it be recommended to do so in the first place? What are the criteria we should have in mind while doing this migration.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @AMAN0113 ,

it's possible to share the DS only if it has to manage less than 50 clients.

Even if, the most work in on the devices:

if you are managing the addressing od the Deployment Server using a dedicated app, it's very easy to move the DS to another server, if not it's better to move the other servers.

Anyway, To move the DS, you should create a custom Add-On, called e.g. TA_deploymentClient, containing only two files:

  • apps.conf
  • deplymentclient.conf

So these are the steps to move the DS:

  • on the old DS, add a new serverclass  for all clients pointing to the new add-on TA_deploymentClient
  • on all clients remove deploymentclient.conf from the %SPLUNK_HOME/etc/system/local folder
  • restart Splunk on all clients
  • verify (on the DS) that in all clients there's a new app installed
  • install Splunk on a new system,
  • copy apps from $SPLUNK_HOME/etc/deployment-apps to the same folder of the new system
  • copy %SPLUNK_HOME/etc/system/local/serveclasses.conf in thesame folder of the new system,
  • push new new configurations

To move the HEC, you have to re-create the inputs, eventually using the same tokens, but, in the devices, you have to point to the new destination.

It could be easier if you have a Load Balancer in front of the the HEC servers, becausein this case, you have only to modify the configuration in the LB.

Same thing for the syslog receivers: you have to  copy all the inputs from th old to the new servers and then move the pointing adresses in each device.

See what' the highest number of connection you have (syslog, clients or HEC) and maintain it in the original server, moving the others.

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...