RSS 

How To: Setup Global Server Load Balancing (Part 2 of 2)

In this AskSupport How To video you will learn how to Setup Global Server Load Balancing (Part 2 of 2)

Tags: technical support netscaler how to
Views: 2,073
Rating: 5

Transcript : Now, when I created those sites, I did not choose if it was local or remote. Okay? You can see here, my default’s taken up the type of remote, right, which is not really what I’m looking for here. So I’m just going to go back here and remove this. Tell it that it’s local. There we go. And do the same over here. These names I’m typing in for each of the sites don’t have to match. Okay? It’s just a local site. I can type whatever I want to in here, just something that makes sense to you. Click Create. Okay. Now you can see, the Metric Exchange Status is active. Okay? And refresh this. Metric Exchange Status is active, okay, for the remote sites. So now we know that the two sites are talking to each other. Okay. That’s metric exchange protocol, swapping information, the metric information about the individual sites. And that’s how we calculate or make GSLB decisions. All right. So, my next step is I have to create a service. Right? Now I’m going to type in here, it’s going to be a local service. I’m on the site which has the red server, so I’m going to choose here to virtual server. That’ll be server red. Now I get this pop-up saying no server exists with this. This is effectively like…the GSLB service is like a wrapper for the low balance V server. Okay? So we have to create a server entity for the V server IP address. So I’ll just say yes to that. And just give it a name, local-red-gslb-service. There we go. I just click Create. Okay. Now, while I’m here, let’s add the remote one. Okay? So, I’ll give it a name, remote-green-gslb-service. Okay. Now, it doesn’t appear in this dropdown. Virtual server does not have a dropdown here. So we have to just create a new server entity. I’m gonna call it greengslbserver. This just creates a server identity with an IP address. Okay. This is the IP of my WIP on this system here, okay, on my other NetScaler. So I just click Create. And I’m happy with everything else that’s there. And click Create. It just takes a second, and we’ll add it in then, in the config. Our step-on (inaudible) is finished. There we go. Hit Close. And we can see that’s up. And now I’m going to step on to the other system and create the services here. So again, create the local services. I’m on the green system, so local site is going to be the green V server, local-green-gslb. Now notice it’s giving different names here, just showing that you don’t have to match names up on each site. Okay? That’s not necessary. Click Create. And then I do the remote site. Remote…just giving this names that make sense. So that when you look at the services, we know which ones are local, which ones are remote. Local…remote-red-gslb-vserver. Now, we have to do the same thing here. Specify remote-red-vserver, for example, and the IP address. Okay. Create. Click Create. Here we go. So these ones are up and running. Now, we’re on to the last stage. Right? Create the V server. So I click Add here. I’m going to call it red-green-gslbvserver, like so. Bind my two services to it. And here is where we integrate the DNS name. You’re probably wondering where that is, so where we do that. So here, we’re going to call it www.citrixtv-gslb.com. Right. Just make you up a name. Let me just throw this in here. No. Doesn’t exist. Get an error. I click Create. There we go. I click Create again, and that’s it. There’s my V server. My GSLB V server is up and running. So now any DNS requests coming into this NetScaler for this DNS name are going to respond with an IP address. So, let me see, which server am I connected to. I want to connect to 52. (Inaudible) And there we are. Now it’s resolving. It’s giving me this IP address. So that’s GSLB making that decision. Now, you can see I’ve done round robin. Now it’s giving me 147. Now it’s giving me 52. Now it’s giving me 147. So that’s just round robin working in GSLB, each time giving me a different IP address. So, that’s it in effect. I could go on to my second appliance here, just for completeness sake. And we need to create also the V server here. So, I’ll just call this red-green-gslbvserver. Specify the FQDN, www.citrixtv-gslb.com. Click create. Click create. Okay, so here we have a little message: Binding one or more domains failed. A proxy record cannot be assigned to the domain. All right. So, it’s basically created the V server here. If I open this up again and check the domains, I don’t see the domain name band. So I’m just going to go here into DNS records, right, and flush the proxy records. Back here again. I should be able to add that record now. That happens sometimes. Usually happens when I’m doing a live demonstration, like this. There we go. Now. So now I can type server. 10.90.196.147. And now I’m going to talk to the other DNS server and make the same request. And there we are. 147. 52. 147. 52. So, basically what’s happening is, this DNS request is terminating on the NetScaler appliance. It doesn’t pass it through to the backend. It simply responds. Okay. Now, if I go to my web browser…actually, I have to change my…I need to change my DNS server here, my TCP settings, to point to one of these NetScalers. So I just quickly do that. Add. And we see I get the green server. So that’s the one it’s going to use. Now we don’t see any load balancing happening here. Right? We don’t see any load balancing happening. Why is that? The reason is, that record has a time to live, and it’s being remembered locally. Okay? So each user will get sent to one site and then they continue to be sent to that site. We also have site persistence, which can be configured, in the…like any load balanced V server, on the GSLB V server, we have persistence methods, methods on persistence. So each connection—we’re doing some round robin there until we get these connections metrics built up. And we have persistence here. So that’s basically a quick sample demonstration of GSLB, how it’s set up, how it’s configured. Thanks so much for watching. If you have any questions, please don’t be afraid to click the link at the bottom of the page where you are watching this video. There should hopefully be a e-mail link that should filter its way through to me. Alternatively, please feel free to use our forums. So our Citrix support forums are very useful, and lots of folks there, including myself, who are more than happy to help out answering your questions. Thanks for watching. Have a nice day.

anonymous - <P>How To: Setup Global Server Load Balancing (Part 1 of 2)</P> <P>How To: Setup Global Server Load Balancing (Part 2 of 2)</P> <P>VERY INTERESTING!!! Strongly recommend both of them!</P>

anonymous - Your videos are the best, seen a few others on here and they ain't anywhere near as good a presentation. Got the right voice and pace for it. These are enjoyable to watch and if you add a little background music like adiran lux - teenage crime it makes it awesome. <br>

Log In