[Rocks-Discuss] Command to reboot a compute node?

547 views
Skip to first unread message

UCA Cluster

unread,
Mar 14, 2011, 7:34:22 PM3/14/11
to Discussion of Rocks Clusters
What is the command to be issued from the headnode to reboot a compute node?

Thanks.
RB.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110314/84e405b4/attachment.html

Rick Wagner

unread,
Mar 14, 2011, 7:43:33 PM3/14/11
to Discussion of Rocks Clusters
Direct ssh
$ ssh <node name> 'reboot'
or, some nodes
$ rocks run host <node 1> <node 2> ... <node n> 'reboot'
or, all compute nodes,
$ rocks run host compute 'reboot'

--Rick

UCA Cluster

unread,
Mar 14, 2011, 8:08:15 PM3/14/11
to Discussion of Rocks Clusters

Rick Wagner

unread,
Mar 14, 2011, 9:26:28 PM3/14/11
to Discussion of Rocks Clusters
Hi,

No, you'll need to set the install action in the database, so that the frontend knows that it needs to be reinstalled.

$ rocks set host boot <node name> action='install'


$ ssh <node name> 'reboot'

--Rick

On Mar 14, 2011, at 6:23 PM, UCA Cluster wrote:

> If I do $ sh <node name> 'reboot', will it reinstall the OS automatically
> from the headnode while restarting?
>
> Thanks.
> -RB.


>
> On Mon, Mar 14, 2011 at 6:43 PM, Rick Wagner <rpwa...@sdsc.edu> wrote:
>

> URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110314/d9d229ae/attachment.html

UCA Cluster

unread,
Mar 14, 2011, 9:23:06 PM3/14/11
to Discussion of Rocks Clusters
If I do $ sh <node name> 'reboot', will it reinstall the OS automatically
from the headnode while restarting?

Thanks.
-RB.

On Mon, Mar 14, 2011 at 6:43 PM, Rick Wagner <rpwa...@sdsc.edu> wrote:

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110314/d9d229ae/attachment.html

UCA Cluster

unread,
Mar 14, 2011, 9:44:02 PM3/14/11
to Discussion of Rocks Clusters
Reply all
Reply to author
Forward
0 new messages