If nodes are connected in cluster you can connect to every of them from any of them with shell. Just pres Ctrl+G and use switching environment<br><br>User switch command<br> --> h<br>  c [nn]            - connect to job<br>
  i [nn]            - interrupt job<br>  k [nn]            - kill job<br>  j                 - list all jobs<br>  s [shell]         - start local shell<br>  r [node [shell]]  - start remote shell<br>  q        - quit erlang<br>
  ? | h             - this message<br><br><br><div class="gmail_quote">On Sun, Apr 26, 2009 at 10:29 PM, wde <span dir="ltr"><<a href="mailto:wde@free.fr">wde@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all,<br>
<br>
I have a general question about erlang node administration. In my lab, I start the nodes in interactive mode with a shell through a SSH connection to my servers.<br>
<br>
It's really useful to have an erlang shell in order to debug, run specific functions to monitor or analyze your application.<br>
<br>
My question is, how do you interact with an Erlang node in a production environment when the node is started in "detached" mode without shell ?<br>
<br>
Do you add a new node to the cluster and use RPC to remotely execute command on the target node ?<br>
<br>
Do you start a new node with a remote shell connected to a target node by using the -remsh flag ?<br>
<br>
Other options ?<br>
<br>
<br>
Thank you by advance for your responses and your feedbacks.<br>
<br>
<br>
wde<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>--Hynek (Pichi) Vychodil<br><br>Analyze your data in minutes. Share your insights instantly. Thrill your boss.  Be a data hero!<br>Try Good Data now for free: <a href="http://www.gooddata.com">www.gooddata.com</a><br>