UPS management, graceful shutdown, and energy management software for servers and workstations using dedicated serial or USB connections.
<https://www.se.com/br/pt/product-range/137943580-powerchute-serial-shutdown/#products/>
This build is for evaluation purposes only and must not violate any APC license restrictions. Use at your own risk.
- Username:
apcadm
- Password:
Qq111111
I recommend using a Docker volume
or bind
mount for persistent data.
(In this example, the /docker/apc
data folder is pre-created)
docker run \
--name apc \
--network host \
--device /dev/ttyS0 \
--env TZ=Europe/Moscow \
--mount type=bind,source=/docker/apc/.ssh/,target=/root/.ssh/ \
--mount type=bind,source=/docker/apc/cmdfiles/,target=/opt/APC/PowerChuteBusinessEdition/Agent/cmdfiles/ \
--restart always \
--detach \
starina/powerchute:ubuntu-latest
docker exec -it apc bash config.sh
docker restart apc
You can take files DataLog
EventLog
m11.cfg
pcbeconfig.ini
out of the container and mount them permanently.
(In this example, the /docker/apc
data folder is pre-created)
for F in DataLog EventLog m11.cfg pcbeconfig.ini
do
docker cp apc:/opt/APC/PowerChuteBusinessEdition/Agent/$F /docker/apc/
done
docker stop apc
docker rm apc
docker run \
--name apc \
--network host \
--device /dev/ttyS0 \
--env TZ=America/Sao_Paulo \
--mount type=bind,source=/docker/apc/m11.cfg,target=/opt/APC/PowerChuteSerialShutdown/Agent/m11.cfg \
--mount type=bind,source=/docker/apc/DataLog,target=/opt/APC/PowerChuteSerialShutdown/Agent/DataLog \
--mount type=bind,source=/docker/apc/EventLog,target=/opt/APC/PowerChuteSerialShutdown/Agent/EventLog \
--mount type=bind,source=/docker/apc/pcssconfig.ini,target=/opt/APC/PowerChuteSerialShutdown/Agent/pcssconfig.ini \
--mount type=bind,source=/docker/apc/cmdfiles/,target=/opt/APC/PowerChuteSerialShutdown/Agent/cmdfiles/ \
--mount type=bind,source=/docker/apc/.ssh/,target=/root/.ssh/ \
--restart always \
--detach \
apc_pcss
For any help specific to APC please have a look at https://www.se.com/br/pt/product-range/137943580-powerchute-serial-shutdown/#documents