Quick introduction to python automated operation and maintenance, python automated operation and maintenance tutorial

Hello everyone, this article will focus on the skills that need to be mastered in python automated operation and maintenance. From entry to proficiency in python automated operation and maintenance is something that many people want to understand. To understand the python automated operation and maintenance quick introduction pdf, you need to first understand the following A few things.

There is no doubt that the strong demand for automation in operation and maintenance jobs has been revealed - as an ancient technical job, it can only be maintained by human flesh when there are a few or dozens of servers. In the era of cloud computing, there are often hundreds or thousands of servers. Human flesh alone is not enough. Maintenance is obviously helpless. Imagine tens of thousands of servers such as Google and Alibaba Cloud. If manual maintenance is performed alone, operation and maintenance will become the job type with the highest demand for personnel. How can one learn Python programming ?

In an era when Devops is highly respected, even development inevitably involves some operation and maintenance work. So today I have compiled some learning resources for automated operation and maintenance for you, hoping to provide you with some help. As an operation and maintenance engineer, these are just what you may need. As a non-operation and maintenance technician, you might as well record them and look them up later if you need them.

Books and materials cannot be avoided when learning book recommendation technology. There are 10 books compiled here. Readers do not need to read them all, they only need to select the content that suits their own skills. Most books can be found electronically on the Internet.

"Puppet in Action"

"Puppet in Action" explains the functions and usage of puppet in detail, deeply analyzes the working principle of puppet, and systematically summarizes puppet usage techniques, including a large number of practical cases and best practices from the front line.

The book has 20 chapters in total, divided into four parts: Preparation (Chapter 1~4) introduces the purpose, organizational structure, working principle, core configuration files, installation and configuration of puppet on various platforms, and its operating environment. It is the preparation work that must be done before using puppet; the basic chapter (Chapter 5~10) explains in detail the theoretical knowledge and function use of puppet, puppet's syntax and commands, resources, modules, classes, templates, node management, and facter , arrays, functions, variables and labels; the practical chapter (Chapter 11~13) uses several classic cases, including large-scale nginx cluster deployment scheme, distributed monitoring system deployment scheme, openstack rapid deployment scheme, etc., to enable readers to quickly Apply puppet into practice; the advanced chapter (Chapter 14~20) comprehensively explains puppet's expansion mode, version control, reporting system, console, expansion tools and mcollective, allowing readers to understand a complete puppet production process.

"Nagios System Monitoring Practice"

"Nagios System Monitoring Practice (2nd Edition of the Original Book)" starts from reality and puts forward a series of requirements for monitoring in system operation and maintenance at the beginning, thus launching a preliminary introduction to the nagios system (Chapter 1~2), and then starts from practical From the perspective of Nagios, it comprehensively and in detail explains the installation and configuration of nagios (Chapter 3~4). By simplifying configuration, implementing monitoring, etc. (Chapter 5~6), a large number of examples are used to demonstrate the actual capabilities of nagios. Then, it introduces some commonly used solutions in terms of expansion (Chapter 7), and leads readers step by step into the world of data visualization from principles, cases to final DIY (Chapter 8). In addition, the functional features of nagios xi, the commercial version of nagios, are also introduced (Chapter 9). Finally, the nagios event proxy (neb) is introduced and the complete neb plug-in is implemented in C language (Chapter 10), so that readers can further understand the working mechanism of neb.

"In-depth Practice of Zabbix Monitoring System"

"In-depth Practice of Zabbix Monitoring System (2nd Edition)" comprehensively explains the application and principles of Zabbix from the shallower to the deeper. It is a summary and concentration of the author's many years of practical experience. In the concept chapter, we start with a simple but complete introductory case, which introduces the most basic concepts, and uses the case to help readers who can see the monitoring data by simply adding the server to monitoring; and then gradually deepens and continues. The stage chapter introduces the configuration of various aspects of Zabbix; in the design chapter, an in-depth analysis of the internal principles of Zabbix is ​​carried out, including the interaction between Zabbix and the database, the design of Zabbix database tables, etc., and the author shares the pitfalls he has encountered on Zabbix and the problems he has solved. ideas; finally, we will introduce 58.com’s open source Zatree and Chrome plug-ins, mobile clients and other tools in the open source section.

"In-depth Practice of Zabbix Monitoring System (2nd Edition)" is suitable for technical personnel who want to use Zabbix to build a monitoring system, and is also suitable for readers who have a certain foundation and have higher requirements for Zabbix.

"Practical Guide to Linux System Commands and Shell Scripts"

The book has a total of 18 chapters, divided into three parts in terms of knowledge structure. The first part is the first 8 chapters, which comprehensively introduces the basic knowledge and common commands of Linux; the second part is Chapter 9 and Chapter 10, mainly about the use of interactive and non-interactive editors under Linux; the third part is Chapter 11~ Chapter 18, mainly shell script development. The content of these three parts has its own emphasis, and readers can choose to read according to actual needs.

"Linux command line and shell script programming encyclopedia"

This book is a comprehensive tutorial on Linux command line and shell script programming. The book is divided into four parts: the first part introduces the Linux shell command line; the second part introduces the basics of shell script programming; the third part delves into the advanced content of shell script programming; the fourth part introduces how to use shell scripts in real environments. This book not only covers detailed hands-on tutorials and practical real-world information, but also provides reference information and background information related to what you learn.

"Linux Software Management Platform Design and Practice"

The book consists of 8 chapters, which are logically divided into three parts:

The first part (Chapter 1~4) is the basic technology chapter, which introduces the concept, organization and production methods of rpm in detail. In addition, it conducts an in-depth analysis of the yum service. The purpose is to provide readers who are interested in software development with a better understanding of rpm and It provides guidance in the yum field, provides guidance for operation and maintenance and system managers, and helps readers clear obstacles in the use and understanding of rpm/yum.

The second part (Chapter 5-6) is about problem analysis and system design. It puts forward problems based on the current situation of software management in enterprises, and then starts from the basic system, gradually solves the problems, optimizes the plan, and finally forms a software management platform. The design plan is suitable for those who are responsible for software platform optimization and system service management in enterprises.

The third part (Chapter 7-8) is the implementation chapter. If readers want to apply the software management platform designed in this book to the environment of their own enterprise, they can refer to the content of this part for detailed design and coding implementation. The appendix lists the problems that rpm and yum often encounter in daily use and the corresponding solutions.

"Practical Combat in Building High-Performance Linux Servers: System Security, Troubleshooting, Automated Operation and Maintenance, and Cluster Architecture"

The book has 14 chapters in total, divided into four parts:

Security Operation and Maintenance (Chapter 1-3) mainly explains the key technologies and methods of server security operation and maintenance, network security operation and maintenance, and data security operation and maintenance;

Operation and maintenance troubleshooting (Chapter 4-5) explains the troubleshooting ideas of operation and maintenance faults from the two dimensions of server system and application software, as well as solutions to common and classic operation and maintenance faults;

Automated Operation and Maintenance (Chapter 6-9) mainly explains the various tools (pssh, pdsh, mussh, Ganglia, nagios, etc.) required for large-scale cluster operation and maintenance such as automated deployment and configuration of massive hosts, automated monitoring, distributed monitoring, etc. Centreon, etc.) and methods;

Cluster Architecture (10-14) explains how to build and optimize high-performance clusters and high-availability load balancing clusters based on Web and MySQL databases.

"Building a Highly Available Linux Server"

The biggest feature of "Building Highly Available Linux Servers (3rd Edition)" is that it is closely integrated with practice. All theoretical knowledge, methods, techniques and cases come from actual production environments, covering Linux server construction and optimization, server fault diagnosis and troubleshooting, and Shell Scripting, high-availability Linux cluster construction, MySQL performance tuning and high availability, automated operation and maintenance (Puppet), security operation and maintenance and other topics, all contents are centered around the theme of "how to build a highly available Linux server".

"Python Automated Operation and Maintenance: Technology and Best Practices"

The book has 16 chapters in total:

The Basics (Chapter 1-4) introduces basic and common modules such as system basic information, business service monitoring, customized business quality reports, and system security in detail;

The advanced chapter (Chapter 5-12) provides an in-depth explanation of advanced functions such as batch operation and maintenance managers pexpect, paramiko, and Fabric, centralized management platforms Ansible, Saltstack, and unified network controller Func, covering automated operations, system management, configuration management, and clustering. Topics such as management and big data applications;

The case chapter (Chapter 13-16) introduces in detail 4 operation and maintenance cases from different platforms, how to build a B/S automated operation and maintenance platform from scratch, how to create a Linux system security audit function, and how to build a distributed quality monitoring platform , how to build a desktop version of C/S automated operation and maintenance platform, these four cases are all from the actual production environment.

《Python for UNIX and Linux System Administration》

"Python UNIX and Linux System Administration Guide" introduces how the Python language provides various more efficient task processing methods for managing uNIx and Linux servers. Each chapter in the book poses a specific management problem, such as concurrency or data backup, and then provides a solution through Python examples. Through "Python UNIX and Linux System Management Guide", readers can learn how to use Python to develop their own set of command line tools to solve many problems.

Tool documentation

Whether you are reading a book or practicing, as long as you use tools, documentation is always an unavoidable part.

(After summarizing it, I found that there are too many tools...I won't try to list everything. You can look at your daily needs and then Google it. After all, finding a document is not a problem at all)

Information sources There are not many websites that specifically provide information on automated operation and maintenance. Most of the information appears in technical communities such as operation and maintenance and language.

It is an operation and maintenance information aggregation site. As you can see from the name, operation and maintenance technical content occupies the majority of the site. However, although there is a lot of content, the originality is questionable.

The content quality of Nuggets Community is relatively high, but the quantity of content is much less than other sites. However, the boutique route means rejecting most address articles, so it is still worth recommending.

This needs no introduction, but the quality of the community has been declining since commercialization, so pay attention to screening~

It’s almost the same as the previous one, but the atmosphere of operation and maintenance is stronger.

This needs no introduction, right?

————————————————————————

Let’s sort these out today. If I have time, I’ll recommend some blogs and public accounts to you~

In order to facilitate everyone's learning, I have established a Python communication group. Currently, there are 1207 friends in the group. Friends who are lonely in learning may wish to come and play together ~ Group number: 475035830

If you want to have a deeper understanding of the Python knowledge system, you can take a look at the content of hundreds of knowledge points that we spent more than a month organizing hundreds of hours:

Guess you like

Origin blog.csdn.net/chatgpt001/article/details/132969470