Controlling nodes

From Grid5000
Revision as of 14:27, 3 June 2020 by Sphilippot (talk | contribs) (Created page with "=== Controlling nodes (rebooting, accessing the serial console) === Grid'5000 provides you with out-of-band control of your nodes. You can access the node's serial console, t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Controlling nodes (rebooting, accessing the serial console)

Grid'5000 provides you with out-of-band control of your nodes. You can access the node's serial console, trigger a reboot, or even power off the node. This is very useful in case your node loses network connectivity, or simply crashes.

Using another terminal, connect again to the site's frontend (for Nancy: fnancy), and then connect to your node's serial console, using:

Terminal.png fnancy:
kaconsole3 -m gros-42.nancy.grid5000.fr

As a reminder, the root password for all Grid'5000-provided images is grid5000. At the end of this tutorial, when you will need to exit that console, press '&' then '.' (more details about escape sequences are available on the Kaconsole page).

Using yet another terminal, connect again to the frontend. Now, shutdown the node, and watch it going down in the console:

Terminal.png fnancy:
kapower3 --off -m gros-42.nancy.grid5000.fr

After it has been shut down, check its status, and turn it on again:

Terminal.png fnancy:
kapower3 --status -m gros-42.nancy.grid5000.fr
kapower3 --on -m gros-42.nancy.grid5000.fr

Alternatively, you could have rebooted the node, using:

Terminal.png fnancy:
kareboot3 --reboot-kind simple -m gros-42.nancy.grid5000.fr