APC AP9606 Specifications Page 78

  • Download
  • Add to my manuals
  • Print
  • Page
    / 96
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 77
70 Implementing UPS Configurations with Microsoft Cluster Server
/MOVETO initiates moving of a resource to the node specified. Note that we dont
add a /WAIT parameter; thus all commands are issued asynchronously.
The command in line 136 sends a network message to the domain (in our
scenario, the domain APC) about the steps initiated by the script.
136 NET SEND /DOMAIN:APC "The groups are moved from node %COMPUTERNAME% to
%TheOtherNodeName% and will be shutdown in 2 minutes!"
Now the resource handling is completed, and shutdown of the operating system
begins (in line 137 jump to line 179).
137 GOTO Shutdown
With the application SHUTGUI.EXE from the Microsoft Windows NT Resource
Kit, shutdown of the operating system is initiated finally (line 182).
182 C:\UPS_CMD\SHUTGUI.EXE /L /T:120 "A power loss has occurred !" /C
The command file utilizes SHUTGUI.EXE (instead of the PowerChute PLUS Shut
Down Server action) to ensure that the operating system shutdown begins after
resource handling (independent of PowerChute PLUS timers).
The parameter /L forces the local machine to shut down with a delay of /T
seconds. During shutdown, the message in quotation marks will be displayed. /C
means that applications will be forced to stop without any input.
Note: If you use the /C parameter, NT ignores the applications option to save
data which may have changed. You will not see any File-Save dialog box
because Windows NT forces the application to stop immediately. This will result
in loss of all data previously not saved.
4.2.2 GroupOffline
In the section above, we discussed the case when one node survives a power
outage. Now we will discuss when both nodes begin to shut down. If the final
query about the remote node status (line 100) doesnt return Node Up, bringing
the groups offline is initiated (jump to label GroupOffline).
Beginning with line 163 for each group of the cluster, the following lines have to
be inserted in the command file:
163 :off3
164 cluster . GROUP "VFS_a" /OFFLINE /WAIT:30 > NUL
165 IF %errorlevel% == 5023 GOTO off3
The jump backwards to label :off3 is used to verify the return value of
CLUSTER.EXE. If necessary, the command is repeated. The numbering of the
labels is performed with consecutive values. Labels :off1 and :off2 are reserved
for the Cluster Group and the group containing the quorum disk.
It is mandatory that the administrator enter a three-line section for each
resource group that should be brought offline (after line 154).
Attention
Page view 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 95 96

Comments to this Manuals

No comments