APC AP9606 Specifiche Pagina 75

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 96
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 74
Chapter 4. The command file UPS.CMD 67
Chapter 4. The command file UPS.CMD
All actions necessary for shutting down a node in the cluster are performed by the
command file UPS.CMD. The command file covers attachment of the cluster to
one or two UPS units. Startup procedures may be implemented as well.
In this chapter, we explain the command files structure. Understanding of these
internals is essentially because the administrator has to modify the file before
using it. There are four sections that must be changed.
The command file has been designed and tested with Microsoft Windows NT 4.0
Enterprise Edition, English version only. A version for Windows 2000 is also
available. See Appendix A, Downloading the additional material on page 73 for
details on how to get them.
The UPS.CMD file is also listed in full in Appendix B, UPS.CMD on page 77.
This chapter discusses the main segments of the command file:
4.1, Global Variables in the Command File UPS.CMD on page 67
4.2, Parameter UPSOnBattery on page 68
Parameter UPSOnBattery case: MoveClusterGroups
Parameter UPSOnBattery case: GroupOffline
4.3, Parameter SingleUPSOnBattery on page 71
4.4, StartUp Parameter on page 72
4.1 Global Variables in the Command File UPS.CMD
Like most other programs, some variables defined at the beginning of the
command file are used throughout the code. In lines 43 and 44, the names of the
cluster nodes are defined. In our scenario we have chosen NF8500R and
NF8500L.
043 SET NodeAName=NF8500R
044 SET NodeBName=NF8500L
The node name corresponds to the computer name in Microsoft Windows NT.
The computer name is defined in the system environment variable
COMPUTERNAME. The names have to be defined because the file relies on
variables in order to use the same code on both nodes. This reduces the
administrative efforts necessary to run the script.
See Appendix A, Downloading the additional material on page 73 for
insturctions on how to download UPS.CMD.
Downloading UPS.CMD
The node names in lines 43 and 44 must be changed by the administrator.
Attention
Vedere la pagina 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 95 96

Commenti su questo manuale

Nessun commento