-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Redis Cluster: Cluster slots / cluster nodes command improvements #2465
Comments
Confusion is a feeling. If we want to focus on the actual formats, Of the things you provide, memory usage and/or % of total data it owns, which is the more likely to be added to Redis Cluster v2, I think will be moved into a different command, since So it is likely we'll get some new cluster command that shows the total memory usage, the masters data usage for each node, the amount of memory used by replicas for each master node, and so forth. Closing this issue since there is no action I can take in the short term, nor in the long term it is clear what we'll end getting into Redis Cluster v2. |
p.s. note that documentation on |
I think there is work that can still be done in the interim, mainly around the formatting of the output. I still believe a simple status column would be very useful to operators. Being able to see whether a node is currently up/down/being promoted/other relevant statuses With regards to the memory and data values, if they are not available yet then we can revisit that later. |
A nice tabular output would be the task of the frontend tool, that just parses the output and formats it the way you want. |
Ok with the additional informations you provide I think the feature request changed a bit, at least in the way I think at it. Are we basically talking more of an human oriented output? That makes sense to me, and is not against Redis way to provide commands which are only useful for humans to quickly inspect what's going on (for example memory reporting has However this may be done in multiple ways. One is as a native command, another is as a redis-cli feature where So there was this project to have something like:
This should spin a simple Sinatra application that provides a visual representation of the cluster, where clicking into single nodes will provide information, colors are used to signal issues with a node, and by other means it is possible to see used memory, number of slots served, and so forth. I think this would be valuable already just in read-only mode, but the next step would be the ability to use, form the UI, all the Does this make sense or is a totally different matter compared to the original request? Please while reading this comment think that I'm a totally cli oriented person, so I'm suggesting a graphical approach as a last resort after seeing that with many nodes, the visual approach is apparently the only one able to handle it. |
yes, a human readable I guess the question is starting to become, where is the domain split between the functionality that the vs the tools that an operator needs to manage the cluster. Should this be a separate tool that is based only for the If its the latter then we can split that into a separate Issue as it feels like a bigger more distinct feature request. for the web app, that sounds pretty cool and a huge value add but in my mind definitely separate from Redis itself. |
These two commands give the vital information, albeit in bit of a confusing format.
From an operations perspective, you want to just run a command see vital information such as:
-node IP
-node port
-node status (healthy, up / down)
-node role (master / slave)
-AZ location (if configured)
-max-memory usage
-% of the total data it owns
Something like
nodetool status
output from Cassandra gives a great overviewhttp://stephen-walsh.com/wp-content/uploads/2014/08/cassandra-node-down.jpg
The text was updated successfully, but these errors were encountered: