1
00:00:02,200 --> 00:00:07,000
So in this session we are going to set up Redis cluster on a  Demo Environment.

2
00:00:07,030 --> 00:00:12,640
So when I'm saying Demo Environment,  we are going to set up Redis cluster on a single server.

3
00:00:13,060 --> 00:00:19,390
However we are going to create multiple copies of Redis. So   on the same server basically we are going

4
00:00:19,390 --> 00:00:25,710
to launch six Redis instances.  Now the steps to do that is very easy.

5
00:00:25,720 --> 00:00:28,570
And also when you are doing the set up in the Production.

6
00:00:28,750 --> 00:00:36,370
So underlying steps remain the same.  So to begin with I have downloaded Redis software and I have

7
00:00:36,370 --> 00:00:40,120
extracted it and now we have Redis-stable folder.

8
00:00:40,840 --> 00:00:43,060
So if I go inside where Redis-stable,

9
00:00:46,430 --> 00:00:48,790
this is a structure which you see. This is the default one.

10
00:00:49,060 --> 00:00:49,640
Okay.

11
00:00:50,800 --> 00:00:52,750
So what I'm going to do here is,

12
00:00:56,420 --> 00:01:03,380
these are the Minimum configuration File, which you need to have in order to  start a node in

13
00:01:03,380 --> 00:01:04,460
a cluster mode.

14
00:01:04,500 --> 00:01:05,130
Okay.

15
00:01:05,270 --> 00:01:14,370
So when you are setting up Redis cluster.  Basically first you need to start each of the nodes.

16
00:01:14,500 --> 00:01:14,760
Okay.

17
00:01:14,780 --> 00:01:19,220
So each of the nodes you need to start individually and then you run Create Cluster

18
00:01:19,220 --> 00:01:22,040
Command,  which is shown here.

19
00:01:22,130 --> 00:01:27,640
So then you run Create Cluster, which is going to set up a cluster.  Okay.

20
00:01:27,670 --> 00:01:37,160
So I'm going to copy this configuration and please remember this is only for one node.

21
00:01:37,350 --> 00:01:42,720
So if you are running on 6 different Servers, then you can copy paste exactly the same.

22
00:01:42,720 --> 00:01:49,830
However if you're running all the six instances on the same server. In that case we need to make changes

23
00:01:49,830 --> 00:01:51,030
in the Port.

24
00:01:51,150 --> 00:01:51,380
Okay.

25
00:01:51,390 --> 00:01:52,860
So I will tell you what we need to do.

26
00:01:59,830 --> 00:02:08,110
So here I'm going to create a file, which is going to be called N 1

27
00:02:08,160 --> 00:02:08,410
Okay.

28
00:02:08,410 --> 00:02:11,280
This is the one which is going to be denoting Node one.

29
00:02:11,740 --> 00:02:14,570
And then I'm going to say redis.conf.

30
00:02:15,520 --> 00:02:15,780
Okay.

31
00:02:15,790 --> 00:02:22,170
So notice this new Configuration File, which we're creating.  In all of our previous examples we had a

32
00:02:22,170 --> 00:02:23,680
used Redis.conf

33
00:02:24,690 --> 00:02:25,010
Okay.

34
00:02:25,030 --> 00:02:30,790
So just to make it simple. I'm just going to create a new configuration file and inside this I'm going

35
00:02:30,790 --> 00:02:33,650
to paste whatever we had copied.

36
00:02:33,820 --> 00:02:34,670
Okay.

37
00:02:34,780 --> 00:02:39,780
Also I'm going to change the Port from 7000 to 7001.

38
00:02:39,940 --> 00:02:44,220
So our Node 1 is going to have port of 7001

39
00:02:44,260 --> 00:02:44,470
Okay.

40
00:02:44,470 --> 00:02:46,690
This is  the Client port.

41
00:02:46,710 --> 00:02:50,250
So when you're connecting to Redis from Redis Client.

42
00:02:50,260 --> 00:02:52,990
This is a port which you need to provide.

43
00:02:52,990 --> 00:02:58,930
So other than that, we don't need to make any changes. So I'm just going to save and exit.

44
00:02:59,320 --> 00:03:00,220
Okay.

45
00:03:00,340 --> 00:03:08,200
And if I do a ls-lrt  again. Now you see we have n1_redis.conf

46
00:03:08,890 --> 00:03:12,370
So now I need to repeat this process six times.

47
00:03:12,370 --> 00:03:12,710
Okay.

48
00:03:13,210 --> 00:03:23,700
So I'm going to create a copy of this and going to name it N 2 for Node 2.

49
00:03:23,730 --> 00:03:29,620
And similarly I will do the same for Node 3 and I will do the same for Node 4.

50
00:03:30,600 --> 00:03:33,630
I'm going to do the same for Node 5 and 6 as well.

51
00:03:38,410 --> 00:03:38,980
okay.

52
00:03:39,020 --> 00:03:45,440
Now if we do ls-lrt, we can see we have 6 Configuration File.

53
00:03:45,980 --> 00:03:54,560
However remember since we have copied all the configuration file from N 1.  So all in all the configuration

54
00:03:54,560 --> 00:03:56,410
file, Ports are going to be same.

55
00:03:56,420 --> 00:04:00,490
So we must manually make sure that we are changing the port.

56
00:04:01,010 --> 00:04:05,650
So I'm going to go to n2_redis.conf

57
00:04:06,650 --> 00:04:13,870
And here I'm going to change the port to 7002  and for the third file N 3

58
00:04:13,970 --> 00:04:17,480
I'm going to change the port to 7003

59
00:04:21,080 --> 00:04:29,060
I'm editing this in VI Editor, but you can use any Editor. Just make sure the steps which you are following

60
00:04:29,060 --> 00:04:34,190
is the same.  Here I'm going to change it  to 7004

61
00:04:34,190 --> 00:04:37,480
This is a Fourth Node and for Fifth Node,

62
00:04:37,490 --> 00:04:41,360
I'm going to change the port to 7005

63
00:04:47,280 --> 00:04:53,470
if you are good in Scripting,  you can in fact create a Script,  which can do all this task, which I am doing.

64
00:04:58,560 --> 00:04:58,860
OK.

65
00:04:58,900 --> 00:05:04,730
So now we have all of this file which is set up with correct things.

66
00:05:07,630 --> 00:05:12,400
Now let me do cat on all of this file.

67
00:05:12,980 --> 00:05:13,240
OK.

68
00:05:13,270 --> 00:05:21,490
So if I do cat n* ,since all our file begins with n. So now we can do cat n*

69
00:05:21,510 --> 00:05:22,140
and.

70
00:05:22,150 --> 00:05:29,170
And here I can see all my six Configuration File.  So I can see .OK I have correct Port Setup.

71
00:05:29,170 --> 00:05:33,170
So it is starting with 7001, 2, 3,4,5,6

72
00:05:33,250 --> 00:05:34,540
So everything looks okay.

73
00:05:36,090 --> 00:05:41,460
And this also marks that our  step one is completed.

74
00:05:41,460 --> 00:05:45,460
So this Configuration File,  we have created 6 copies.

75
00:05:45,540 --> 00:05:51,520
And also we have changed the configuration and when i am saying, changing the Configuration.

76
00:05:51,520 --> 00:05:55,120
Basically we updated the port number.

77
00:05:55,160 --> 00:06:01,670
Now I'm going to create 6 directories and I'm going to move each of this configuration file to its

78
00:06:01,700 --> 00:06:02,900
respective directory.

79
00:06:06,540 --> 00:06:14,640
So the command here basically is going to create six directories. So I want directory something like

80
00:06:14,730 --> 00:06:18,270
7001 then 7002

81
00:06:18,530 --> 00:06:19,370
Okay.

82
00:06:19,680 --> 00:06:23,190
So rather than this I'm just going to use this command.

83
00:06:23,190 --> 00:06:27,480
So this is basically a pattern and this is going to create 6 directories.

84
00:06:27,480 --> 00:06:33,570
And if I do ls-lrt  again.  Now you can see, we have 6 new directories created.

85
00:06:33,570 --> 00:06:41,320
So it is starting with 7001, 7002, 7003, 7004, 7005, 7006. Now I'm going to copy

86
00:06:41,470 --> 00:06:49,150
each of the configuration file to its directory.  so N1,  I'm going to copy to 7001 and N 2

87
00:06:49,150 --> 00:06:51,190
going to be copied to 7002

88
00:06:52,210 --> 00:06:53,470
Okay.

89
00:06:53,470 --> 00:06:58,620
In fact rather than copying, I will just move this Configuration File to its directories.

90
00:06:58,690 --> 00:07:05,020
So I'm going to run mv command and going to move N1 to 7001

91
00:07:10,720 --> 00:07:45,660
and we need to repeat the same for all the nodes.

92
00:07:46,160 --> 00:07:47,400
Okay so this is done.

93
00:07:47,420 --> 00:07:49,730
If I do ls-lrt  again.

94
00:07:49,730 --> 00:07:55,640
Now I do not see all this configuration file because all the configuration file has been moved inside

95
00:07:55,880 --> 00:07:58,500
the respective folders.

96
00:07:58,520 --> 00:08:05,750
So now we will go to each of the folders one by one and we will start Redis  servers and also we

97
00:08:05,750 --> 00:08:07,340
will pass the Configuration File.

98
00:08:07,830 --> 00:08:08,240
Okay.

99
00:08:08,720 --> 00:08:17,420
So rather than going inside, you can also or let's just keep it simple.  Let's go inside the folders.

100
00:08:17,420 --> 00:08:25,190
So now I'm inside 7001 and here if I do  ls,  I can see there's a Configuration File

101
00:08:25,190 --> 00:08:25,490
there.

102
00:08:25,910 --> 00:08:31,400
So now we're going to do Redis -server to start Redis.

103
00:08:31,490 --> 00:08:39,410
And also we are going to provide this Configuration File,  also I will use & to start this in background

104
00:08:40,550 --> 00:08:44,380
and hit enter. Okay.

105
00:08:44,420 --> 00:08:51,590
So this is the first one, which has started.  Here you can see that,  when you provided those directive, which

106
00:08:51,590 --> 00:08:59,530
is related to Redis Cluster.  Now it can see that it is a,  it is going to be or supposed to be running in

107
00:08:59,540 --> 00:09:05,650
a Cluster Mode.  So you also see message saying, Running in  Cluster Mode and Port is shown here as

108
00:09:05,650 --> 00:09:06,260
7001.

109
00:09:06,290 --> 00:09:11,050
So if remember our first node is, we had provided the Port number of 7001

110
00:09:11,860 --> 00:09:13,390
So everything looks okay here.

111
00:09:13,840 --> 00:09:23,560
And right now we are into this directory.  So I'm going to go back to 7002 and then we are

112
00:09:23,560 --> 00:09:32,430
going to run Redis-server and we need to provide this Second Configuration File.  Hit enter

113
00:09:38,460 --> 00:09:41,880
and then I will repeat the same process for all the 6 Nodes.

114
00:09:55,170 --> 00:10:00,880
I have started 3 nodes and now this is the fourth node which i am going to start

115
00:10:30,980 --> 00:10:34,060
and now sixth one  is also started.

116
00:10:35,200 --> 00:10:44,700
Okay so here if I do ps-ef grep redis.  Now we can see we have 6 nodes,  which are running

117
00:10:44,700 --> 00:10:46,300
as a Cluster.

118
00:10:46,840 --> 00:10:47,190
Okay.

119
00:10:47,700 --> 00:10:53,950
So other than this we also need to run Redis cli command,

120
00:10:53,970 --> 00:10:56,030
Okay to create the cluster.

121
00:10:59,290 --> 00:11:08,760
So again here make sure you provide this Cluster Create Command and you provide all the IP addresses, where your

122
00:11:08,770 --> 00:11:10,760
Redis is running.  In my case

123
00:11:10,800 --> 00:11:12,900
all of them are running on local host.

124
00:11:13,020 --> 00:11:16,520
So I have provided 127.0.0.1

125
00:11:16,770 --> 00:11:24,850
And also you need to provide the Port of each of the instances,  where it is running and in the end we have

126
00:11:24,880 --> 00:11:27,690
--cluster replicas

127
00:11:28,330 --> 00:11:29,340
And we have given 1

128
00:11:29,350 --> 00:11:34,970
So basically this is the number of your replicas.

129
00:11:34,970 --> 00:11:38,500
So here you see the structure or the topology.

130
00:11:38,510 --> 00:11:45,320
We are trying to install is this one.  So we are going to have 1 Master and 1 replica, which is Slave

131
00:11:45,330 --> 00:11:47,180
Node for each of the Masters.

132
00:11:47,180 --> 00:11:47,480
Okay.

133
00:11:49,760 --> 00:11:53,110
So I'm going to copy paste this from here.

134
00:11:57,250 --> 00:11:57,660
Okay.

135
00:11:57,670 --> 00:11:58,850
And let's hit enter.

136
00:11:58,960 --> 00:12:06,290
So once you hit enter, it is telling you that,  this is a Configuration which is, it is going to deploy.

137
00:12:06,300 --> 00:12:09,760
So it is going to create 3 Masters and 3 Slaves.

138
00:12:10,020 --> 00:12:10,380
Okay.

139
00:12:10,380 --> 00:12:14,570
And the Masters are going to be 7001, 2 and 3.

140
00:12:14,610 --> 00:12:14,880
Okay.

141
00:12:14,910 --> 00:12:15,320
So notice,

142
00:12:15,320 --> 00:12:22,380
whatever you passed in the beginning.  These are going to be Masters and whatever you passed later

143
00:12:22,380 --> 00:12:24,130
on, these are going to be Slaves.

144
00:12:24,510 --> 00:12:26,500
If you want to change it, you can change it.

145
00:12:26,520 --> 00:12:28,380
In this case I'm just going to keep it.

146
00:12:28,530 --> 00:12:29,820
Yes.

147
00:12:29,910 --> 00:12:31,390
Hit enter.

148
00:12:32,070 --> 00:12:38,470
And now this is running Cluster Creation Scripts. Okay.

149
00:12:38,470 --> 00:12:39,580
And we see the output.

150
00:12:39,700 --> 00:12:46,090
And I do not see any error.  So which means cluster is successfully started.

151
00:12:46,660 --> 00:12:47,040
Okay.

152
00:12:54,260 --> 00:12:58,760
Now one more thing which you can see here is, the Slots.

153
00:12:59,230 --> 00:12:59,450
Okay.

154
00:12:59,480 --> 00:13:07,040
So you see Master is having Slot of 0-5460

155
00:13:07,140 --> 00:13:12,440
So as I told you, in Cluster data is stored into  partition.

156
00:13:12,440 --> 00:13:12,670
Okay.

157
00:13:12,680 --> 00:13:16,070
So basically there are total 16000 partitions.

158
00:13:16,070 --> 00:13:22,730
And since we have 3 master servers. 16000 is divided into 3 and each of the Master Series is going

159
00:13:22,730 --> 00:13:25,520
to have that many number of Slots.

160
00:13:25,610 --> 00:13:28,340
So if you divide 16000 by 3

161
00:13:28,490 --> 00:13:36,720
So you are going to get approximately 5461 for each of the node.

162
00:13:36,890 --> 00:13:37,190
Okay.

163
00:13:37,220 --> 00:13:40,880
That is what has happened. So that is the same you can see in the configuration

164
00:13:43,990 --> 00:13:47,540
so now if I hit enter. I'm just going to come back to Shell.

165
00:13:48,370 --> 00:13:52,390
And now we can connect to Redis,  using Redis Client.

166
00:13:52,420 --> 00:14:00,120
So I'm going to use Redis-cli and we need to provide Port.  Notice if

167
00:14:00,130 --> 00:14:03,560
I do not provide Port here,  if I just hit enter.

168
00:14:03,670 --> 00:14:05,050
It is going to give us error

169
00:14:05,040 --> 00:14:11,170
that Connection is refused,  because if you see,  by default it is trying to connect to 6 3 7 9 port.

170
00:14:11,980 --> 00:14:17,590
So what we need here is,  because we know our cluster is running on different ports.

171
00:14:17,590 --> 00:14:25,240
Again if you just want to see all the services you can do ps-ef grep redis and

172
00:14:25,240 --> 00:14:29,280
you can see these are the Ports,  where our Redis services are running on.

173
00:14:29,280 --> 00:14:35,800
So I'm going to now use Redis-cli and -p,   I'm going to provide 7001

174
00:14:35,830 --> 00:14:38,640
So you can connect to any node.

175
00:14:38,680 --> 00:14:44,200
I'm just going to connect to 7001 and now you see,  we are connected and we have not got

176
00:14:44,320 --> 00:14:51,450
any error.

177
00:14:51,460 --> 00:14:54,130
So now I'm going to connect to Redis cli

178
00:14:54,130 --> 00:15:00,970
And then we'll be running some Key Value Pair. Basically we'll do some write and read operations.

179
00:15:00,970 --> 00:15:05,830
So when you're connecting to Redis cluster.  You can provide -c parameter.

180
00:15:05,830 --> 00:15:12,240
So which  is going to make it Cluster aware.

181
00:15:12,740 --> 00:15:20,600
So here you can type Redis-cli and then you can type this -c  parameter.  Okay,  which

182
00:15:20,600 --> 00:15:27,710
is just going to make this Client aware that you are connecting to a Cluster and then you can provide

183
00:15:27,950 --> 00:15:33,220
-p,  followed with the Port,  which

184
00:15:33,230 --> 00:15:37,990
Your Redis is running.  So here it is running on 7001. So I have provided 7001

185
00:15:38,000 --> 00:15:46,780
So we have basically 6, if I exit from here if I do ps-ef grep redis,  you

186
00:15:46,780 --> 00:15:50,290
can see we have 6 instances running.So you can connect to any of that.

187
00:15:50,800 --> 00:15:56,440
So I'm connecting to  7001, but if you want,  you can connect to  7002 or any

188
00:15:56,440 --> 00:15:57,020
instance.

189
00:15:57,140 --> 00:15:57,460
OK.

190
00:15:57,610 --> 00:16:07,310
So let's move back to  7001 and here if we perform this write operation

191
00:16:14,870 --> 00:16:23,360
Now you see, when we perform this write operation,  it saying the message of Redirected to slot this one.  So

192
00:16:23,360 --> 00:16:30,170
if you remember,  when we set up Redis  Cluster,  all of the masters were assigned some number of Slots.

193
00:16:30,170 --> 00:16:40,990
So when we wrote this Key Value Pair,  Redis calculated hash of this key which is foo,  and then that

194
00:16:41,080 --> 00:16:46,840
Hash was in the slot,  which is actually kept on this Master Server.

195
00:16:46,840 --> 00:16:52,470
That's why  internally it Redirected this to correct Slot.

196
00:16:52,480 --> 00:16:52,740
OK.

197
00:16:52,750 --> 00:16:58,390
Again this is something which is taken care internally.  You don't need to worry about.  Okay all of these

198
00:16:58,390 --> 00:17:01,330
things are going to be taken care internally by Redis.

199
00:17:01,780 --> 00:17:09,640
Now here if I set  Value of Hello World, again you see this was supposed to be kept  in this slot, which is

200
00:17:09,640 --> 00:17:12,550
on this address.

201
00:17:12,610 --> 00:17:15,000
So it has redirected again to this address.

202
00:17:15,000 --> 00:17:17,230
Here also you can see your client.

203
00:17:17,230 --> 00:17:24,100
Initially we had connected to 7001,  then based on the slot where it was supposed to perform

204
00:17:24,100 --> 00:17:28,020
this action.  It had  changed the address.

205
00:17:28,020 --> 00:17:34,000
And again in Third Action,  address has been changed.

206
00:17:34,040 --> 00:17:37,450
So now what is going to happen,  if you perform Read operation.

207
00:17:37,450 --> 00:17:37,670
OK.

208
00:17:37,700 --> 00:17:45,960
So as we know,  when we wrote value of foo,  it was stored into or stored to this address.

209
00:17:45,980 --> 00:17:46,280
Okay.

210
00:17:46,280 --> 00:17:52,320
So right now we are connected to 7001 Port and this is the one which is running on

211
00:17:52,320 --> 00:17:52,920
7003

212
00:17:53,300 --> 00:17:59,720
So in this case,  when it is trying to get this value from this server.  Basically this value is not going

213
00:17:59,720 --> 00:18:05,420
to be available and because the hash of this is here.

214
00:18:05,450 --> 00:18:08,560
So again it is going to do a Redirect action.

215
00:18:08,570 --> 00:18:17,480
So let's see that,  Ok as we hit enter.  We can see now it has again Redirected it to the correct address.

216
00:18:17,520 --> 00:18:21,160
So internally Cluster is aware of all of these Slots.

217
00:18:21,240 --> 00:18:27,310
And that's why it is able to recognize where the request needs to be sent to. OK

218
00:18:31,730 --> 00:18:32,810
I have exited.

219
00:18:32,800 --> 00:18:37,040
Now let's see what else we can see.

220
00:18:37,040 --> 00:18:37,580
So

221
00:18:45,530 --> 00:18:46,730
and this is very good

222
00:18:46,730 --> 00:18:47,270
Command.

223
00:18:47,270 --> 00:18:53,690
This is a command which you can use to see status of Redis Cluster and what is the role  of each of the

224
00:18:53,690 --> 00:18:54,320
node.

225
00:18:54,320 --> 00:18:55,580
So if I run  this Command

226
00:18:59,110 --> 00:19:05,200
again you saw I got the error because the port which, which was there is 7000.

227
00:19:05,230 --> 00:19:09,710
But we do not have Redis,  any of the Redis running on 7000.

228
00:19:09,700 --> 00:19:11,930
We are having it running from 7001

229
00:19:11,930 --> 00:19:16,720
So we need to change the port and Lets say,  I want to connect to this instance.

230
00:19:16,940 --> 00:19:24,230
You can run this  command from any of the Redis Client. So I'm going to hit enter and now we're able

231
00:19:24,230 --> 00:19:32,290
to connect and we get the value about Masters and also get the information about Slaves.

232
00:19:44,420 --> 00:19:47,420
The other good command is,  this one Cluster nodes.

233
00:19:50,410 --> 00:19:56,170
so what it does is, it is going to give you information of all the nodes.  Okay and

234
00:19:59,460 --> 00:20:01,930
so this is how it gives all the information.

235
00:20:02,300 --> 00:20:07,770
And now you can see we have a Master Node, then we have another Master Node and this is the Third Master

236
00:20:07,770 --> 00:20:17,240
Node and we also have 3 Slave Nodes.  Okay now let's shut down one of the Master Server and see what

237
00:20:17,240 --> 00:20:17,780
happens.

238
00:20:18,110 --> 00:20:18,540
Okay.

239
00:20:19,260 --> 00:20:30,310
So I will do Redis-cli-P 7001 and then I will do shut down.

240
00:20:30,700 --> 00:20:31,010
Okay.

241
00:20:31,030 --> 00:20:34,480
So what this is going to do is.  It is going to shut down

242
00:20:37,980 --> 00:20:43,080
this one.  Okay because this is the service,  which is running on 7001.  So it is going to shut

243
00:20:43,100 --> 00:20:49,570
down this instance and then we should be seeing any other Slaves becoming the Master.

244
00:20:50,220 --> 00:20:50,870
Okay.

245
00:20:50,940 --> 00:20:59,860
So basically whatever, whoever was the Slave of this master is going to become,  Next Master.

246
00:21:00,060 --> 00:21:01,370
Okay so let's hit Enter

247
00:21:12,830 --> 00:21:13,110
okay.

248
00:21:13,130 --> 00:21:14,810
Now you can see all the logs

249
00:21:27,070 --> 00:21:29,210
so let's try to understand the logs here.

250
00:21:35,320 --> 00:21:36,520
So if you see from here.

251
00:21:36,520 --> 00:21:42,130
So we actually tried to shutdown one of the Masters and then it got disconnected.

252
00:21:42,390 --> 00:21:43,010
Okay.

253
00:21:43,720 --> 00:21:44,560
And after that

254
00:21:48,410 --> 00:21:51,320
Cluster got over there there is a state changed.

255
00:21:51,320 --> 00:21:51,740
Okay.

256
00:21:51,740 --> 00:22:01,460
And after that it started performing other action,  to make other Slave Node turn into a Master.

257
00:22:01,920 --> 00:22:06,460
Okay now I'm going to hit enter and we're going to run the same

258
00:22:06,650 --> 00:22:13,830
Command  to  check information about all the Nodes.  so once you hit enter.  This time you see 7001 is

259
00:22:13,830 --> 00:22:14,870
already down.

260
00:22:14,870 --> 00:22:17,740
So we would't be able  to connect to 7001

261
00:22:17,750 --> 00:22:22,940
So I'm going to just connect to other available nodes. So which is let's see  7003

262
00:22:23,150 --> 00:22:31,500
And once we do that.  Now we can see,  previously we had 7001,7002 and

263
00:22:31,500 --> 00:22:33,930
7003 as a master.

264
00:22:34,740 --> 00:22:39,570
And now we have 7005,  turn to a Master.

265
00:22:39,960 --> 00:22:40,270
Okay

266
00:22:43,270 --> 00:22:46,950
so this was previously the Slave of 7001 node.

267
00:22:54,650 --> 00:22:54,920
So

268
00:22:54,940 --> 00:23:00,880
again you can play around with Redis Clustering.  You can install it in Demo Environment and then you

269
00:23:00,880 --> 00:23:06,940
can also play around with available Clients,  which can interact with Redis Cluster.

270
00:23:07,360 --> 00:23:13,980
So I usually use  Python,  but you can use python or Jython  or probably any other available Clients

271
00:23:14,000 --> 00:23:20,030
depending on the need of your project and then you should play around in the Development.

272
00:23:20,140 --> 00:23:22,570
And that's how you're going to learn more.
