如何使用C#在MS故障转移群集2012中启动/停止角色 [英] How to Start/Stop Role in MS Failover Cluster 2012 with C#

查看:68
本文介绍了如何使用C#在MS故障转移群集2012中启动/停止角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我正在拼命寻找控制远程MS故障转移群集2012中角色的方法,特别是启动/停止/当前状态,使用C#代码


我花了一些时间用谷歌搜索,但找不到如何做到这一点的实例......


我不是C#也不是Windows Server大师......我非常感谢这方面的任何真正的帮助。


谢谢。

解决方案

嗨Michael Ruvins kiy,


感谢您发布此处。


根据我的搜索,我找不到使用MS Failover Cluster 2012的方法C#语言,但开发人员可以使用
故障转移群集API 创建 

群集感知应用程序
,群集管理应用程序和
自定义资源类型
 。


您可以尝试检查群集对象的公共属性。


最好的问候,


Hart


Hello,

I’m desperately looking for the way to control Roles in remote MS Failover Cluster 2012, specifically Start/Stop/Current Status, with C# code

I spent some time googling but couldn’t find solid example of how to do it…

I’m not C# nor Windows Server guru… I would really appreciate any real help in this area.

Thanks.

解决方案

Hi Michael Ruvinskiy,

Thank you for posting here.

Based on my search, I don't find a way to access MS Failover Cluster 2012 using C# language, but Developers can use the Failover Cluster API to create  cluster-aware applications, cluster management applications, and custom resource types .

You can try to check Common Properties of a Cluster Object.

Best Regards,

Hart


这篇关于如何使用C#在MS故障转移群集2012中启动/停止角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆