Environment
Cluster Nodes = two
Cluster Nodes OS = Windows 2012 or Windows 2008R2
Application = IIS
Error
An error occured while attempting to bring the resource ABC script online
Error Code: 0x80020009
Exception occired
First Query
I configured the cluster via Microsoft Failover Cluster. I want to cluster IIS as failover cluster. For this I am using the following article. As per the direction of the below article I replaced both (SITE_NAME = "MyWebSiteName" and APP_POOL_NAME = "MYDefaultAppPool") with 100% correct names . Now when I try to online the generic script resource it failed.
http://support.microsoft.com/kb/970759/en-us
Please Note: When I used the same script mentioned in the above link with default web site, it works fine.
I discusse the same on a different link. see this also for your reference please.
Second query
I created generic service resources of many windows services under Microsoft Failover Cluster and they are failing over successfully but when I create a generic service resource for WWW, then the WWW service is not able to online via Microsoft Failover Cluster. It stuck in online pending.
I have noticed two things.
1.) If the WWW service is set to manual and started at passive node and I manually restart the Active node then the WWW service successfully switch over to stand by/passive node. but if the WWW service is set tomanual and not started on stand by/Passive node then the WWW service is not failing over.
2.) if I kill the WWW service manually (as a test case) on Active Node via this command (taskkill /f /pid XXXX) then the WWW service failed and is not failing over to standby/passive node.
For configuring the WWW service under Microsoft Failover Cluster, my second query procedure is not right ? and I have to keep follow the first query procudure which I mention as my first query ?