Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

DNS Stickiness without GSDB

We are running GSLB between two sites.Configured CSS11503 as dns-server zone 1 and dns-server zone 2.The application require site stickiness to the same site until it completes the transaction.

We decided to use DNS stickiness without GSDB

Can some confirm how the CSS responds to client queries and which DNS-A record it will respond with

dns-server

dns-server Zone1

test.zone1.xyz.com 1.1.1.1 10 single kal-icmp 1.1.1.1 100 sticky-enabled

dns-server Zone2

dns-server

test.zone1.xyz.com 2.1.1.1 10 single kal-icmp 2.1.1.1 100 sticky-enabled

Can we confiure the CSS such that it always give the DNS A-record confiured at Zone1 for all the clients

and incase of failure the CSS handsover the DNS A-recored at Zone2.

Thanks in Advance

3 REPLIES
Cisco Employee

Re: DNS Stickiness without GSDB

Hi,

The config below should get you going:

dns-server

dns-server Zone1 tier1 "site1" weightedrr

test.zone1.xyz.com 1.1.1.1 10 single kal-icmp 1.1.1.1 100 sticky-enabled

dns-server Zone2 tier1 "site2" weightedrr

dns-server

test.zone1.xyz.com 2.1.1.1 10 single kal-icmp 2.1.1.1 100 sticky-enabled 0

notice that the zone was modified to use the weighted round robin algorithm. also, the site 2 record has a weight of "0" so it only will get requests when site 1 is down.

note: I am presuming you already have the app session configured. the GSLB configuration guide covers the app session as well as other GSLB configuraiton aspects. It is located at: http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.20_v8.10/configuration/gslb/guide/gslbgd.html

hope that helps

-Steve

New Member

Re: DNS Stickiness without GSDB

Hi Steve,

Thanks for the reply.

Is there way to confiure the DNS-Balaning method as weightdrr on the specific dns-record instead of the the dns-server zone ?

I guess this will effect the existing dns-records configured as round-robin which is default.

please advice me on this

Cisco Employee

Re: DNS Stickiness without GSDB

Yes, you can have leave the zone as the default method (round robin) and configure the balance method of weighted round robin in the record. Any balance configured in the record will supercede the zone balance method. The record configuration would then look like:

dns-server

dns-server Zone1 tier1 "site1"

dns-record a test.zone1.xyz.com 1.1.1.1 10 single kal-icmp 1.1.1.1 100 sticky-enabled weightedrr

dns-server Zone2 tier1 "site2"

dns-server

dns-record a weightedrrtest.zone1.xyz.com 2.1.1.1 10 single kal-icmp 2.1.1.1 100 sticky-enabled weightedrr 0

hope that helps

-Steve

142
Views
0
Helpful
3
Replies
CreatePlease to create content