Results 1 to 3 of 3
Dear all,
Please recommend some methods of:
-Deploy some files
-Execute some scripts as root
in few hundred servers. Just can't think of the best way of doing it. These ...
- 07-05-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 17
Central management
Dear all,
Please recommend some methods of:
-Deploy some files
-Execute some scripts as root
in few hundred servers. Just can't think of the best way of doing it. These are RHEL servers but we have different releases.
Thanks in advance.
- 07-06-2009 #2
well,welcome.
please tellus if the files you want to deploy are script ot anything else.There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.


- 07-06-2009 #3
You can create a for loop.
You will need to set up ssh keys on the servers. Have one server become the master and then add the public ssh keys to the clients. Of course you can alter the command that I showed to whatever.Code:#!/bin/bash for server in "server1" "server2" "server3" "server4" "server5" ; do ssh $server /usr/local/apache/bin/apachectl graceful done
Hope this helps
Jaysunn


Reply With Quote