Deployment Architecture

clients with apps preloaded initally offline sync with deployment server later

Mag2sub
Path Finder

1 if we preload some apps into splunk in a offline manner and later sync it up into a deployment server with very same apps ...how do the apps behave ...on what basis is the checksum compared ?..what is this checksum ..and if checksum differs which overwrites what ?

2 if we cannot avoid the above scenario what is the best way to preserve the apps on the client ?

Tags (1)
0 Karma

lukejadamec
Super Champion

The App on the Client and the App on the Server must have the same checksum.

For each App Name, the Splunkd service on the Client will create a checksum of the entire App Folder on the client, and it will compare that checksum to the published checksum that was generated by the Splunkd service on the Server, if they do not match then the entire App folder will be downloaded. Deployed Apps are downloaded entire folder or nothing.

If you don't want an App to be controlled by the Deployment Server, then Never deploy an App with the same name.

Mag2sub
Path Finder

I guess i would really like to know what is this checksum calculation..is it a md5sum ? or what exactly entails a checksum match ?...appreciate ..as i keep seeing this word on online docs and wiki for deployment server

0 Karma

kristian_kolb
Ultra Champion
  1. You can preload an app. If you then create the 'same' app on a DS and push it out the client it will overwrite it. (or at least what is in the 'default' folders.). The client can not overwrite an app on the DS. How the checksum is calculated, I don't know - perhaps a MD5 of the files combined with mod_times??

  2. The best way is to not deploy an app with the same name (i.e. the name of the directory under SPLUNK_HOME/etc/deployment-apps on the DS).

However, things might have changed between versions, so start with a test environment and see what happens.

/k

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...