I am trying to implement a networking model(functioning well on ubuntu 14.04) on my system(ubuntu 12.04), which involves coecting with nodes(machines) remotely and ruing 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 coected 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 coecting to separate machines using ssh and then ruing 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)???
برچسب:
نویسنده: استخدام کار