我接到了一个任务,用一些简单的数据配置 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 进行并行处理?