joeyjoejoey1
> I have installed apcupsd on sme which seems ok
So you now have a nice server manager panel to configure all the options, including the IP of a Windows slave workstation or server.
> with the windows installation its very unclear as > to how you do this and how you allow the sme
> server to tell the windows pc to shutdown!
As I already said please read the manual, do you really expect to know how something works without reading the manual.
A quick introduction follows:
It is basically the same on a windows machine.
Unpack the Win tar/zip file and copy the contents to your C: drive.
eg c:\apcupsd
There is a subfolder structure and you will find the exe's in c:\apcupsd\bin
From memory run the install.bat file, and also you will need to start the service using start.bat.
It depends on your version of Win OS.
I suggest you read the manual carefully for exact details, that 's what I did and it wasn't too hard to get it running.
The config file is in c:\apcupsd\etc\apcupsd
Edit apcupsd.conf to suit your situation, particularly changing the IP location of the Master server (ie sme's IP) & other details eg TIMEOUT. It is very similar to the config file that you edit in sme server manager, so you can compare the details.
Then you need to restart the Windows apcupsd service after making any changes to apcupsd.conf.
If power fails & the UPS signals sme via the serial interface, then sme will signal the Windows slave via the LAN and sme & windows box will shutdown after the TIMEOUT period or when battery failure is imminent.
Remember to have the BIOS's in both boxes set to power up upon AC power return, that way the servers will restart when power returns.
If you also have Windows workstations set as slaves you may not want them to restart automatically.
From the readme.txt file:
apcupsd-3.8.0 Win32
This is the binary distribution of apcupsd for Win32
systems (Win95, Win98 and WinNT, and possibly Win2000).
INSTALLATION
1. From InstallShield Setup
Run the Setup program and follow the instructions.
Be careful in following these guidelines:
1.1 You can select the Setup type
1.2 Don't change the default installation directory:
it must be c:\apcupsd or the program will not work.
We've been very careful to avoid root directory
pollution.
1.3 In the last dialog you will be asked to run a program.
It is needed to register apcupsd inside the system
registry. Please run it. If you choose not to run it
you can always run the setup.bat program later from the
apcupsd installation directory but until you do it,
apcupsd will not work.
2. From TAR Archive
To install it, please UnZip (or detar) the distribution
file into your root directory on drive c:\ then follow
the instructions in the online manual viewable by any
Internet Browser (Netscape, Microsoft Internet Explorer).
The manual can be found in c:\apcupsd\manual.