Table of Contents

Cyberpower Powerpanel Business

Note: Does not work with the free version of ESXi.

Setup

Deploy the premade Cyberpower Powerpanel Business Local VM on to ESXi and set it up to shutdown the host it is running on.

VM Setup

Pre-Config

Extra things to be set in the command line before setting up PowerPanel.

One issue with PowerPanel is that it constantly writes to /usr/local/PPB/db_local/filedb.log (https://www.reddit.com/r/HomeServer/comments/usno37/cyberpower_powerpanel_business_linux_excessive/). We fix this by installing and using Anything-sync-daemon to put the directory into a ram disk that gets synced to disk occasionally.

# Change the default password:
passwd
 
# Change the time zone to the one the server is in:
# Find your time zone using:
timedatectl list-timezones
# Then set it with:
sudo timedatectl set-timezone Australia/Perth
 
# Set the hostname:
sudo hostnamectl set-hostname Cyberpower-PPB
 
# Make sure the system is up to date
sudo apt update && sudo apt upgrade
 
# Install Anything-sync-daemon
sudo apt install make pv zstd
git clone https://github.com/graysky2/anything-sync-daemon.git /tmp/asd
cd /tmp/asd
sudo make install-systemd-all
cd /
rm -R /tmp/asd
sudo nano /etc/asd.conf
# Edit the following lines:
WHATTOSYNC=()
#VOLATILE="/tmp"
#USE_OVERLAYFS="no"
# into:
WHATTOSYNC=('/usr/local/PPB/db_local')
VOLATILE="/dev/shm"
USE_OVERLAYFS="yes"
# Write out the file and exit
# Check to see if configured properly
sudo asd p
# Enable to run at startup
sudo systemctl enable asd.service
 
sudo reboot 0

Configuration

Update

Sources

Notes