Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I need you guidance to solve my query.
How can I execute the scripts from some central unix server to other remote servers without actually copies the scripts on the remote servers ?
As I need to frequent update/change the scripts so I have to manually update all the scripts on the all remote servers. To avoid all such hassle, I want to put all the scripts with some common location and execute those scripts from that central location to all the remote servers; so that any script changes have to be done in the central server only.
The remote servers could each mount the central server's filesystem containing the scripts and then run them. If you don't want to set up NFS, you could install sshfs on each remote server instead. http://fuse.sourceforge.net/sshfs.html If you want to control things completely from the central server (after installing sshfs on each remote), the central could open up an ssh session and run three commands: (1) mount the sshfs central server, (2) run the script, (3) unmount the sshfs central server. Or you could just leave the central server mounted all the time on the remotes.