APC AP9606 Specifications Page 86

  • Download
  • Add to my manuals
  • Print
  • Page
    / 96
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 85
78 Implementing UPS Configurations with Microsoft Cluster Server
058 IF %1 == UPSOnBattery GOTO UPSOnBattery
059 IF %1 == SingleUPSOnBattery GOTO SingleUPSOnBattery
060 GOTO ERROR1
061 REM ---------------------------------------------------------------------------
062
063 REM ---------------------------------------------------------------------------
064 :StartUp
065
066 REM Set this node in the resume state
067 NET START “Cluster Server”
068 CLUSTER . NODE %COMPUTERNAME% /RESUME
069
070 REM Set the resources online state
071
072 REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
073
074 REM (2) Enter one line as shown below
075 REM for each resource group which should be brought online automatically
076 REM during startup!
077
078 REM CLUSTER . GROUP “Cluster Group” /ONLINE > NUL
079 REM CLUSTER . GROUP “Quorum” /ONLINE > NUL
080 CLUSTER . GROUP “VFS_a” /ONLINE > NUL
081 CLUSTER . GROUP “VFS_b” /ONLINE > NUL
082
083 REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
084
085 GOTO END
086 REM ---------------------------------------------------------------------------
087
088 REM ---------------------------------------------------------------------------
089 :UPSOnBattery
090
091 REM Set this node in the pause state
092 CLUSTER . NODE %COMPUTERNAME% /PAUSE
093
094 CLUSTER.EXE %TheOtherNodeName% NODE %TheOtherNodeName% | FIND “Up”
095 IF %errorlevel% == 1 GOTO GroupOffline
096
097 IF %COMPUTERNAME == %NodeBName% C:\UPS_CMD\DELAY3 3
098 C:\UPS_CMD\DELAY3 3
099
100 CLUSTER.EXE %TheOtherNodeName% NODE %TheOtherNodeName% | FIND “Up”
101 IF %errorlevel% == 1 GOTO GroupOffline
102
103 GOTO MoveClusterGroups
104 REM ---------------------------------------------------------------------------
105
106 REM ---------------------------------------------------------------------------
107 :SingleUPSOnBattery
108
109 REM Set this node in the pause state
110 CLUSTER . NODE %COMPUTERNAME% /PAUSE
111
112 GOTO GroupOffline
113 REM ---------------------------------------------------------------------------
114
115 REM ---------------------------------------------------------------------------
116 :MoveClusterGroups
117
Page view 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 95 96

Comments to this Manuals

No comments