Hello and welcome to this last lecture of the course in this lecture we will do some testing with the
cluster configured an active active and I will also introduce you with an advanced option that is not
available in the graphical user interface.
So we will change some some settings by using the CLIA or the command line.
So now I am logging in.
So admin and not password I should see both for firewalls and they are here the master.
It's two hundred and fifty priority and I have changed the priority for the slave one.
The second one to be two hundred.
So I wanted to be different so that there is no election based on serial numbers and other criteria.
I wanted to be something simple and very easy to to inspect to visually inspect.
Now at this moment I should have ICMP connectivity and I have to go to the Internet and to have even
more results.
We will do like this.
So we will introduce two more users on the land and I will use now the virtual P.C. simulator by keeping
the shift key press down and dragging the node into the into the topology.
You'll have the option to basically to insert more than one nodes.
So there are two here and I would choose the the server to run this to VPC us into the genus free VM.
And the second one is well.
And here they are.
So let's say that I will also change the hostname and I will say User 2 because we have the land P.C.
as User 1 and I will say that this one is let's say user 3.
So user 3.
And.
OK.
Now I will connect them.
So I will use this button at a link click on it.
Select the new card only one available.
But that's that's fine.
And this one.
And again the new card.
And the next available port.
This one we have to power these devices.
So let's say start.
And the same for user 3.
So start and we will have to configure IP addressing on this to tool users.
So right click and go to council.
And this is the way you do it.
So again this information is available in the genius 3 free course.
But I will do it here also.
So set no set.
Let's do a question mark.
So here's what we do configure the current VPC VPC is IP setting.
So we'll say IP then you can see here IP in question mark.
So question mark and enter and this is the format the VPC is expecting first it's our IP address slash
subnet mask and the default gateway.
So I will say IP 1 9 to the 1 6 say that 100 Dot.
Let's say this one is 50 the windows P.C. it's 100.
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
dot to five for its checking for duplicate address.
And now let's test connectivity to the Internet and it's working and let's do the same for users 3.
So console IP 1 9 2 the 6 say dot 100 Dot.
Let's say this one is one hundred and fifty slash 24.
And the gateway 1 and 2 that once you say that 100 dot again 2 5 for checking again for the address
on the wire on the land and it's applied let's say being a radar that great.
Perfect.
So we have connectivity.
So this is what I will do.
So I will leave this one here and let's say also the second one.
So user to this one here and being iterate that aid.
I will do minus C and I will send like thousand packets.
I will do the same on this one.
So being a lower rate than a trade minus C and A Thousand packets and I will initiate a ping as well
as well from the windows b c.
Good.
Now we have everything up and running and prepared for testing so let's see how I can do it.
Okay.
Now I will go to the genius 3 and power off the first machine and the result is that this one should
the second 48 should become master and hopefully we'll see very few little two to two none packets dropped.
So let's do it.
So I will extend the session.
I will leave it like this and just say stop.
So let's see one packet dropped two packets dropped here to here two and the failover has been has been
propagated here.
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
that's 48 2 So 48 2 is the only one master it's the only one active.
So let's do it like this now.
We've seen it work we've seen that only few packets have been dropped in the VPC has two packets in
the windows b c only one I will now power again the 48 dash one and hopefully it will be game master
right.
So let's see if this happens
so no packets dropped until now let's also take a look here so yeah no back has dropped let's wait for
the 48 final 48 one two but I will do a refresher
and here they are.
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
priority of 200 250 for the second one for gate.
There's one.
It's in the cluster now but it's slave configuration.
As you can see with the green tick it's synchronized.
So how come we have priority 200 hundred and priority 20 and 50 and the highest priority it's slave.
That's a good question right.
So let's take a look now into the sea line and see basically what's the reasoning behind this.
So why did it did it not elect again 48 1 as the master.
So if you want to look for the for the information another running configuration but the current status
you would say get system H.A. status enter and look here.
So these are our number meaning 48 Dash 2 is selected as as the master because it has the largest value
of uptime.
Okay.
So if you want the cluster to renegotiate again to renegotiate the massive roll we would have to do
some configuration.
So basically when the master is.
So when that when the freed one comes back online again it should read.
I don't know reelect itself is massive because it has the larger priority.
And let's see show system a J.
So we are now looking at the configuration not the current status.
And here we have this option set override as disable override meaning.
OK.
I have the the bigger priority I want when I come back online to become master again.
So let's change this and say configure system a J set override question mark enable or disable it is
now disable I will enable it enable and end show system a change.
Now it says set override enable.
Perfect.
So let's get back again to the user one and you will user 2 and the three have still connectivity.
I will again this time I will.
Let's see how we do it.
I will pour off again this one for you.
That's one at this moment for that that's.
We have seen it as being master.
So if I go to Windows 10 and choose the first one I will say refresh.
We have now 48 2 with two priority.
It's the master going to the genius tree.
I see 48 one part off I will power it back on.
So start 48 1 it's starting no peak and drops here
and let's go to the graphical user interface and do some refresh until 48 dash 1 comes back online.
And we can see now that 48 2 is still is still the master has priority of two hundred this one is 250
it shows us master and 48 one with one in 50 it shows it's slave.
So let's look at the configuration again.
So extend session of 48 1 and 48 to 48 1.
It's not responding so I will open a new console or 48 one console and let's say admin show system shows
them a J.
It says set override as disable.
That's why it didn't trigger again.
So the the mass of re-election.
So config system AJ said override as enable and check again the configuration so show system a J.
H H says set override enable.
Let's also check the 48 Dash 2 so console admin.
Show the system HK set override enabled.
Perfect.
Let's do the test again and probably I mean this time it should work because this is what this option
override does.
So again I will stop it because now for the gate 2 It's the master at this moment.
It shouldn't do any any any trouble to the traffic.
We've seen two packets here.
Let's go and take a look in this one.
Only one so the pattern is the same.
Logging back in admin we should see 48 to perfect.
And now I will go again and eight one will get some power.
Start for you 1.
It's starting.
Let's have a look on the user 2 3 and see if any packets dropped undetected
nothing yet.
Let's take a look on the graphical user interface refresh I think get
so I believe this is the moment where basically the H.A. failover hasn't been done this log in again
admin.
Now I'm I am on 48 1.
And look here.
So 48 1 with a 250 priority is now the master for you two.
It's now the slave as I have mentioned in a previous lecture.
There are options that are not available in the graphical user interface and you'd have to use the the
CLIA.
So this is basically how it works in active active or active passive.
It's not that hard to configure but as you have seen there are some some necessary steps you have to
go through and I hope that this course you'll find as useful and use all the information on this course
to practice on your own laptop so that you can master the topics and become a better engineer.
So I'd like to thank you and see you in an upcoming course.