gavino wrote: > list of servers L.txt > #cat L.txt > config file is /var/bkupexec/agent.cfg need to add "tell epobackup" to > bottom of file > # cat "tell epobackup" >> /var/bkupexec/agent.cfg > agent is /etc/init.d/agent.ini stop (and then start) > # /etc/init.d/agent.init stop > # /etc/init.d/agent.init start > os=redhat ent 4ES > I intend to use root password which is same for all 100 servers. > #now I'm stuck
Read L.txt from (not your shell as you seem to be doing) Python and connect to each one from pxssh, and send the commands you listed. I am afraid, you will have to readup and experiment on a smaller scale. The sample I pointed you to is a rather simple one and you don't seem to have even tried it. -- http://mail.python.org/mailman/listinfo/python-list