[erlang-questions] Erlang node administration in production environment

Hynek Vychodil vychodil.hynek@REDACTED
Mon Apr 27 13:45:28 CEST 2009


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

User switch command
 --> h
  c [nn]            - connect to job
  i [nn]            - interrupt job
  k [nn]            - kill job
  j                 - list all jobs
  s [shell]         - start local shell
  r [node [shell]]  - start remote shell
  q        - quit erlang
  ? | h             - this message


On Sun, Apr 26, 2009 at 10:29 PM, wde <wde@REDACTED> wrote:

> Hello all,
>
> 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.
>
> It's really useful to have an erlang shell in order to debug, run specific
> functions to monitor or analyze your application.
>
> 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 ?
>
> Do you add a new node to the cluster and use RPC to remotely execute
> command on the target node ?
>
> Do you start a new node with a remote shell connected to a target node by
> using the -remsh flag ?
>
> Other options ?
>
>
> Thank you by advance for your responses and your feedbacks.
>
>
> wde
>
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



-- 
--Hynek (Pichi) Vychodil

Analyze your data in minutes. Share your insights instantly. Thrill your
boss.  Be a data hero!
Try Good Data now for free: www.gooddata.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090427/85b5b88d/attachment.htm>


More information about the erlang-questions mailing list