Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can medusa be installed on an admin node? #769

Open
chrisjmiller1 opened this issue May 24, 2024 · 2 comments
Open

Can medusa be installed on an admin node? #769

chrisjmiller1 opened this issue May 24, 2024 · 2 comments
Labels
question Further information is requested

Comments

@chrisjmiller1
Copy link

chrisjmiller1 commented May 24, 2024

Project board link

Hi folks,

Is it possible to install Medusa on an admin node i.e. a node that is not part of the target cassandra cluster as I know the cassandra.yaml location must be specified.

Thanks,

Chris.

┆Issue is synchronized with this Jira Story by Unito

@rzvoncek
Copy link
Contributor

Hi @chrisjmiller1 !

This might actually work to some extent. You will have to grab the cassandra.yaml file and place it on the admin node. Medusa learns some things from this, for example the listen_address of the node. If this one is reachable from the admin node, Medusa running on the admin node will connect to it as if it were a local connection.

The first thing that will break when doing a medusa backup is the file upload. This is because we assume the files are locally available and pass local paths as arguments to the upload methods.
Doing a medusa backup-cluster from the admin node has a better chance of suceeding because there the admin node ssh-s into all the Cassandra nodes and runs itself there. But this still requires you to install Medusa on the C* nodes.

Another important thing you should configure is the storage/fqdn (or use --fqdn CLI option). This will allow the admin node to "impersonate" the Cassandra node when interacting with storage.

So in conclusion, making backups without installing Medusa on Cassandra nodes will not work. Listing, downloading or restoring the backups has a bigger chance of success.

@rzvoncek rzvoncek added the question Further information is requested label Jun 11, 2024
@chrisjmiller1
Copy link
Author

Thanks @rzvoncek I will look into this and will let you know how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants