All Apps and Add-ons

Why is DB Connect incompatible with deployment server?

eregon
Path Finder

Good morning fellow splunkthusiasts,

does anyone know, why DB Connect app is incompatible with deployment server? I (mistakenly) deployed DB Connect 3.1.4 from my deployment server to the heavy forwarder and it seems it works fine. Just after I did so, I noticed the manual says:

DB Connect is incompatible with deployment server. Do not attempt to distribute DB Connect using deployment server.

(see https://docs.splunk.com/Documentation/DBX/3.1.4/DeployDBX/Distributeddeployment)

What can possibly go wrong?

0 Karma
1 Solution

harsmarvania57
SplunkTrust
SplunkTrust

My assumption is you deployed DB Connect using Deployment server and after deployment you created DB Identities, DB Connections on Heavy Forwarder directly. In this case when you upgrade DB Connect using Deployment Server all config will overwrite on Heavy Forwarder and you will lose all your local DB connect config on Heavy Forwarder.

View solution in original post

0 Karma

eregon
Path Finder

@harsmarvania57 and @skalliger , thank you for your comments, it gives me at least some level of understanding. However now it seems that even upgrading the DB Connect to newer version will be a pain, won't it? Manual only describes the process of migration from version 2 to version 3, but I don't see any instructions to upgrade 3.1.3 (or older) to most recent 3.1.4 without losing the config. Have you ever been into such demand?

0 Karma

harsmarvania57
SplunkTrust
SplunkTrust

Yes, it requires more steps if you want to upgrade from version 2 to 3. If you want to upgrade from 3.1.3 to 3.1.4 then it is very easy and same process as you upgrade any other add-on.

0 Karma

skalliger
SplunkTrust
SplunkTrust

As harsmarvania57 wrote, deploying a new app can work just fine. But if you already got an app running, you just should not manage it with the Deployment Server. The reason behind it is that apps like DB Connect store connection state information (e.g. checkpoints) inside their app which would be lost if overwritten by the DS.

Skalli

harsmarvania57
SplunkTrust
SplunkTrust

Slight correction here Splunk DB Connect 2 stores checkpoint in app itself, however Splunk DB Connect 3 stores checkpoint in $SPLUNK_HOME/var/lib/splunk/modinputs/server/splunk_app_db_connect/

skalliger
SplunkTrust
SplunkTrust

Ah, I missed that one. Thanks.
I converted the answer to a comment.

0 Karma

harsmarvania57
SplunkTrust
SplunkTrust

Welcome, no worries 🙂

0 Karma

harsmarvania57
SplunkTrust
SplunkTrust

My assumption is you deployed DB Connect using Deployment server and after deployment you created DB Identities, DB Connections on Heavy Forwarder directly. In this case when you upgrade DB Connect using Deployment Server all config will overwrite on Heavy Forwarder and you will lose all your local DB connect config on Heavy Forwarder.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...