I can not create a cluster with two machines and 12 nodes
89 views
Skip to first unread message
Jorge Vinuesa González
unread,
Jun 18, 2015, 4:03:39 PM6/18/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to redi...@googlegroups.com
I'mtrying to make aclusterofredis(version3.0.1) with twodifferentmachine
Server 1 [172.16.0.42] : 6 nodes on the ports 7000, 7001, 7002, 7003, 7004 and 7005. Server 2 [172.16.0.43] : 6 nodes on the ports 7000, 7001, 7002, 7003, 7004 and 7005.
This is thedirectory structure onthe twomachines:
root@redis-02-pre:/etc/redis/cluster-test# ls -lthr total 996K -rwxr-xr-x 1 root root 956K Jun 2 11:48 redis-server drwxr-xr-x 2 root root 4.0K Jun 18 17:30 7002 drwxr-xr-x 2 root root 4.0K Jun 18 17:30 7005 drwxr-xr-x 2 root root 4.0K Jun 18 17:30 7001 drwxr-xr-x 2 root root 4.0K Jun 18 17:30 7000 drwxr-xr-x 2 root root 4.0K Jun 18 17:30 7003 drwxr-xr-x 2 root root 4.0K Jun 18 17:30 7004
Example node 7000 root@redis-02-pre:/etc/redis/cluster-test/7000# ls -lthr total 20K -rw-r--r-- 1 root root 196 Jun 18 16:53 redis.conf
root@redis-02-pre:/etc/redis/cluster-test/7000# cat redis.conf port 7000 cluster-enabled yes cluster-config-file /etc/redis/cluster-test/7000/nodes.conf cluster-node-timeout 5000 appendonly yes # Generated by CONFIG REWRITE dir "/etc/redis/cluster-test/7000"