Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If statement based on IP address?
2014-02-05, 00:21
Post: #5
RE: If statement based on IP address?
If you have a GeoLoad Balancer, you can solve this problem with no scripting, GLB would select the "closest" one.

Also, If your datacenters have unique DNS Suffixes, you could search based on ${15}

Many newer DataCenters have geographical and location markers built into their DNS Suffixes:

e.g.

echo ${15}

aisle1.floor2.yourdatacenter.net which are then assigned a CNAME to make the 'local' DNS Suffix be "hidden" from the "outside" e.g.: yourcompany.com

"Thus far, you have been adrift within the sheltered harbor of my patience..."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: If statement based on IP address? - MultimediaMan - 2014-02-05 00:21



User(s) browsing this thread: 1 Guest(s)