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...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== Controlling nodes (rebooting, accessing the serial console) ===
{{Portal|User}}
{{Portal|Tutorial}}
{{TutorialHeader}}


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.


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:
=== Accessing the serial console ===
{{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.
You can connect to node's serial console. See the [[Kaconsole|Kaconsole page]].
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).
 
=== Shutdowning down or booting 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 13: Line 16:
{{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 class="replace">simple</code><code class="host">gros-42.nancy.grid5000.fr</code>}}

Latest revision as of 13:00, 11 January 2022

Note.png Note

This page is actively maintained by the Grid'5000 team. If you encounter problems, please report them (see the Support page). Additionally, as it is a wiki page, you are free to make minor corrections yourself if needed. If you would like to suggest a more fundamental change, please contact the Grid'5000 team.

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 node's serial console. See the Kaconsole page.

Shutdowning down or booting 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:
kareboot3simplegros-42.nancy.grid5000.fr