Leaked source code of windows server 2003
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

  1. <job id="Cluster Properties">
  2. <reference guid="{f2e606e0-2631-11d1-89f1-00a0c90d061e}" version="1.0" />
  3. <script language="VBScript">
  4. Option Explicit
  5. Dim oCluster
  6. Dim oGroup
  7. Dim oNode
  8. Dim vPending
  9. Set oCluster = CreateObject("MSCluster.Cluster")
  10. oCluster.Open ("galenb-clus")
  11. MsgBox oCluster.Name
  12. set oGroup = oCluster.ResourceGroups.Item( "Test" )
  13. set oNode = oCluster.Nodes.Item( "Galenb-C1" )
  14. vPending = oGroup.Offline( 1000 )
  15. vPending = oGroup.Move( 1000, "GalenB-C1" )
  16. </script>
  17. </job>