Controlling nodes: Difference between revisions

From Grid5000
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
You can connect to your node's serial console. See the [[Kaconsole]] page.
You can connect to your node's serial console. See the [[Kaconsole]] page.


=== Rebooting ===
=== Shutdowning down node ===


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:
Line 12: Line 12:
{{Term|location=fnancy|cmd=<code class="command">kapower3</code><code> --</code><code class="replace">status</code><code> -m </code><code class="host">gros-42.nancy.grid5000.fr</code><br>
{{Term|location=fnancy|cmd=<code class="command">kapower3</code><code> --</code><code class="replace">status</code><code> -m </code><code class="host">gros-42.nancy.grid5000.fr</code><br>
<code class="command">kapower3</code><code> --</code><code class="replace">on</code><code> -m </code><code class="host">gros-42.nancy.grid5000.fr</code>}}
<code class="command">kapower3</code><code> --</code><code class="replace">on</code><code> -m </code><code class="host">gros-42.nancy.grid5000.fr</code>}}
=== Rebooting node ===


Alternatively, you could have rebooted the node, using:
Alternatively, you could have rebooted the node, using:
{{Term|location=fnancy|cmd=<code class="command">kareboot3</code><code> --reboot-kind</code> <code class="replace"> simple</code><code> -m </code><code class="host">gros-42.nancy.grid5000.fr</code>}}
{{Term|location=fnancy|cmd=<code class="command">kareboot3</code><code> --reboot-kind</code> <code class="replace"> simple</code><code> -m </code><code class="host">gros-42.nancy.grid5000.fr</code>}}

Revision as of 14:33, 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.

Shutdowning down node

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

Rebooting node

Alternatively, you could have rebooted the node, using:

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