cpan-testers / cpantesters-deploy

Deploy scripts and configuration file for CPANTesters servers
4 stars 0 forks source link

Add task to automatically hard-reboot a server #18

Open preaction opened 6 years ago

preaction commented 6 years ago

We now have two servers in two different places with two different procedures for a hard reboot:

We should have a task that takes a server to reboot and then reboots it using the correct procedure on the correct supervising machine.

preaction commented 6 years ago

The correct way to force-reboot the Xen vm if it is not responding is:

sudo /usr/lib/xen-4.4/bin/xl destroy cpantesters1.barnyard.co.uk
sudo /usr/lib/xen-4.4/bin/xl create /etc/xen/cpantesters1.barnyard.co.uk