Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Kanban workshop
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Define Cassandra/Elastic Installation Directory

Solved1.43K views10th March 2023Cassandra Elastic
2
Gilles Vanhee [SLC] [DevOps Member]450 15th December 2022 0 Comments

Hi,

A user was asking to have the installation of Cassandra & Elastic on another directory instead of the default /etc/…

I was wondering if this is possible on Linux Debian to specify an installation directory and if it’s allowed to do this (way to go) to make sure the workflow won’t be affected?

Thanks!

Gilles Vanhee [SLC] [DevOps Member] Selected answer as best 10th March 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Srikanth Mandava [SLC] [DevOps Advocate]912 Posted 15th December 2022 1 Comment

Gilles

Everything is possible in Linux OS, but it won’t be just a few clicks.

What is the intention behind installing the software under a custom directory? Typically /data storage is mounted to a separate disk or mount point, but not the entire software.

Depending on how debian packages are created for Elasticsearch and Cassandra, you may be able to use the option –instdir under dpkg command. Please see details at dpkg(1) — dpkg — Debian wheezy — Debian Manpages .

If not, one may need to download the source code to make changes, compile and build packages to install manually.

As far as I know, DataMiner doesn’t bother about how the database is installed as long as it’s accessible.

Thanks.

Gilles Vanhee [SLC] [DevOps Member] Selected answer as best 10th March 2023
Srikanth Mandava [SLC] [DevOps Advocate] commented 16th December 2022

Please see the following documentation for pointing config files location to a custom directory.

Cassandra: https://docs.datastax.com/en/archived/cassandra/2.0/cassandra/tools/toolsCUtility_t.html

Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html

0
Michiel Saelen [SLC] [DevOps Enabler]5.70K Posted 23rd December 2022 0 Comments

Hi Gilles,

You can do the installation from the binary tarball. Basically where you extract the tarball is where it will be installed. A big disadvantage of this is that you might need to perform some manual actions to ensure the right permissions on your folders and that you need to remember the location where to find everything in case of troubleshooting (e.g. finding log files). Starting Cassandra or running nodetool commands are also slightly different, so you need to take this into account.

Michiel Saelen [SLC] [DevOps Enabler] Answered question 23rd December 2022
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs