APC AP9606 Specifications Page 76

  • Download
  • Add to my manuals
  • Print
  • Page
    / 96
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 75
68 Implementing UPS Configurations with Microsoft Cluster Server
In lines 49 and 50, the environment variable for the computer name is compared
with variables defined in line 43 and 44.
049 IF %NodeAName% == %COMPUTERNAME% SET TheOtherNodeName=%NodeBName%
050 IF %NodeBName% == %COMPUTERNAME% SET TheOtherNodeName=%NodeAName%
This comparison is used to set the name of the remote node.
In line 56, a check for the start parameter is made. If there is no parameter
provided, then (after a jump to line 188) a message shows the possible start
parameters StartUp, UPSOnBattery and SingleUPSOnBattery.
056 IF s%1 == s GOTO ERROR1
188 :ERROR1
189
190 ECHO You must run this script with one parameter with the action that
should be do!
191 ECHO use StartUp
192 ECHO use UPSOnBattery
193 ECHO use SingleUPSOnBattery
194 GOTO END
The code in lines 57 to 59 analyzes the start parameter and branches to the
corresponding label in the command file.
057 IF %1 == StartUp GOTO StartUp
058 IF %1 == UPSOnBattery GOTO UPSOnBattery
059 IF %1 == SingleUPSOnBattery GOTO SingleUPSOnBattery
If the parameter is wrong, then (after a jump to line 188) the message about
possible start parameters StartUp, UPSOnBattery and SingleUPSOnBattery is
displayed.
4.2 Parameter UPSOnBattery
As explained in 3.2, Single power line solutionson page 31, and 3.3, Solutions
with double power lines on page 51, the same command file handles
configurations with one UPS as well as two UPS units. In both scenarios,
PowerChute PLUS launches the command file at the UPS on Battery event (after
the UPS On Battery Delay). The startup parameter indicates which type of
configuration has to been handled (for example with two UPS units, see
Figure 66 on page 64).
A parameter value UPSOnBattery means a configuration with two UPS units. This
is explained below. The parameter value SingleUPSOnBattery in the case of a
single UPS is discussed in 4.3, Parameter SingleUPSOnBattery on page 71.
If the condition in line 58 is fulfilled, then we have the case of two UPS units. The
code for this case begins on line 89.
As a first step, the node that runs the command file enters Node Paused status
(line 92).
092 CLUSTER . NODE %COMPUTERNAME% /PAUSE
Second, the node checks (line 94) if the remote node has a status of Node Up.
Page view 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 95 96

Comments to this Manuals

No comments