マスターマシンにスレーブを追加しようとしました。ただし、追加するときにパスワードを要求します。わからなかったこと。
マスター=ジャム
Slave = naveen、raja、gaurav
以下のエラーを解決してください。あなたの親切な対応を求めています。
コンソールのスナップショット:-
ホストを追加しようとすると、これらの行が表示されます
0successful
HOST DTID
ANY NAME NO SUCH HOST
vim /etc/hosts ショー:-
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1 localhost.localdomain localhost
10.40.54.180 gaurav.my.domain #node 1 slave
10.40.54.92 naveen.my.domain #node 2 slave
10.40.55.31 raja.my.domain #node 3 slave
10.40.55.113 localhost.localdomain #node 4 master
#::1 localhost6.localdomain6 localhost6
編集済み
仕事のこと、今までのことをここに書きます
- pvm3 tar ファイルをダウンロードします。
- PVM を実行するためのすべての変数を設定します。
- export PVM_RSH=/ur/bin/ssh
- マスターとスレーブ間のパスワードレス接続を確立します。
- 単一のマシンで単純なコードを実行すると、機能します。
- コマンドを使用してマスターにスレーブを追加しようとする
add naveen.my.domain
と、上の画像と同じように表示されます。
これで十分な情報だと思います。
編集番号 2
を実行ssh -v naveen@10.40.54.92
すると、
......
.....
debug1: Authentications that can continue: publickey, password
debug1: Next Authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Offering public key: /root/.ssh/id_rsa
debug1: Server accepts key:pkalg ssh-rsa blen 277
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0:new [client-session]
debug1: Entering Interactive session.
debug1: Sending environment.
.......
.....