Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

ISA Server takes a long time to apply changes to the firewall configuration

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA 2006 Misc.] >> ISA 2006 Programming >> ISA Server takes a long time to apply changes to the firewall configuration Page: [1]
Login
Message << Older Topic   Newer Topic >>
ISA Server takes a long time to apply changes to the fi... - 7.May2008 5:31:51 AM   
demon_xxi

 

Posts: 2
Joined: 7.May2008
Status: offline
Hi.

I'm going to configure ISA through the FPCLib COM objects.
But I faced the problem that calling Save method on any object takes a long time.
I created a sample just to add one computer to existing computerset and save that set.
It tooks about 20 seconds to apply changes. Calling save I do not restart firewall service:
var root = new FPCClass();
var array = root.Arrays;
var compset = array.RuleElements.ComputerSets.Item("testset");
compset.Computers.Add("testcomp", "192.168.1.5");
compset.Save(false, true);


Also I noticed that applying changes in ISA Management console also take a long time.
Is there any way to speedup this process because I need to manage a lot of computers in computer sets dynamically "on fly"?

Otherwise is there any way to implement some kind of dynamic group. for example use own file to store computers in set and program some code that ISA will use to identify to which set current computer belongs while applying proxy policy rules?

Thanks in advance,
Sergey.

< Message edited by demon_xxi -- 7.May2008 5:35:19 AM >
Post #: 1
RE: ISA Server takes a long time to apply changes to th... - 7.May2008 5:45:28 AM   
demon_xxi

 

Posts: 2
Joined: 7.May2008
Status: offline
I found that calling
compset.Save(false, false);

does everything immediately but in this case fReloadConfiguration =false which leads to rules don not be applied.
quote:


HRESULT Save(
VARIANT_BOOL fResetRequiredServices,
VARIANT_BOOL fReloadConfiguration
);

fReloadConfiguration
[in, optional] Boolean value that indicates whether the call will include synchronous reloading of all the saved configuration changes that can be applied dynamically without restarting services. The default value is VARIANT_TRUE. In Enterprise Edition, this parameter is ignored.



I mean If I add server to set and there is a rule for this set to allow access. Added computer still have no access

Why this process is so long? Do I have to implement some magic filter by my own?

(in reply to demon_xxi)
Post #: 2

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA 2006 Misc.] >> ISA 2006 Programming >> ISA Server takes a long time to apply changes to the firewall configuration Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts