Syed Jahanzaib – Personal Blog to Share Knowledge !

March 27, 2012

Forefront TMG 2010 ISP Redundancy : Configuring verification of link status


Modifying dead link detection periods

Howto reduce Dead/Available Link Detection Time out Frequency: Use the following vbs file,

Copy Paste the following code in notepad, and save it as TMG.VBS and edit it as per your requirement. then double click it to run on TMG.

set root=CreateObject("FPC.Root")
set arr=root.GetContainingArray()
set ExtNet=arr.NetworkConfiguration.Networks("External")
set ISPRCfg=ExtNet.ISPRedundancyConfig
ISPRCfg.MinimalResumeTime = 10
ISPRCfg.TestIntervalLinkAvailable = 10
ISPRCfg.TestIntervalLinkUnavailable = 10
ISPRCfg.FailuresToUnavailable = 1
ISPRCfg.SuccessesToAvailable = 1
ISPRCfg.Save

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Configuring verification of link status

In the default setting, TMG checks the status of the ISP link by trying to establish a TCP connection on port 53 (DNS zone transfer) to a list* of root DNS server on a round robin basis. If a connection can be established, TMG will consider the link active.

Although, the IP addresses and the TCP port used for the verification cannot be configured directly from the management console, If you need to modify these settings, e.g. because you setup your TMG server without direct access to the internet, you can do this by using the TMG COM, through simple Visual Basic script like this one: Following script is to change the root dns entries in TMG , which are used while tracking link detection.

set root=CreateObject("FPC.Root")
set arr=root.GetContainingArray()
set ExtNet=arr.NetworkConfiguration.Networks("External")
set ISPRCfg=ExtNet.ISPRedundancyConfig
ISPRCfg.ConnectivityVerificationRemoteIpAddresses.RemoveAll()
ISPRCfg.ConnectivityVerificationRemoteIpAddresses.Add "8.8.8.8"
ISPRCfg.ConnectivityVerificationRemotePort = 53
ISPRCfg.Save</span>

 

Author

Philipp Sand
Microsoft CSS Forefront Security Edge Team
Reference:
http://blogs.technet.com/b/isablog/archive/2009/11/26/tmg-isp-redundancy-unleashed.aspx

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Regard’s

Syed Jahanzaib

9 Comments »

  1. SALAM, BHAI SAHAB KAHAN HOO? SEND ME UR MOBILE NUMBER

    HAMAAD

    Like

    Comment by HAMAAD HABEEB — May 8, 2012 @ 8:28 PM

  2. AoAWrb, Sir jee TMG k Topic par ye kiasay comments hian;;) ;;)….

    Like

    Comment by Shery — May 10, 2012 @ 9:26 AM

  3. sir muje se load balencing ni ho ri sir agar time ho to plz main ap ko rb750gl bhj deta ore ap muje load balencing kar dete plz

    Like

    Comment by sak407 — May 17, 2012 @ 6:19 PM

  4. sir muje se load balncing ni ho ri agar ap ke pass waqat ho to main rb750gl ap ko parcel kar deta ap muje configration kar dijie ga plz sir

    Like

    Comment by sak407 — May 17, 2012 @ 6:25 PM

  5. Asslam-u-Alaikum

    Kindly send me your Contact number…

    Like

    Comment by Fahad — March 5, 2013 @ 4:36 PM

  6. Salam Aly Kum
    I saved the above text in vbs file and tried running from desktop no response recieved. please any help

    Like

    Comment by Samir Shaikh — January 9, 2014 @ 6:01 PM


RSS feed for comments on this post. TrackBack URI

Leave a comment