I've recently setup Windows NLB Custering on a couple of servers hosting IIS. I've heard that it's possible to control the "health" status of each server via script - i.e. rather than relying on window's internal definition of which servers have the most spare capacity/least load, have this decision driven by a comparison of the relative servers' health values, which are generated by scripts. That said, I can't find any examples of this sort of script / any instructions on how to achieve this.
- Is this possible, or have I overheard a myth?
- Do you know of any sample scripts & instructions on how to set this up?
Further Info:
I'm working with MS Dynamics AX 2009. Currently the workflow web services are hosted on a single server. To remove this single point of failure I'd like to put load balancing in place, where the load is shared whilst the servers are healthy, and if a server goes down requests continue to be sent to the live server seamlessly until the original server comes back online and requests can again be routed to both.
I don't currently know the exact details of what I'll want the health check script to check. Once I know if this is possible I'll start experimenting, looking at what options are available (i.e. do I use a simple test of whether IIS is available by calling a test service hosted on the same site / just check memory and cpu usage and balance accordingly / toggle the default server per request - avoiding offline servers). At this stage though I'm only concerned with whether this is possible before working on specifics.
Thanks in advance.
JB
- Windows Server 2008 R2
- IIS 7.5
- Dynamics AX 2009 SP1 R8