摘要
针对服务器集群运维工作当前多采用人工运维的方式存在工作量大、效率低的现象,文中深入研究了基于Ansible的服务器自动化运维技术。首先,分析当前服务器集群运维所面临的问题及服务器自动化运维的重要性,将Ansilbe框架与数组抽取方法相结合,着重探究服务器账户密码生成与修改的自动化技术。为了提高Ansilbe框架的响应速度,文中采用带有Intel SGX功能的配置管理模块。将Ansible所使用的远程主机配置信息进行永久性储存,可以有效缩短服务器运行时间并提高服务器集群登入信息的安全性。实验测试结果表明,文中所述方案可以生成复杂度高、长度可控的有效密码,同时服务器系统运行时间显著降低,证明了所提方案的有效性。
Aiming at the manual operation and maintenance of the server cluster operation,there is a phenomenon of large workload and low efficiency.This paper conducts research and implementation of server automation operation and maintenance technology based on Ansible.The problems faced by the current server cluster operation and maintenance and the importance of server automation operation and maintenance ared analyzes in this article at first,and Ansilbe is used to focus on the automation technology of server account password generation and modification.In order to improve the response speed of the Ansilbe framework,a configuration management module with Intel SGX function is used to permanently store the remote host configuration information used by Ansible,which can effectively reduce server runtime and improve the security of server cluster login information.The test results show that the scheme described in this paper can effectively generate passwords with high complexity and controllable length,while the server system running time is significantly reduced,which proves the effectiveness of this scheme.
作者
李沁蔓
LI Qin-man(Information Center,Guangxi Power Grid Co.,Ltd.,Nanning 530023,China)
出处
《电子设计工程》
2020年第13期23-26,31,共5页
Electronic Design Engineering
基金
广西电网有限责任公司科技项目(0400002018030103DD00028)。