Download 1 What is the UPS-Management Software?
Transcript
suppresses a shutdown” will cause the RCCMD services to enact either the default ShutdownSuppressed.bat or another user defined command when a received shutdown command from one of the UPSMAN servers has been suppressed. 3.2.17 Shutdown.bat file (example) Now you have to check that this batch works properly: The shutdown.bat of the RCCMD may look like the following on NT. On other platforms a UNIX ”init 0” or Novell ”DOWN” is executed. On Windows NT/2000 the SHUTCMD.EXE tool is used or any other NT shutdown program. Call Shutcmd -? for Syntax help. An example SHUTDOWN.BAT is copied into the UPS directory, which will assist you further. ATTENTION: If your configuration works fine in the DEBUG mode, does not necessaryly mean that it works also with the RCCMD as NT service. Please ensure that the RCCMD as service has been started in a user account with administrative rights, otherwise it may happen that only non-restrictive programs may be executed (like notepad.exe) but no Shutdown. (This will result in the NT error message ”Adjust Token Privileges failed”.) If a program has in fact started or not can be seen in Taskmanager window (ALT+CTRL+DEL), because a service does not a started program in the current user session due to non-interactive transaction with the desktop. The full command syntax for the NT consol for RCCMD in <Listen mode>: rccmd [–debug] -l [-a IP adress] [–h hostname] [-p port] "command" where the option in brackets are optional. The command can be either a program or a path for another batchfile to be found on this computer. The command file should be given with full path. The -p port option can be included if you want to start rccmd more than once at a single computer to proceed different commands for different events. The default port number is 6003, use any other availabe port number for different RCCMD commands. RCCMD in the send mode : rccmd [–debug] -s [-a IP adress] [-h hostname] [-p port] This command is regularly used in the Senders batchfile (Shutdown.bat) and sends a "ping" to the computers IP adress or hostname. If this ”ping” has been transferred, the next command RCCMD –s may be executed, etc. 3.2.18 RCCMD client as relay station In order to reach a bigger number of RCCMD receivers, the adapter needs to be operated as relay station. The receiver will be configured so that it will receive a RCCMD signal and this signal is then used to start a batch file, which then starts even more RCCMD sender 51