To carry out Hot Code Loading you start a an erlang node on your host (remember to set a different name and to use the same cookie) and from the remote erlang shell type nl(your_modulename). Substitute your_modulename with the name of the module you want to load into the virtual machine.

+

To carry out Hot Code Loading you start a an erlang node on your host (remember to set a different name and to use the same cookie) and from the host erlang shell type nl(your_modulename). Substitute your_modulename with the name of the module you want to load into the virtual machine.

Revision as of 22:20, 4 December 2008

To change a running system

Start erlang as a node

This is my /etc/X11/Xsession.d/80zhone. As you can see the erlang node's got a name "-sname moko" (a running erlang virtual machine is called an erlang node). And it's got a cookie "-setcookie SFEWRG34AFDSGAFG35235".

Every erlang node in your network should have a unique name, and a common cookie.

Load the code

To carry out Hot Code Loading you start a an erlang node on your host (remember to set a different name and to use the same cookie) and from the host erlang shell type nl(your_modulename). Substitute your_modulename with the name of the module you want to load into the virtual machine.

Views

Personal tools

To change a running system

Start erlang as a node

This is my /etc/X11/Xsession.d/80zhone. As you can see the erlang node's got a name "-sname moko" (a running erlang virtual machine is called an erlang node). And it's got a cookie "-setcookie SFEWRG34AFDSGAFG35235".

Every erlang node in your network should have a unique name, and a common cookie.

Load the code

To carry out Hot Code Loading you start a an erlang node on your host (remember to set a different name and to use the same cookie) and from the remote erlang shell type nl(your_modulename). Substitute your_modulename with the name of the module you want to load into the virtual machine.