Cluster resource BringOnline/TakeOffline gives Generic failure
i using c# bring cluster vm offline , online. code seem change vm's state (as seen via failover cluster manager application), throws "generic failure" error.
public static void resourcebringonline(managementobject resource) { managementbaseobject inparams = resource.getmethodparameters("bringonline"); inparams["timeout"] = (uint32)0; resource.invokemethod("bringonline", inparams, null); }
hi,
as issue related coding, suggest discussing in our msdn forum. best resource troubleshoot coding issues.
http://social.msdn.microsoft.com/forums/en/categories/
tim quan – msft
~~~~~~~~~~~
please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread. ”
Windows Server > High Availability (Clustering)
Comments
Post a Comment