Hi,
I want to use iozone to test my cluster, and I found that iozone would use rsh.

But rsh never worked in my machine.

I have followed this guide
http://www.gentoo.org/doc/en/hpc-howto.xml#doc_chap2, which including
the configuration of rsh.

 # eix netkit-rsh
[I] net-misc/netkit-rsh
     Available versions:  0.17-r8 ~0.17-r9 {pam}
     Installed versions:  0.17-r8(08:51:30 10/20/08)(pam)
     Homepage:            ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
     Description:         Netkit's Remote Shell Suite: rexec{,d}
rlogin{,d} rsh{,d}

# cat /etc/xinetd.d/rsh
service shell
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        group           = tty
        server          = /usr/sbin/in.rshd
        log_type        = FILE /var/log/rsh
        log_on_success  = PID HOST USERID EXIT DURATION
        log_on_failure  = USERID ATTEMPT
        disable         = no
}

 # cat /etc/xinetd.d/rlogin
service login
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        group           = tty
        server          = /usr/sbin/in.rlogind
        log_type        = FILE /var/log/rlogin
        log_on_success  = PID HOST USERID EXIT DURATION
        log_on_failure  = USERID ATTEMPT
        disable         = no
}

I tried to rlogin(rlogin -l myuser host) and rsh(rsh -l myuser host
date) from the remote machine 192.168.0.7 and from localhost. Here is
the log:
# cat /var/log/rsh
08/10/[EMAIL PROTECTED]:58:39: START: shell pid=23802 from=127.0.0.1
08/10/[EMAIL PROTECTED]:58:48: EXIT: shell status=1 pid=23802 duration=9(sec)
08/10/[EMAIL PROTECTED]:58:53: START: shell pid=23857 from=127.0.0.1
08/10/[EMAIL PROTECTED]:58:59: EXIT: shell status=1 pid=23857 duration=6(sec)
08/10/[EMAIL PROTECTED]:17:21: START: shell pid=26446 from=192.168.0.7
08/10/[EMAIL PROTECTED]:17:21: FAIL: shell address
08/10/[EMAIL PROTECTED]:17:21: EXIT: shell status=0 pid=26446 duration=0(sec)

# cat /var/log/rlogin
08/10/[EMAIL PROTECTED]:19:04: START: login pid=26727 from=192.168.0.7
08/10/[EMAIL PROTECTED]:19:10: FAIL: login address
08/10/[EMAIL PROTECTED]:19:10: EXIT: login status=0 pid=26727 duration=6(sec)
08/10/[EMAIL PROTECTED]:39:31: START: login pid=28886 from=127.0.0.1
08/10/[EMAIL PROTECTED]:39:40: EXIT: login status=0 pid=28886 duration=9(sec)
08/10/[EMAIL PROTECTED]:39:46: START: login pid=28912 from=127.0.0.1
08/10/[EMAIL PROTECTED]:39:47: EXIT: login status=0 pid=28912 duration=1(sec)

So in a word, I can rlogin from localhost with common user(I meant not
root) but not from remote machine 192.168.0.7. And I can't  use rsh at
all.

So anyone can help?

PS:
I just want to use iozone, and I am not very sure whether I can ssh in
the iozone clusting test or not. If I can use ssh without changing the
source of iozone(iozone is a benchmark tool, so I don't think it's a
good idea to change it), please let me know.

Thanks in advanced!
-- 
wcw

Reply via email to