# 自动化运维

**传统运维的弊端**

* 传统运维效率低大多工作人为完成
* 传统运维工作繁琐容易出错
* 传统运维每日重复做相同的事情
* 传统运维没有标准化流程
* 传统运维的脚本繁多，不能方便管理

自动化运维就是要解决上面所有问题

**常见的自动化运维工具**

Puppet （[www.puppetlabs.com）](http://www.puppetlabs.com）) 基于rubby开发，c/s架构，支持多平台，可管理配置文件、用户、cron任务、软件包、系统服务等。 分为社区版（免费）和企业版（收费），企业版支持图形化配置。

Saltstack（官网 <https://saltstack.com,文档docs.saltstack.com> ） 基于python开发，c/s架构，支持多平台，比puppet轻量，在远程执行命令时非常快捷，配置和使用比puppet容易，能实现puppet几乎所有的功能。

Ansible （[www.ansible.com](http://www.ansible.com) ） 更加简洁的自动化运维工具，不需要在客户端上安装agent，基于python开发。可以实现批量操作系统配置、批量程序的部署、批量运行命令。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lack.gitbook.io/operation-and-maintenance/zi-dong-hua-yun-wei.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
