1 00:00:06,530 --> 00:00:12,080 Hello and welcome to this last lecture of the course in this lecture we will do some testing with the 2 00:00:12,080 --> 00:00:20,330 cluster configured an active active and I will also introduce you with an advanced option that is not 3 00:00:20,330 --> 00:00:22,330 available in the graphical user interface. 4 00:00:22,340 --> 00:00:27,900 So we will change some some settings by using the CLIA or the command line. 5 00:00:28,910 --> 00:00:31,250 So now I am logging in. 6 00:00:31,730 --> 00:00:39,040 So admin and not password I should see both for firewalls and they are here the master. 7 00:00:39,030 --> 00:00:44,210 It's two hundred and fifty priority and I have changed the priority for the slave one. 8 00:00:44,210 --> 00:00:46,900 The second one to be two hundred. 9 00:00:47,010 --> 00:00:53,750 So I wanted to be different so that there is no election based on serial numbers and other criteria. 10 00:00:53,780 --> 00:01:00,410 I wanted to be something simple and very easy to to inspect to visually inspect. 11 00:01:00,410 --> 00:01:09,560 Now at this moment I should have ICMP connectivity and I have to go to the Internet and to have even 12 00:01:09,560 --> 00:01:11,030 more results. 13 00:01:11,030 --> 00:01:12,280 We will do like this. 14 00:01:12,350 --> 00:01:19,850 So we will introduce two more users on the land and I will use now the virtual P.C. simulator by keeping 15 00:01:20,250 --> 00:01:26,510 the shift key press down and dragging the node into the into the topology. 16 00:01:26,510 --> 00:01:30,800 You'll have the option to basically to insert more than one nodes. 17 00:01:31,400 --> 00:01:40,490 So there are two here and I would choose the the server to run this to VPC us into the genus free VM. 18 00:01:40,490 --> 00:01:43,340 And the second one is well. 19 00:01:43,550 --> 00:01:44,860 And here they are. 20 00:01:45,920 --> 00:01:58,400 So let's say that I will also change the hostname and I will say User 2 because we have the land P.C. 21 00:01:58,460 --> 00:02:04,750 as User 1 and I will say that this one is let's say user 3. 22 00:02:05,550 --> 00:02:06,580 So user 3. 23 00:02:06,620 --> 00:02:07,070 And. 24 00:02:07,070 --> 00:02:07,790 OK. 25 00:02:08,060 --> 00:02:09,410 Now I will connect them. 26 00:02:09,410 --> 00:02:13,760 So I will use this button at a link click on it. 27 00:02:13,760 --> 00:02:16,120 Select the new card only one available. 28 00:02:16,130 --> 00:02:17,350 But that's that's fine. 29 00:02:17,360 --> 00:02:19,040 And this one. 30 00:02:19,040 --> 00:02:20,600 And again the new card. 31 00:02:20,600 --> 00:02:22,140 And the next available port. 32 00:02:22,190 --> 00:02:25,830 This one we have to power these devices. 33 00:02:25,850 --> 00:02:28,130 So let's say start. 34 00:02:28,370 --> 00:02:30,920 And the same for user 3. 35 00:02:31,010 --> 00:02:38,150 So start and we will have to configure IP addressing on this to tool users. 36 00:02:38,240 --> 00:02:40,670 So right click and go to council. 37 00:02:41,960 --> 00:02:43,850 And this is the way you do it. 38 00:02:44,000 --> 00:02:47,550 So again this information is available in the genius 3 free course. 39 00:02:47,690 --> 00:02:50,610 But I will do it here also. 40 00:02:50,630 --> 00:02:53,720 So set no set. 41 00:02:53,840 --> 00:02:54,890 Let's do a question mark. 42 00:02:56,150 --> 00:03:01,510 So here's what we do configure the current VPC VPC is IP setting. 43 00:03:01,940 --> 00:03:05,450 So we'll say IP then you can see here IP in question mark. 44 00:03:05,810 --> 00:03:14,930 So question mark and enter and this is the format the VPC is expecting first it's our IP address slash 45 00:03:14,930 --> 00:03:17,300 subnet mask and the default gateway. 46 00:03:17,690 --> 00:03:23,780 So I will say IP 1 9 to the 1 6 say that 100 Dot. 47 00:03:23,780 --> 00:03:28,460 Let's say this one is 50 the windows P.C. it's 100. 48 00:03:28,460 --> 00:03:35,840 So this one let's say it's 50 is left 24 and now the default gateway it's 1 and 2 once exceed one hundred 49 00:03:35,840 --> 00:03:41,130 dot to five for its checking for duplicate address. 50 00:03:41,420 --> 00:03:49,130 And now let's test connectivity to the Internet and it's working and let's do the same for users 3. 51 00:03:49,130 --> 00:03:56,090 So console IP 1 9 2 the 6 say dot 100 Dot. 52 00:03:56,240 --> 00:03:59,490 Let's say this one is one hundred and fifty slash 24. 53 00:03:59,510 --> 00:04:09,170 And the gateway 1 and 2 that once you say that 100 dot again 2 5 for checking again for the address 54 00:04:09,290 --> 00:04:16,070 on the wire on the land and it's applied let's say being a radar that great. 55 00:04:16,580 --> 00:04:17,080 Perfect. 56 00:04:17,090 --> 00:04:18,540 So we have connectivity. 57 00:04:18,650 --> 00:04:20,420 So this is what I will do. 58 00:04:20,630 --> 00:04:28,510 So I will leave this one here and let's say also the second one. 59 00:04:28,510 --> 00:04:35,280 So user to this one here and being iterate that aid. 60 00:04:35,330 --> 00:04:40,650 I will do minus C and I will send like thousand packets. 61 00:04:40,990 --> 00:04:42,340 I will do the same on this one. 62 00:04:42,680 --> 00:04:53,480 So being a lower rate than a trade minus C and A Thousand packets and I will initiate a ping as well 63 00:04:53,510 --> 00:04:56,300 as well from the windows b c. 64 00:04:56,300 --> 00:04:56,630 Good. 65 00:04:57,440 --> 00:05:06,030 Now we have everything up and running and prepared for testing so let's see how I can do it. 66 00:05:06,110 --> 00:05:08,200 Okay. 67 00:05:08,990 --> 00:05:15,750 Now I will go to the genius 3 and power off the first machine and the result is that this one should 68 00:05:16,160 --> 00:05:25,690 the second 48 should become master and hopefully we'll see very few little two to two none packets dropped. 69 00:05:25,910 --> 00:05:26,580 So let's do it. 70 00:05:26,720 --> 00:05:29,720 So I will extend the session. 71 00:05:29,720 --> 00:05:34,440 I will leave it like this and just say stop. 72 00:05:35,900 --> 00:05:47,840 So let's see one packet dropped two packets dropped here to here two and the failover has been has been 73 00:05:47,840 --> 00:05:49,560 propagated here. 74 00:05:49,580 --> 00:05:59,180 I've seen only one packet dropped if I now log in to the same IP address again 2 5 4 it should say Yep 75 00:05:59,330 --> 00:06:05,050 that's 48 2 So 48 2 is the only one master it's the only one active. 76 00:06:05,540 --> 00:06:07,290 So let's do it like this now. 77 00:06:07,880 --> 00:06:14,390 We've seen it work we've seen that only few packets have been dropped in the VPC has two packets in 78 00:06:14,390 --> 00:06:23,080 the windows b c only one I will now power again the 48 dash one and hopefully it will be game master 79 00:06:23,090 --> 00:06:23,490 right. 80 00:06:23,810 --> 00:06:25,550 So let's see if this happens 81 00:06:28,250 --> 00:06:39,850 so no packets dropped until now let's also take a look here so yeah no back has dropped let's wait for 82 00:06:39,850 --> 00:06:46,120 the 48 final 48 one two but I will do a refresher 83 00:06:49,220 --> 00:06:50,760 and here they are. 84 00:06:50,780 --> 00:06:59,980 Well if it if it's not a surprise for you here you can see that for gate to its master and it has a 85 00:06:59,980 --> 00:07:04,460 priority of 200 250 for the second one for gate. 86 00:07:04,540 --> 00:07:05,440 There's one. 87 00:07:05,680 --> 00:07:10,150 It's in the cluster now but it's slave configuration. 88 00:07:10,180 --> 00:07:12,750 As you can see with the green tick it's synchronized. 89 00:07:13,270 --> 00:07:22,230 So how come we have priority 200 hundred and priority 20 and 50 and the highest priority it's slave. 90 00:07:22,360 --> 00:07:23,470 That's a good question right. 91 00:07:23,950 --> 00:07:30,370 So let's take a look now into the sea line and see basically what's the reasoning behind this. 92 00:07:30,700 --> 00:07:36,500 So why did it did it not elect again 48 1 as the master. 93 00:07:36,610 --> 00:07:42,790 So if you want to look for the for the information another running configuration but the current status 94 00:07:42,850 --> 00:07:52,570 you would say get system H.A. status enter and look here. 95 00:07:52,720 --> 00:08:00,040 So these are our number meaning 48 Dash 2 is selected as as the master because it has the largest value 96 00:08:00,040 --> 00:08:01,680 of uptime. 97 00:08:01,750 --> 00:08:02,740 Okay. 98 00:08:02,920 --> 00:08:10,360 So if you want the cluster to renegotiate again to renegotiate the massive roll we would have to do 99 00:08:10,360 --> 00:08:11,980 some configuration. 100 00:08:12,010 --> 00:08:15,330 So basically when the master is. 101 00:08:15,430 --> 00:08:20,510 So when that when the freed one comes back online again it should read. 102 00:08:20,860 --> 00:08:26,080 I don't know reelect itself is massive because it has the larger priority. 103 00:08:26,080 --> 00:08:29,580 And let's see show system a J. 104 00:08:29,620 --> 00:08:33,700 So we are now looking at the configuration not the current status. 105 00:08:33,700 --> 00:08:39,160 And here we have this option set override as disable override meaning. 106 00:08:39,190 --> 00:08:39,650 OK. 107 00:08:39,670 --> 00:08:45,880 I have the the bigger priority I want when I come back online to become master again. 108 00:08:45,880 --> 00:08:55,210 So let's change this and say configure system a J set override question mark enable or disable it is 109 00:08:55,210 --> 00:09:04,180 now disable I will enable it enable and end show system a change. 110 00:09:04,960 --> 00:09:07,700 Now it says set override enable. 111 00:09:08,020 --> 00:09:08,800 Perfect. 112 00:09:08,800 --> 00:09:17,730 So let's get back again to the user one and you will user 2 and the three have still connectivity. 113 00:09:17,770 --> 00:09:21,700 I will again this time I will. 114 00:09:21,760 --> 00:09:23,290 Let's see how we do it. 115 00:09:23,310 --> 00:09:25,540 I will pour off again this one for you. 116 00:09:25,560 --> 00:09:29,760 That's one at this moment for that that's. 117 00:09:29,770 --> 00:09:32,250 We have seen it as being master. 118 00:09:32,410 --> 00:09:39,700 So if I go to Windows 10 and choose the first one I will say refresh. 119 00:09:40,570 --> 00:09:43,390 We have now 48 2 with two priority. 120 00:09:43,480 --> 00:09:47,600 It's the master going to the genius tree. 121 00:09:47,620 --> 00:09:51,430 I see 48 one part off I will power it back on. 122 00:09:51,670 --> 00:09:57,840 So start 48 1 it's starting no peak and drops here 123 00:10:00,930 --> 00:10:10,620 and let's go to the graphical user interface and do some refresh until 48 dash 1 comes back online. 124 00:10:15,250 --> 00:10:24,010 And we can see now that 48 2 is still is still the master has priority of two hundred this one is 250 125 00:10:24,520 --> 00:10:30,290 it shows us master and 48 one with one in 50 it shows it's slave. 126 00:10:30,460 --> 00:10:32,510 So let's look at the configuration again. 127 00:10:32,530 --> 00:10:40,260 So extend session of 48 1 and 48 to 48 1. 128 00:10:40,330 --> 00:10:52,570 It's not responding so I will open a new console or 48 one console and let's say admin show system shows 129 00:10:52,810 --> 00:10:57,140 them a J. 130 00:10:57,730 --> 00:11:00,280 It says set override as disable. 131 00:11:00,340 --> 00:11:03,000 That's why it didn't trigger again. 132 00:11:03,010 --> 00:11:05,710 So the the mass of re-election. 133 00:11:05,710 --> 00:11:19,060 So config system AJ said override as enable and check again the configuration so show system a J. 134 00:11:19,120 --> 00:11:21,360 H H says set override enable. 135 00:11:21,360 --> 00:11:29,300 Let's also check the 48 Dash 2 so console admin. 136 00:11:29,680 --> 00:11:34,450 Show the system HK set override enabled. 137 00:11:34,540 --> 00:11:35,110 Perfect. 138 00:11:35,110 --> 00:11:42,280 Let's do the test again and probably I mean this time it should work because this is what this option 139 00:11:42,280 --> 00:11:43,780 override does. 140 00:11:43,780 --> 00:11:53,300 So again I will stop it because now for the gate 2 It's the master at this moment. 141 00:11:55,060 --> 00:11:59,320 It shouldn't do any any any trouble to the traffic. 142 00:11:59,320 --> 00:12:01,570 We've seen two packets here. 143 00:12:01,960 --> 00:12:04,870 Let's go and take a look in this one. 144 00:12:04,870 --> 00:12:07,700 Only one so the pattern is the same. 145 00:12:07,990 --> 00:12:14,360 Logging back in admin we should see 48 to perfect. 146 00:12:14,410 --> 00:12:19,490 And now I will go again and eight one will get some power. 147 00:12:19,660 --> 00:12:23,290 Start for you 1. 148 00:12:23,290 --> 00:12:24,340 It's starting. 149 00:12:24,340 --> 00:12:32,440 Let's have a look on the user 2 3 and see if any packets dropped undetected 150 00:12:37,790 --> 00:12:39,550 nothing yet. 151 00:12:39,770 --> 00:12:45,200 Let's take a look on the graphical user interface refresh I think get 152 00:12:49,860 --> 00:12:59,270 so I believe this is the moment where basically the H.A. failover hasn't been done this log in again 153 00:12:59,300 --> 00:13:01,860 admin. 154 00:13:02,790 --> 00:13:05,640 Now I'm I am on 48 1. 155 00:13:06,030 --> 00:13:07,560 And look here. 156 00:13:07,560 --> 00:13:13,920 So 48 1 with a 250 priority is now the master for you two. 157 00:13:13,980 --> 00:13:17,970 It's now the slave as I have mentioned in a previous lecture. 158 00:13:17,970 --> 00:13:24,530 There are options that are not available in the graphical user interface and you'd have to use the the 159 00:13:24,630 --> 00:13:25,210 CLIA. 160 00:13:25,860 --> 00:13:31,290 So this is basically how it works in active active or active passive. 161 00:13:31,320 --> 00:13:37,020 It's not that hard to configure but as you have seen there are some some necessary steps you have to 162 00:13:37,020 --> 00:13:45,870 go through and I hope that this course you'll find as useful and use all the information on this course 163 00:13:45,930 --> 00:13:52,560 to practice on your own laptop so that you can master the topics and become a better engineer. 164 00:13:52,560 --> 00:13:56,460 So I'd like to thank you and see you in an upcoming course.