摘要
大规模的IT网络要求运维脚本采用并行化技术。并行脚本的算法包括三个部分:远程连接、任务分配及文件共享算法。其中任务分配是实现脚本程序并行处理及协同工作的关键环节。通过三种分配算法的设计、实现及验证分析,根据运行效率及资源负载两方面的比较,选择了更加优化、稳定的算法,有效保证了脚本程序的性能及可靠性。基于此算法的脚本成功应用于数千网络设备的管理,显著提升了自动化运维的效率。
large scale IT network requires parallel operation and maintenance scripts.The parallel script algorithm includes three parts:remote connection,task allocation and file sharing algorithm.Among them,task allocation is the key to realize the parallel processing and cooperative work of script programs.Through the design,implementation and verification analysis of three allocation algorithms,according to the comparison of operation efficiency and resource load,a more optimized and stable algorithm is selected to effectively ensure the performance and reliability of script program.The script based on this algorithm is successfully applied to the management of thousands of network devices,which significantly improves the efficiency of automatic operation and maintenance.
作者
程立雪
陈志文
CHENG Li-xue;CHEN Zhi-wen(Institute of Computer Application,China Academy of Engineering Physics,Mianyang 621900,China)
出处
《电脑与信息技术》
2021年第3期24-26,45,共4页
Computer and Information Technology
关键词
任务分配
并行脚本
缓存
管道
task allocation
parallel script
cache
pipeline