Skip to content

Commit 7fea21e

Browse files
author
Radhika PC
committed
CLOUDSTACK-893 conceptual info around gslb
1 parent 75a2457 commit 7fea21e

2 files changed

Lines changed: 118 additions & 35 deletions

File tree

‎docs/en-US/added-API-commands-4.2.xml‎

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,31 @@
9191
</listitem>
9292
<listitem>
9393
<para>listGlobalLoadBalancerRule</para>
94-
<para>Lists load balancer rules. account (lists resources by account. Use with the domainId
95-
parameter); domainid (lists only resources belonging to the domain specified) id (the unique
96-
ID of the global load balancer rule) isrecursive (defaults to false, but if true, lists all
97-
resources from the parent specified by the domainId till leaves); keyword (List by keyword);
98-
listall (if set to false, list only resources belonging to the command's caller; if set to
99-
true - list resources that the caller is authorized to see. Default value is false); page;
100-
pagesize; projectid (lists objects by project); regionid (region ID); tags (lists resources
101-
by tags: key/value pairs). </para>
94+
<para>Lists load balancer rules.</para>
95+
<para>The request parameters are: account (lists resources by account. Use with the domainid
96+
parameter); domainid (lists only resources belonging to the domain specified); id (the
97+
unique ID of the global load balancer rule); isrecursive (defaults to false; but if true,
98+
lists all the resources from the parent specified by the domainid); keyword (lists by
99+
keyword); listall (if set to false, lists only resources belonging to the command's caller;
100+
if set to true, lists resources that the caller is authorized to see. Default value is
101+
false); page; pagesize; projectid (lists objects by project); regionid ; tags (lists
102+
resources by tags: key/value pairs). </para>
102103
</listitem>
103104
<listitem>
104105
<para>updateGlobalLoadBalancerRule</para>
105-
<para>Archives the specified events. The request parameters are: ids (allowed to pass one or
106-
more IDs separated by comma); type (string); olderthan (yyyy-mm-dd format).</para>
107-
<para>The response parameters are: true, false </para>
106+
<para>Updates global load balancer rules.</para>
107+
<para>The request parameters are: id (the unique ID of the global load balancer rule); account
108+
(lists resources by account. Use with the domainid parameter); description (the description
109+
of the load balancer rule); domainid (lists only resources belonging to the domain
110+
specified); gslblbmethod (the load balancer algorithm that is used to distributed traffic
111+
across the zones participating in global server load balancing, if not specified defaults to
112+
round robin); gslbstickysessionmethodname (the session sticky method; if not specified
113+
defaults to sourceip); isrecursive (defaults to false, but if true, lists all resources from
114+
the parent specified by the domainid till leaves); keyword (lists by keyword); listall (if
115+
set to false, list only those resources belonging to the command's caller; if set to true,
116+
lists resources that the caller is authorized to see. Default value is false); page;
117+
pagesize; projectid (lists objects by project); regionid; tags (lists resources by tags:
118+
key/value pairs)</para>
108119
</listitem>
109120
</itemizedlist>
110121
</section>

‎docs/en-US/gslb.xml‎

Lines changed: 96 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,60 @@
4141
alternate location for accessing a resource in the event of a failure, or to provide a means
4242
of shifting traffic easily to simplify maintenance, or both.</para>
4343
</section>
44+
<section id="gslb-comp">
45+
<title>Components of GSLB</title>
46+
<para>A typical GSLB environment is comprised of the following components:</para>
47+
<itemizedlist>
48+
<listitem>
49+
<para><emphasis role="bold">GSLB Site</emphasis>: In &PRODUCT;terminology, GSLB sites are
50+
represented by zones that are mapped to data centers, each of which has various network
51+
appliances. Each GSLB site is managed by a NetScaler appliance that is local to that site.
52+
Each of these appliances treats its own site as the local site and all other sites,
53+
managed by other appliances, as remote sites.</para>
54+
</listitem>
55+
<listitem>
56+
<para><emphasis role="bold">GSLB Services</emphasis>: A GSLB service is typically
57+
represented by a load balancing or content switching virtual server. In a GSLB
58+
environment, you can have a local as well as remote GSLB services. A local GSLB service
59+
represents a local load balancing or content switching virtual server. A remote GSLB
60+
service is the one configured at one of the other sites in the GSLB setup. At each site in
61+
the GSLB setup, you can create one local GSLB service and any number of remote GSLB
62+
services.</para>
63+
</listitem>
64+
<listitem>
65+
<para><emphasis role="bold">GSLB Virtual Servers</emphasis>: A GSLB virtual server refers to
66+
one or more GSLB services and balances traffic between traffic across the VMs in multiple
67+
zones by using the &PRODUCT; functionality. It evaluates the configured GSLB methods or
68+
algorithms to select a GSLB service to which to send the client requests. One or more
69+
virtual servers from different zones are bound to the GSLB virtual server. GSLB virtual
70+
server does not have a public IP associated with it, instead it will have a FQDN DNS
71+
name.</para>
72+
</listitem>
73+
<listitem>
74+
<para><emphasis role="bold">Load Balancing or Content Switching Virtual Servers</emphasis>:
75+
According to Citrix NetScaler terminology, a load balancing or content switching virtual
76+
server represents one or many servers on the local network. Clients send their requests to
77+
the load balancing or content switching virtual server’s virtual IP (VIP) address, and the
78+
virtual server balances the load across the local servers. After a GSLB virtual server
79+
selects a GSLB service representing either a local or a remote load balancing or content
80+
switching virtual server, the client sends the request to that virtual server’s VIP
81+
address.</para>
82+
</listitem>
83+
<listitem>
84+
<para><emphasis role="bold">DNS VIPs</emphasis>: DNS virtual IP represents a load balancing
85+
DNS virtual server on the GSLB service provider. The DNS requests for domains for which
86+
the GSLB service provider is authoritative can be sent to a DNS VIP.</para>
87+
</listitem>
88+
<listitem>
89+
<para><emphasis role="bold">ADNS</emphasis>: ADNS (Authoritative Domain Name Server) is a
90+
service that provides actual answer to DNS queries, such as web site IP address. In a GSLB
91+
environment, an ADNS service responds only to DNS requests for domains for which the GSLB
92+
service provider is authoritative. When an ADNS service is configured, the service
93+
provider owns that IP address and advertises it. When you create an ADNS service, the
94+
NetScaler responds to DNS queries on the configured ADNS service IP and port.</para>
95+
</listitem>
96+
</itemizedlist>
97+
</section>
4498
<section id="prereq-gslb">
4599
<title>Prerequisites and Guidelines</title>
46100
<itemizedlist>
@@ -63,23 +117,23 @@
63117
</listitem>
64118
<listitem>
65119
<para>When users have VMs deployed in multiple availability zones which are GSLB enabled,
66-
user is allowed to use the GSLB functionality to load balance traffic across the VMs in
67-
multiple zones.</para>
120+
they can use the GSLB functionality to load balance traffic across the VMs in multiple
121+
zones.</para>
68122
</listitem>
69123
<listitem>
70-
<para>The users are allowed to use GSLB to load balance across the VMs across zones in a
71-
region only if the admin has enabled GSLB in that region. </para>
124+
<para>The users can use GSLB to load balance across the VMs across zones in a region only if
125+
the admin has enabled GSLB in that region. </para>
72126
</listitem>
73127
<listitem>
74-
<para>The users are allowed to load balance traffic across the availability zones in the
75-
same region or different regions.</para>
128+
<para>The users can load balance traffic across the availability zones in the same region or
129+
different regions.</para>
76130
</listitem>
77131
<listitem>
78-
<para>The admin is allowed to configure DNS name for the entire cloud.</para>
132+
<para>The admin can configure DNS name for the entire cloud.</para>
79133
</listitem>
80134
<listitem>
81-
<para>The users can specify an unique name, across the cloud, for a globally load balanced
82-
service. The provided name will be used as the domain under the DNS name associated with
135+
<para>The users can specify an unique name across the cloud for a globally load balanced
136+
service. The provided name is used as the domain name under the DNS name associated with
83137
the cloud.</para>
84138
<para>The user-provided name along with the admin-provided DNS name is used to produce a
85139
globally resolvable FQDN for the globally load balanced service of the user. For example,
@@ -88,13 +142,12 @@
88142
foo.xyztelco.com.</para>
89143
</listitem>
90144
<listitem>
91-
<para>While setting up GSLB, users can select a load balancing method, such as round robin
92-
or least RTT, that would be the load balance traffic used across the zones that are part
93-
of GSLB.</para>
145+
<para>While setting up GSLB, users can select a load balancing method, such as round robin,
146+
for using across the zones that are part of GSLB.</para>
94147
</listitem>
95148
<listitem>
96149
<para>The user shall be able to set weight to zone-level virtual server. Weight shall be
97-
considered by the load balancing method is distributing the traffic.</para>
150+
considered by the load balancing method for distributing the traffic.</para>
98151
</listitem>
99152
<listitem>
100153
<para>The GSLB functionality shall support session persistence, where series of client
@@ -103,6 +156,24 @@
103156
</listitem>
104157
</itemizedlist>
105158
</section>
159+
<section id="gslb-workflow">
160+
<title>Configuring GSLB</title>
161+
<para>To configure GSLB in your cloud environment, as a cloud administrator you must perform the
162+
following.</para>
163+
<para>To configure such a GSLB setup, you must first configure a standard load balancing setup
164+
for each server farm or data center. This enables you to balance load across the different
165+
servers in each server farm. Then, configure both NetScaler appliances as authoritative DNS
166+
(ADNS) servers. Next, create a GSLB site for each server farm, configure GSLB virtual servers
167+
for each site, create GLSB services, and bind the GSLB services to the GSLB virtual servers.
168+
Finally, bind the domain to the GSLB virtual servers. The GSLB configurations on the two
169+
appliances at the two different sites are identical, although each sites load-balancing
170+
configuration is specific to that site.</para>
171+
<orderedlist>
172+
<listitem>
173+
<para/>
174+
</listitem>
175+
</orderedlist>
176+
</section>
106177
<section id="gslb-add">
107178
<title>Adding a GSLB Rule</title>
108179
<orderedlist>
@@ -174,17 +245,18 @@
174245
</section>
175246
<section id="concept-gslb">
176247
<title>How Does GSLB Works in &PRODUCT;?</title>
177-
<para>The following is an illustrated conceptual model of how GLSB functionality is provided in
178-
&PRODUCT;: An organization, xyztelco, has set up a public cloud that spans two zones, Zone-1
179-
and Zone-2, across geographically separated data centers that are managed by &PRODUCT;.
180-
Tenant-A of the cloud launches a highly available solution by using xyztelco cloud. For that
181-
purpose, they launch two instances each in both the zones: VM1 and VM2 in Zone-1 and VM5 and
182-
VM6 in Zone-2. Tenant-A acquires a public IP, IP-1 in Zone-1, and configures a load balancer
183-
rule to load balance the traffic between VM1 and VM2 instances. &PRODUCT; orchestrates setting
184-
up a virtual server on the LB service provider in Zone-1. Virtual server 1 that is set up on
185-
the LB service provider in Zone-1 represents a publicly accessible virtual server that client
186-
reaches at IP-1. The client traffic to virtual server 1 at IP-1 will be load balanced across
187-
VM1 and VM2 instances. </para>
248+
<para>Global server load balancing is used to manage traffic flow to a web site hosted on two
249+
separate zones that ideally are in different geographic locations. The following is an
250+
illustration of how GLSB functionality is provided in &PRODUCT;: An organization, xyztelco,
251+
has set up a public cloud that spans two zones, Zone-1 and Zone-2, across geographically
252+
separated data centers that are managed by &PRODUCT;. Tenant-A of the cloud launches a highly
253+
available solution by using xyztelco cloud. For that purpose, they launch two instances each
254+
in both the zones: VM1 and VM2 in Zone-1 and VM5 and VM6 in Zone-2. Tenant-A acquires a public
255+
IP, IP-1 in Zone-1, and configures a load balancer rule to load balance the traffic between
256+
VM1 and VM2 instances. &PRODUCT; orchestrates setting up a virtual server on the LB service
257+
provider in Zone-1. Virtual server 1 that is set up on the LB service provider in Zone-1
258+
represents a publicly accessible virtual server that client reaches at IP-1. The client
259+
traffic to virtual server 1 at IP-1 will be load balanced across VM1 and VM2 instances. </para>
188260
<para>Tenant-A acquires another public IP, IP-2 in Zone-2 and sets up a load balancer rule to
189261
load balance the traffic between VM5 and VM6 instances. Similarly in Zone-2, &PRODUCT;
190262
orchestrates setting up a virtual server on the LB service provider. Virtual server 2 that is

0 commit comments

Comments
 (0)