1 |
Hi, |
2 |
I want to use iozone to test my cluster, and I found that iozone would use rsh. |
3 |
|
4 |
But rsh never worked in my machine. |
5 |
|
6 |
I have followed this guide |
7 |
http://www.gentoo.org/doc/en/hpc-howto.xml#doc_chap2, which including |
8 |
the configuration of rsh. |
9 |
|
10 |
# eix netkit-rsh |
11 |
[I] net-misc/netkit-rsh |
12 |
Available versions: 0.17-r8 ~0.17-r9 {pam} |
13 |
Installed versions: 0.17-r8(08:51:30 10/20/08)(pam) |
14 |
Homepage: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/ |
15 |
Description: Netkit's Remote Shell Suite: rexec{,d} |
16 |
rlogin{,d} rsh{,d} |
17 |
|
18 |
# cat /etc/xinetd.d/rsh |
19 |
service shell |
20 |
{ |
21 |
socket_type = stream |
22 |
protocol = tcp |
23 |
wait = no |
24 |
user = root |
25 |
group = tty |
26 |
server = /usr/sbin/in.rshd |
27 |
log_type = FILE /var/log/rsh |
28 |
log_on_success = PID HOST USERID EXIT DURATION |
29 |
log_on_failure = USERID ATTEMPT |
30 |
disable = no |
31 |
} |
32 |
|
33 |
# cat /etc/xinetd.d/rlogin |
34 |
service login |
35 |
{ |
36 |
socket_type = stream |
37 |
protocol = tcp |
38 |
wait = no |
39 |
user = root |
40 |
group = tty |
41 |
server = /usr/sbin/in.rlogind |
42 |
log_type = FILE /var/log/rlogin |
43 |
log_on_success = PID HOST USERID EXIT DURATION |
44 |
log_on_failure = USERID ATTEMPT |
45 |
disable = no |
46 |
} |
47 |
|
48 |
I tried to rlogin(rlogin -l myuser host) and rsh(rsh -l myuser host |
49 |
date) from the remote machine 192.168.0.7 and from localhost. Here is |
50 |
the log: |
51 |
# cat /var/log/rsh |
52 |
08/10/20@09:58:39: START: shell pid=23802 from=127.0.0.1 |
53 |
08/10/20@09:58:48: EXIT: shell status=1 pid=23802 duration=9(sec) |
54 |
08/10/20@09:58:53: START: shell pid=23857 from=127.0.0.1 |
55 |
08/10/20@09:58:59: EXIT: shell status=1 pid=23857 duration=6(sec) |
56 |
08/10/20@10:17:21: START: shell pid=26446 from=192.168.0.7 |
57 |
08/10/20@10:17:21: FAIL: shell address |
58 |
08/10/20@10:17:21: EXIT: shell status=0 pid=26446 duration=0(sec) |
59 |
|
60 |
# cat /var/log/rlogin |
61 |
08/10/20@10:19:04: START: login pid=26727 from=192.168.0.7 |
62 |
08/10/20@10:19:10: FAIL: login address |
63 |
08/10/20@10:19:10: EXIT: login status=0 pid=26727 duration=6(sec) |
64 |
08/10/20@10:39:31: START: login pid=28886 from=127.0.0.1 |
65 |
08/10/20@10:39:40: EXIT: login status=0 pid=28886 duration=9(sec) |
66 |
08/10/20@10:39:46: START: login pid=28912 from=127.0.0.1 |
67 |
08/10/20@10:39:47: EXIT: login status=0 pid=28912 duration=1(sec) |
68 |
|
69 |
So in a word, I can rlogin from localhost with common user(I meant not |
70 |
root) but not from remote machine 192.168.0.7. And I can't use rsh at |
71 |
all. |
72 |
|
73 |
So anyone can help? |
74 |
|
75 |
PS: |
76 |
I just want to use iozone, and I am not very sure whether I can ssh in |
77 |
the iozone clusting test or not. If I can use ssh without changing the |
78 |
source of iozone(iozone is a benchmark tool, so I don't think it's a |
79 |
good idea to change it), please let me know. |
80 |
|
81 |
Thanks in advanced! |
82 |
-- |
83 |
wcw |