{ "info": { "author": "Baran Bartu Demirci", "author_email": "bbartu.demirci@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# redis-clu\nRedis Cluster Management Tool\n\nCreate/Manage sharded+replicated redis cluster easily.\n\n# Installation\n\n```bash\npip install redis-clu\n```\n\n# Usage\n\n##### Create cluster\n\n```bash\n# Sharded cluster (master-master)\nredis-clu create localhost:6376 localhost:6377 localhost:6378\n```\n\n\n##### Show status\n\n```bash\nredis-clu status localhost:6376\n```\n\n\n##### Add masters\n\n```bash\n# single node:\nredis-clu add localhost:6379\n(optional: --keyMigrationCount ) pipelined command, default 1\n\n# multiple nodes:\n# recommended for dynamic scaling, it will be split cluster into subclusters\n# and each subcluster will be resharding simultaneously\n# \nredis-clu add_multi localhost:6376 localhost:6381 localhost:6382 \n(optional: --keyMigrationCount ) pipelined command, default 1\n```\n\n\n##### Add slaves\n\n```bash\n# master-slave replication\n# To make redis cluster high available, all master should have at least one slave.\n# \nredis-clu replicate localhost:6376 localhost:6385\n```\n\n\n##### Fix cluster\n\n```bash\nredis-clu fix localhost:6376\n# If occurs \"Slot is already busy\" execute with \"--force 1\"\nredis-clu fix localhost:6376 --force 1\n```\n\n\n##### Reshard cluster (Slot balancing)\n\n```bash\nredis-clu reshard localhost:6376\n(optional: --keyMigrationCount ) pipelined command, default 1\n```\n\n\n##### Remove node\n\n```bash\n# \nredis-clu remove localhost:6376 localhost:6380\n(optional: --keyMigrationCount ) pipelined command, default 1\n```\n\n\n##### Flush/Destroy cluster\n\n```bash\n# flush cluster (initialize with 0 keys):\nredis-clu reset localhost:6376\n\n# destroy cluster:\nredis-clu reset localhost:6376 --hard 1\n```\n\n\n# Monitoring\n\nAlso you can make your own basic monitoring screen using 'watch'.\n\n brew install watch (For Mac OSx)\n redis-clu status \n watch -d -n 1 'redis-clu status localhost:6376'\n\nMonitoring will help you to make an action.\n\n![ScreenShot](https://raw.github.com/baranbartu/redis-clu/master/screenshot.png)", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/baranbartu/redis-clu/tarball/0.0.7", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/baranbartu/redis-clu", "keywords": "redis cluster management replication master slave", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "redis-clu", "package_url": "https://pypi.org/project/redis-clu/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/redis-clu/", "project_urls": { "Download": "https://github.com/baranbartu/redis-clu/tarball/0.0.7", "Homepage": "https://github.com/baranbartu/redis-clu" }, "release_url": "https://pypi.org/project/redis-clu/0.0.7/", "requires_dist": null, "requires_python": null, "summary": "Redis Cluster Management Tool", "version": "0.0.7" }, "last_serial": 2040204, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c9cb8d1038e2114ffb286957dc399f07", "sha256": "fcf9f5400554be57a7af0eb28edd47d1bcee019fc204c3786453681682e452b0" }, "downloads": -1, "filename": "redis-clu-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c9cb8d1038e2114ffb286957dc399f07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9733, "upload_time": "2016-03-31T11:01:45", "url": "https://files.pythonhosted.org/packages/aa/aa/4635b782eaf0327bedd928998282bc15cff6e812a8e60322f16663172fc1/redis-clu-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "3589a992618ef1edc7f901b9574b1eea", "sha256": "3b95e738016c848ffed823eee62edb5ff2572f309d99e23ba50d7fa934b6476c" }, "downloads": -1, "filename": "redis-clu-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3589a992618ef1edc7f901b9574b1eea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9818, "upload_time": "2016-03-31T11:15:20", "url": "https://files.pythonhosted.org/packages/d0/65/31f07a09ef438e67afc1f5815293b204053a6bcb2deb5af141461a4bfc72/redis-clu-0.0.2.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "ab42e0b080ce9f864c9f8852e22f8b71", "sha256": "5e3a8e35fea2a19653ee06c4aa33603ecce0a268885a170786f4974e55039bac" }, "downloads": -1, "filename": "redis-clu-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ab42e0b080ce9f864c9f8852e22f8b71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9816, "upload_time": "2016-03-31T11:17:41", "url": "https://files.pythonhosted.org/packages/ef/e2/9371335bfce159d0d27d2ba71263062c47d3aefbb2aeae848f955bc7031d/redis-clu-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "37777bcc695006f2b2a9f86f97687f28", "sha256": "6a40c227c0948fecfd994bedc03f71fd2f6bad92a80b55e546fb61f74a6914ae" }, "downloads": -1, "filename": "redis-clu-0.0.5.tar.gz", "has_sig": false, "md5_digest": "37777bcc695006f2b2a9f86f97687f28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10752, "upload_time": "2016-03-31T11:41:05", "url": "https://files.pythonhosted.org/packages/4a/90/1282fce185dcbea7375a79320b8fae73d7eaed7ac09a2f7151c8696207a0/redis-clu-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "85ba36e44c84511bd7f8357698f20b7f", "sha256": "034e8c8ca89f59968ddaf1126baf5f8aa2532d1e13b6dee9ec766893e19230a4" }, "downloads": -1, "filename": "redis-clu-0.0.6.tar.gz", "has_sig": false, "md5_digest": "85ba36e44c84511bd7f8357698f20b7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10764, "upload_time": "2016-03-31T11:56:26", "url": "https://files.pythonhosted.org/packages/0c/98/3c6b365d07636fd8b2e69357be3de8371009877b05c54b3e9663f4f54f7d/redis-clu-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "b975267398a485fa5c3faf0436b86350", "sha256": "ba6316adcdc2224f9694c935b853a6f59305c9c5c36c6359d032e06d6c00328a" }, "downloads": -1, "filename": "redis-clu-0.0.7.tar.gz", "has_sig": false, "md5_digest": "b975267398a485fa5c3faf0436b86350", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11026, "upload_time": "2016-04-01T12:35:05", "url": "https://files.pythonhosted.org/packages/83/92/ff9eaf2cee8883ce352ad00450ad4aaa45d40b57995f67920a2bc170ce91/redis-clu-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b975267398a485fa5c3faf0436b86350", "sha256": "ba6316adcdc2224f9694c935b853a6f59305c9c5c36c6359d032e06d6c00328a" }, "downloads": -1, "filename": "redis-clu-0.0.7.tar.gz", "has_sig": false, "md5_digest": "b975267398a485fa5c3faf0436b86350", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11026, "upload_time": "2016-04-01T12:35:05", "url": "https://files.pythonhosted.org/packages/83/92/ff9eaf2cee8883ce352ad00450ad4aaa45d40b57995f67920a2bc170ce91/redis-clu-0.0.7.tar.gz" } ] }