我尝试在 EC2 机器上启动 tsung slaves。钥匙就位,测试用
erl -rsh ssh -sname root -setcookie mycookie
slave:start('i-d6807c9d',root,"-setcookie mycookie").
> {ok,'root@i-d6807c9d'}
正在工作中。
当我现在执行 tsung 时,我收到以下错误消息:no_rsh。Erlang 文档写道 no_rsh 的意思是“计算机上没有 rsh 程序”。
78 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
79 ts_config_server:(5:<0.52.0>) SYSINFO:Current path: /usr/lib/erlang/lib/tsung-1.4.2/ebin/tsung.beam
80
81 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
82 ts_job_notify:(5:<0.64.0>) No listen port defined, can't open listening socket·
83
84 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
85 ts_os_mon:(5:<0.49.0>) os_mon disabled
86 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
87 ts_mon:(5:<0.53.0>) Activate clients with text backend
88
89 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
90 ts_config_server:(0:<0.73.0>) Can't start newbeam on host 'i-d6807c9d' (reason: no_rsh) ! Aborting!
有谁知道如何让它运行?
谢谢