使群組上線

Microsoft.Windows.Cluster.Group.BringOnline (Task)

此工作可使資源群組上線。

Knowledge Base article:

摘要

此工作可使資源群組上線。

解決方式

若工作因權限不足而失敗,您可使用叢集系統管理主控台從 Root Management Server 授與「預設動作帳戶」管理叢集的權限,或使用具有叢集存取權的帳戶設定「Windows 叢集動作帳戶」執行身分設定檔。

Element properties:

TargetMicrosoft.Windows.Cluster.Group
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.Cluster.Group.Action Default

Source Code:

<Task ID="Microsoft.Windows.Cluster.Group.BringOnline" Accessibility="Public" Enabled="true" Target="ClusLibrary!Microsoft.Windows.Cluster.Group" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Cluster.Group.Action">
<NodeName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.Group']/GroupActiveOnNodeDuringDiscovery$</NodeName>
<GroupName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.Group']/OriginalGroupName$</GroupName>
<MethodName>Online</MethodName>
<TimeoutSeconds>300</TimeoutSeconds>
</WriteAction>
</Task>