I am trying to implement a networking model(functioning well on ubuntu 14.04) on my system(ubuntu 12.04), which involves connecting with nodes(machines) remotely and running python script on them. For this, I have to run a Python script on 9 remote machines(nodes) using SSH.
for ID in $(seq 1 9); do ssh -n -t -t n$ID "sudo ./CONF/conf.py $ID $CONFIG" > /dev/null 2>&1 & done
However, I guess it gets remotely connected to these machines but somehow not executing the python script on these 9 nodes(machines). I checked the same experiment in the other system(ubuntu 14.04) where it functions properly to compare the difference and it did execute the python script on each node there and we can see it in the background process. The left screen is from my system and right is from other system(ubuntu 14.04):
Also, I tried connecting to separate machines using ssh and then running separate python script on them. Python script gets executed successfully there. But somehow, using a single command for 9 machines is not working.
What possibly could I be missing on my system(ubuntu 12.04) while the same model runs perfectly on the other(ubuntu 14.04)???
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 250
تاريخ: شنبه
29 خرداد
1395 ساعت: 13:18