Deployment Architecture

DB connect – JAVA_HOME path not exist error

kcooper
Communicator

i have installed db connect on a SHC via the deployer.
The jdk1.1.8.0_131 is installed on the deployer in the /opt/splunk/etc/shcluster/apps/splunk_app_db_connect/drivers/jdk1.8.0_131
It was pushed to the SHC captain - location of jdk1... /opt/splunk/etc/apps/splunk_app_db_connect/drivers/jdk1.8.0_131/
* changed the path on the dbconnect app via the splunk console/qui to /configuration/settings/
* in the JRE Installation Path(JAVA_HOME) i have the exact path that the jdk1... is located. But i receive a JAVA_HOME path not exist" when i try to save it.
Any idea why it won't save one of the SHCs via the splunk console/gui? In what file does the confguration/settings reside. Maybe i need to change it there in the deployer and then push it to the SHC captain.

Tags (2)
0 Karma

matthewssa
Path Finder

References: https://docs.splunk.com/Documentation/DBX/3.1.4/DeployDBX/Distributeddeployment

jdk1.1.8.0_131 is a Linux RPM and would be installed on the system like so.
Keep in mind that the java rpm would need to be install on all instance that is running dbconnect.

rpm -i filename.rpm

I have only done single instance installs of dbconnect and not on a SHC, but this is what I've found about installing it on a cluster.
1. It looks like the db connect first needs to be setup on the search head deployer.
2. Download the latest version of dbconnect
3. Download and install jdk as mentioned above.
4. Download and install any db drivers required for your deployment. https://docs.splunk.com/Documentation/DBX/3.1.4/DeployDBX/Installdatabasedrivers
5. Logon and ensure that the app is working.
6. Create identities and connections.
7. Copy the dbconnect app from /etc/apps to /etc/shcluster/apps on the deployer. There was an additional mention of two files that would need to be copied over manually from the deployer to the SHC nodes. kerberos_client.conf and identity.dat
8. Issue the deployer command

splunk apply shcluster-bundle -target <URI>:<management_port> -auth <username>:<password>
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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