Controlling nodes: Difference between revisions

From Grid5000
Jump to navigation Jump to search
(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...")
 
Line 1: Line 1:
=== 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.


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.
=== Accessing the serial console ===
 
You can connect to your node's serial console. See the [[Kaconsole]] page.


Using another terminal, connect again to the site's frontend (for Nancy: <code class="host">fnancy</code>), and then connect to your node's serial console, using:
=== Rebooting ===
{{Term|location=fnancy|cmd=<code class="command">kaconsole3</code><code> -m </code><code class="host">gros-42.nancy.grid5000.fr</code>}}
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:
Using yet another terminal, connect again to the frontend. Now, shutdown the node, and watch it going down in the console:

Revision as of 14:32, 3 June 2020

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.

Accessing the serial console

You can connect to your node's serial console. See the Kaconsole page.

Rebooting

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