|
Re: invoking functions on a remote machine without erl running: msg#00361lang.erlang.general
Good day, hp> Now, due to some regulations, I could not leave a hp> process such as erl on hp@m2 24 hours a day. hp> So, how do I perform Mod:Fun in this case when hp> there is no erl running on hp@m2 ?? hp> hp> One way I can think of is: hp> on hp@m1, I can use os:cmd("rsh m2 /path/to/erl") and You can configure hp@m2 as slave node. Please look documentation on `slave' module. Another option is `erl_call', which can start node if necessary. Binary is in: $ERL_ROOT/lib/erl_interface-*.*.*/bin/erl_call hp> What if m2 asks for password when I do 'rsh m2 ...' ? Both, ssh and rsh, have options to allow login without asking a password. For rsh it is .rhosts file in user directory on remote host if I don't forget. Best Regards, Vladimir Sekissov |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | ets:match(Continuation) usage question.: 00361, Jeff Einhorn |
|---|---|
| Next by Date: | mapping implemented in functions vs in structures: 00361, HP Wei |
| Previous by Thread: | invoking functions on a remote machine without erl runningi: 00361, HP Wei |
| Next by Thread: | ets:match(Continuation) usage question.: 00361, Jeff Einhorn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |