Post-powercut Todo List¶
A list of things that should be done/checked immediately after a power cut:
- Ensure the
aperture
servers have the correct IP addresses: - If the
bastion-vm
fails to start, check:/storage
is mountedrw
on eachaperture
serverbr0
is present and configured on eachaperture
servervm-resources.service.consul
is running andhttp://vm-resources.service.consul:8000/bastion/bastion-vm-latest.qcow2
is accessible- if the
latest
symlink points to a corrupted image,ln -sf
it to an earlier one
- All the
nixos
boxes rely onDNS
forLDAP
andNFS
:- Make sure bind is running on
paphos
- mount
/storage
systemctl restart
httpd
,php-fpm-rbusers-*
andldap
- Make sure bind is running on
- Apache on
hardcase
sometimes tries to start before networking is finished starting. To fix it, disable/re-enable it a few times. This usually makes it turn on. - Mailman on
hardcase
has a lock file at/var/lib/mailman/lock/master.lck
. If it doesn't shut down correctly, this lock file will block mailman from starting up. Remove it with:
paphos
is old and sometimes its time will become out of sync. To make sure its time is accurate, run:
and ensure you have the correct time with date