Post-powercut Todo List¶
A list of things that should be done/checked immediately after a power cut:
- Ensure the
apertureservers have the correct IP addresses: - If the
bastion-vmfails to start, check:/storageis mountedrwon eachapertureserverbr0is present and configured on eachapertureservervm-resources.service.consulis running andhttp://vm-resources.service.consul:8000/bastion/bastion-vm-latest.qcow2is accessible- if the
latestsymlink points to a corrupted image,ln -sfit to an earlier one
- All the
nixosboxes rely onDNSforLDAPandNFS:- Make sure bind is running on
paphos - mount
/storage systemctl restarthttpd,php-fpm-rbusers-*andldap
- Make sure bind is running on
- Apache on
hardcasesometimes 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
hardcasehas 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:
paphosis 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