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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Medusa Not Creating Backup

Solved1.10K views19th September 2024
1
Dennis Nacorda182 10th April 2024 2 Comments

I configured Medusa to backup the Cassandra Cluster by following the steps in the url;

https://docs.dataminer.services/user-guide/Advanced_Functionality/Databases/Cassandra_cluster_backup_restore/Backup_Restore_Cassandra_Cluster.html?q=cassandra%20backup

However no backup was created when I run the command;

medusa backup --backup-name=<name of the backup> --mode=full

Last message I am seeing after running the command is;

INFO: Executing "nodetool -Dcom.sun.jndi.rmiURLParsing=legacy -u <user> -pw <password> snapshot -t medusa-<name of the backup>" on the following nodes ['<node1>', '<node2>', '<node3>', <node4>', ] with a parallelism/pool size of 500

I configured following line in the medusa.ini file

[cassandra]

   config_file = /etc/cassandra/cassandra.yaml

   cql_username = <cassandra user (the same user used in DMS)>

   cql_password = <password of the cql_username>

   nodetool_username = <I tried cassandra user and OS user but both did not create a backup>

   nodetool_password = <password of nodetool_username>

[storage]

   storage_provider = local

   bucket_name = cassandra_backups

   base_path = <path of the mounted nfs>

TLS encryption is not configure in Cassandra

What am I missing? What can I check and verify? What do I need to use for the nodetool_username?

Thank you very much in advance.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th September 2024
Marieke Goethals [SLC] [DevOps Catalyst] commented 18th July 2024

I see that this question has been inactive for some time. Do you still need assistance with this? If not, could you select the answer to indicate that the question is resolved?

Marieke Goethals [SLC] [DevOps Catalyst] commented 19th September 2024

As this question has now been inactive for a long time and there has been no further reaction from you, I will now close it. If you want more information about this, could you post a new question?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Paulo Henriques [SLC] [DevOps Member]550 Posted 10th April 2024 2 Comments

Hi Dennis,

The medusa configuration might be tricky, and there is not much documentation available on the Internet. However, I did some test a while ago, on a 2-node cassandra cluster using TLS encryption, and managed to have the backups working, for sure the local backups at least.

I can share here with you the medusa.ini used on this setup so you can compare with yours, in case some parameter are missing or misconfigured:

Then the execution, locally on the 1st node of the cluster .55:

Hope this helps!
In case you need further assistance, please try to reach out to techsupport@skyline.be.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th September 2024
Dennis Nacorda commented 10th April 2024

Hi Paulo,

The backup was created when taking a backup of the single node, however it is not working when taking a backup of the cluster. I am getting the debug messages

[2024-04-10 21:49:02,811] DEBUG: _run_command with read timeout None
[2024-04-10 21:49:02,811] DEBUG: Make client request for host node-01, (host_i, host) in clients: False
[2024-04-10 21:49:02,811] DEBUG: Connecting to node-01:22
[2024-04-10 21:49:02,811] DEBUG: _run_command with read timeout None
[2024-04-10 21:49:02,812] DEBUG: Make client request for host node-02, (host_i, host) in clients: False
[2024-04-10 21:49:02,812] DEBUG: Connecting to node-02:22
[2024-04-10 21:49:02,812] DEBUG: _run_command with read timeout None
[2024-04-10 21:49:02,812] DEBUG: Make client request for host node-03, (host_i, host) in clients: False
[2024-04-10 21:49:02,812] DEBUG: Connecting to node-03:22
[2024-04-10 21:49:02,812] DEBUG: _run_command with read timeout None
[2024-04-10 21:49:02,812] DEBUG: Make client request for host s1-core-cassandra-04, (host_i, host) in clients: False
[2024-04-10 21:49:02,813] DEBUG: Connecting to node-04:22
[2024-04-10 21:49:02,813] DEBUG: Starting new session for user@node-01:22
[2024-04-10 21:49:02,813] DEBUG: Session started, connecting with existing socket
[2024-04-10 21:49:02,834] DEBUG: Agent auth failed with b”, continuing with other authentication methods
[2024-04-10 21:49:02,834] DEBUG: Trying to authenticate with identity file /home/user/.ssh/id_rsa
[2024-04-10 21:49:02,896] DEBUG: Authentication succeeded with identity file /home/user/.ssh/id_rsa
[2024-04-10 21:49:02,896] DEBUG: Private key auth failed, trying password
[2024-04-10 21:49:02,897] DEBUG: Starting new session for user@node-02:22
[2024-04-10 21:49:02,897] DEBUG: Session started, connecting with existing socket
[2024-04-10 21:49:02,907] DEBUG: Agent auth failed with b”, continuing with other authentication methods
[2024-04-10 21:49:02,908] DEBUG: Trying to authenticate with identity file /home/user/.ssh/id_rsa
[2024-04-10 21:49:02,967] DEBUG: Authentication succeeded with identity file /home/user/.ssh/id_rsa
[2024-04-10 21:49:02,967] DEBUG: Private key auth failed, trying password
[2024-04-10 21:49:02,967] DEBUG: Starting new session for user@node-03:22
[2024-04-10 21:49:02,967] DEBUG: Session started, connecting with existing socket
[2024-04-10 21:49:02,978] DEBUG: Agent auth failed with b”, continuing with other authentication methods
[2024-04-10 21:49:02,978] DEBUG: Trying to authenticate with identity file /home/user/.ssh/id_rsa
[2024-04-10 21:49:03,040] DEBUG: Authentication succeeded with identity file /home/user/.ssh/id_rsa
[2024-04-10 21:49:03,040] DEBUG: Private key auth failed, trying password
[2024-04-10 21:49:03,040] DEBUG: Starting new session for user@node-04:22
[2024-04-10 21:49:03,040] DEBUG: Session started, connecting with existing socket
[2024-04-10 21:49:03,050] DEBUG: Agent auth failed with b”, continuing with other authentication methods
[2024-04-10 21:49:03,051] DEBUG: Trying to authenticate with identity file /home/user/.ssh/id_rsa
[2024-04-10 21:49:03,117] DEBUG: Authentication succeeded with identity file /home/user/.ssh/id_rsa
[2024-04-10 21:49:03,117] DEBUG: Private key auth failed, trying password
[2024-04-10 21:49:07,902] DEBUG: Agent auth failed with b”, continuing with other authentication methods
[2024-04-10 21:49:07,903] DEBUG: Trying to authenticate with identity file /home/user/.ssh/id_rsa

I am running the command in node-01. The public key of node-01 is in the authorized_keys of all nodes including node-01.

Marieke Goethals [SLC] [DevOps Catalyst] commented 6th June 2024

According to the most recent version of this documentation, if a full backup of the cluster fails for some reason, it’s best to take separate backups of the single nodes instead. Is this an option for you?
(See https://docs.dataminer.services/user-guide/Advanced_Functionality/Databases/Cassandra_cluster_backup_restore/Backup_Restore_Cassandra_Cluster.html#taking-a-backup-using-medusa)

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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin