Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add task to automatically hard-reboot a server #18

Open
preaction opened this issue Sep 28, 2017 · 1 comment
Open

Add task to automatically hard-reboot a server #18

preaction opened this issue Sep 28, 2017 · 1 comment

Comments

@preaction
Copy link
Member

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

  • The bytemark server has a console that can be ssh'd into to reboot (but it is not a full shell)
  • The barnyard server is using the Xen hypervisor and can be rebooted from that

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
Copy link
Member Author

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

preaction added a commit that referenced this issue Nov 17, 2017
These tasks will hard-reboot a server when it is unresponsive. Use these
tasks when the machine is not responding to SSH.

Fixes #18
preaction added a commit that referenced this issue Nov 22, 2017
These tasks will hard-reboot a server when it is unresponsive. Use these
tasks when the machine is not responding to SSH.

Fixes #18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant