Rebuilding ISA Configuration Cache

Rebuilding ISA Configuration Cache

  • Comments 4
  • Likes

ISA 2006 Enterprise Edition* keeps its configuration in a CSS, which is often on a different machine than the ISA Server. In order to deal with cases where connectivity to the CSS is lost, ISA keeps relevant parts of its configuration in a local cache. This cache is stored in the registry. Whenever configuration changes are made, they are stored in the CSS, and then the ISA Configuration Agent (codenamed "Mixer") updates the local cache.

While the cache is generally well-maintained, there are rare cases where it gets out of sync with the configuration on the CSS. This can cause many problems - for example, if the cache contains an orphaned Web listener, any new listener would generate an IP conflict.

The best solution for these situations is to make ISA rebuild its configuration cache. Here's how you do it:

  1. On each ISA Server in the array, run the following command:
    reg add HKLM\SOFTWARE\Microsoft\RAT\Stingray\Debug\ISACTRL /v CTRL_MIXER_CACHE_BUILD_NEW_IN_NEXT_UPDATE /t REG_DWORD /d 1 /f
  2. Make some inconsequential change to the array configuration (say, change the array's description). Then apply, and wait for configuration to reload. During this reload, ISA will re-build its configuration cache.
  3. On each ISA Server in the array, run the following command:
    reg add HKLM\SOFTWARE\Microsoft\RAT\Stingray\Debug\ISACTRL /v CTRL_MIXER_CACHE_BUILD_NEW_IN_NEXT_UPDATE /t REG_DWORD /d 0 /f

And that's it! No reboot or service restart necessary.


* [updated:] Applies to ISA 2006 Enterprise Edition, TMG MBE and most likely future versions of TMG. Does not apply to ISA 2000, ISA 2004/2006 Standard Edition or ISA 2004 Enterprise Edition.


-Jonathan Barner, ISA/TMG Customer Satisfaction team

Comments
  • Just tried, but I have feeling that this is not correct. At least when I was monitored my server's activity by using the Process Monitor and made at the same time a change on the CSS. With in next two minutes I did not noticed any process which is reading the registry value. So if nobody reads the value, how that could effect to anything?

    When I restarted the "Microsoft ISA Server Control", then I noticed that this entry was readed.

    But in both cases, this did not help. The local registry were not reloaded nor I did see any errors that it is trying to do.

    Is there any way to get more information about what is happening during this process?

  • Full command is not visible in this blog.

    First Command is:

    reg add HKLM\SOFTWARE\Microsoft\RAT\Stingray\Debug\ISACTRL /v CTRL_MIXER_CACHE_BUILD_NEW_IN_NEXT_UPDATE /t REG_DWORD /d 1 /f

    Second Command is:

    reg add HKLM\SOFTWARE\Microsoft\RAT\Stingray\Debug\ISACTRL /v CTRL_MIXER_CACHE_BUILD_NEW_IN_NEXT_UPDATE /t REG_DWORD /d 0 /f

  • In my sytuation first and another reg not working :/

  • Is there an equivalent method for clearing the Configuration Cache in ISA 2004 EE ?

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment