ha-redis | Ansible role with super high-availability Redis setup
kandi X-RAY | ha-redis Summary
kandi X-RAY | ha-redis Summary
Ansible role with highly available Redis cluster. Can be used when you need more than just caching servers and you care about every value stored in Redis.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Perform a failover on a given cluster
- Start FTP server
- Execute the aproxy command
- Call the aproxy api
- Show information about databases
- Determine the engine to use
- Return a redis client
- Run redis command
- Backup databases
- Upload file to S3
- Gzip a file
- Show status of databases
- Evaluate read from slave
- Check if arguments are valid
- Read redis config files
- Get current master address
- Select all master databases
ha-redis Key Features
ha-redis Examples and Code Snippets
Community Discussions
Trending Discussions on ha-redis
QUESTION
I'm trying to create Redis cluster along with Node.JS (ioredis/cluster) but that doesn't seem to work.
It's v1.11.8-gke.6 on GKE.
I'm doing exactly what been told in ha-redis
docs:
ANSWER
Answered 2019-Apr-28 at 17:48Not the best solution, but I figured I can just use Sentinel instead of finding another way (or maybe there is no another way). It has support on most languages so it shouldn't be very hard (except redis-cli, can't figure how to query Sentinel server).
This is how I got this done on ioredis (node.js, sorry if you not familiar with ES6 syntax):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ha-redis
Update inventory file hosts with your db instance names
Run ansible-playbook -i hosts site.yml
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page