Now the operation of the circle are popular use of various automated tools for operations, personal feeling, these are just a gimmick, is a number of training institutions to obtain the pretence of interest, but also the various operators to improve the value of the weight, itself and nothing.
For large-scale system operations, there are several business scenarios:
1. Unified Configuration Management
(such as batch change a parameter of the server, batch upload a file, batch change a file of the server)
Some people say that puppet can do a good job, in fact, write a loop script, for each IP, execute an implementation configuration function shell script
(SSH can be implemented to remotely change a parameter, remote change a file, SCP can implement upload a file), is an easy thing, why I have to expend effort to learn, configure puppet, and do not say puppet installation may also need other dependent packages.
As to say puppet has version control function, actually is a chicken ribs. In the production environment, all system configuration (change) will take the process (change number), to follow up on a system configuration change process, only in the "Change management platform (each company may be different)" keyword (such as system name, business name, IP, change) can be retrieved.
So, why should I use a tool like puppet?
2. Remote command execution
(such as batch check server configuration parameters)
SSH commands can be fully implemented, as for batch execution, but also in the outer layer of SSH, set a loop structure. So, why should I use Func for remote command execution.
As for Saltstack (the function of Puppet and Func), configuration trouble, since the shell can be implemented, why should I use it?
3. Automatic response of interactive process
For some need to manually input the operation of the interaction process (such as the login of the machine without SSH trust, need input password, the business scenario occurs in the configuration SSH trust phase, once SSH mutual trust success, you can use a normal script), expect tools, Python's Pexpect module can be implemented.
For a large number of server operating system installation, Pxe+kickstart slightly trouble, but cobbler in fact there is no easy to go. Moreover, for IDC, the procurement of the server is the vendor is responsible for the shelves, system installation (or push), IP settings, cable tie and so on.
4. Batch deployment Server (Web Server,app server,db server)
It is now created directly with the cloud platform, such as OpenStack, and then run behind the script for Server Software installation, configuration and so on. The products are delivered in a variety of software are already well-equipped
Automated operations-automation tools It's just a gimmick.