0

我接到了一个任务,用一些简单的数据配置 1000 台服务器。假设我需要登录服务器(linux 或 windows)并设置 ntp 服务器。我需要想出某种使用 perl 的自动化框架。我有一些想法,想得到更多。

这是我的思考过程:

a) Since there are 1000s of servers, definitely the framework should be able to read in a csv file so all inputs can be provided as apposed to single input.

b) Since there are so many servers, I have to find a way to do things in parallel. I cant go server by server in a sequential way

c) I should have some output file that shows the results of all the servers that I successfully configured, servers that failed. That way I can compare input file and output file and generate a report

我应该在我的框架中考虑其他什么吗?如何使用 perl 进行并行处理?

4

1 回答 1

0

即使你想坚持使用 Perl,看起来已经有一些替代方案可以阻止你从头开始实现另一个框架。

查看来自http://my.opera.com/cstrep/blog/2010/05/14/puppet-fabric-and-a-perl-alternative的评论,了解几个选项。

于 2012-06-26T16:13:03.623 回答