You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
552 B
26 lines
552 B
<job id="Cluster Properties">
|
|
|
|
<reference guid="{f2e606e0-2631-11d1-89f1-00a0c90d061e}" version="1.0" />
|
|
|
|
<script language="VBScript">
|
|
|
|
Option Explicit
|
|
|
|
Dim oCluster
|
|
Dim oGroup
|
|
Dim oNode
|
|
Dim vPending
|
|
|
|
Set oCluster = CreateObject("MSCluster.Cluster")
|
|
|
|
oCluster.Open ("galenb-clus")
|
|
MsgBox oCluster.Name
|
|
|
|
set oGroup = oCluster.ResourceGroups.Item( "Test" )
|
|
set oNode = oCluster.Nodes.Item( "Galenb-C1" )
|
|
|
|
vPending = oGroup.Offline( 1000 )
|
|
vPending = oGroup.Move( 1000, "GalenB-C1" )
|
|
|
|
</script>
|
|
</job>
|