[Blog recommendations] describes the development process of an automated O & M management platform.

Source: Internet
Author: User
Tags saltstack

[Blog recommendations] describes the development process of an automated O & M management platform.

This blog post is from the Bkjia blog brother _ star blogger. If you have any questions, go to the blog homepage for an interactive discussion!
Blog: http://brotherxing.blog.51cto.com/3994225/1607931

Development Environment:

Operating System: Cenots6.6

Web Framework: tornado-4.0.2

Database: mysql-5.1.73

Html frame: bootstrap-3.0.3-dist

Related software packages:

Tornado dependent packages

Backports.ssl_match_hostname-3.4.0.2.tar.gz

Setuptools-5.7.tar.gz

Certifi-1.0.1.tar.gz

Tornado-4.0.2.tar.gz

Torndb database environment required software packages

MySQL-python-1.2.5.zip

Torndb-0.2.tar.gz

Password encryption software package:

Passlib-1.6.2.tar.gz

Remote debugging of Mysql software package on windows Client

Navicat_windows_premium_en.rar

Learning materials:

Tornado Official Website

Http://www.tornadoweb.org/en/stable/

Tornado source code Introduction

Http://www.nowamagic.net/academy/detail/13321002

Tornado case studies

Http://my.oschina.net/quanpower/blog/132294

Tornado learning materials

Http://demo.pythoner.com/itt2zh/index.html

Saltstack learning materials

Http://www.saltstack.cn/projects/cssug-kb/wiki

1. the logon interface was developed in May January 23. Users can log on to the verification page, and can log out to delete cookies. Other pages cannot be redirected without logon.

Bug

1. The password is encrypted with md5. Then, go to the group and ask if there is any better encryption method. We recommend the python passlib library to be improved later.

2. If the user's logon password is incorrect, the user is locked for 30 minutes three times. The cookie record method is used for online access. And is expected to be improved later.

3. After successful login, the pop-up box needs to be beautified by an artist.

2. the user management interface was developed on October 25, January 24.

Bug

1. An error occurred while creating a user verification form. You need to debug js separately.

2. the pop-up box for successful creation, deletion, and editing needs to be beautified.

3. The background style needs to be modified by the artist to make the interface more beautiful.

Iii. Host Management

The specific functions also need to be discussed and the specific implementation of research?

Audit report function? (Report details)

System Monitoring? (SNMPor self-developed Agent)

Is the host remotely connected to the service? (Webbash or puppet ....)

Host management service or cluster management?

Iv. Project deployment

Ambiguity

Upload a shell script and software package to automatically deploy it on the specified machine, or write a dedicated script for the popular services. Then you can directly upload the software.

5. Log Management

Wait... Suggestions and comments are used to separate logs of related services to better obtain useful data.

Flowcharts-and general functions can be used to download attachments.

Automated O & M Platform

Bug fixes from

1. Use passlib to encrypt passwords to make logon more secure.

2. Change the length of the Database Password Field and add the logon time field to the database.

3. Remove the password field from manager_user and add the logon time field.

Added the user and group <tab> separation function in 4.html.

5. Improved the code specifications and added comments to the code blocks.

Come on !!! Continue to work

1. As the next step is to develop the ing between the development team and host monitoring, ask someone to help design the table of the corresponding database relationship.

2. Learn about the automated O & M management software of saltstack and integrate it into project deployment.

3. sorted out the bootstarp paging function so that group management and user management can switch normally.

If you are interested, or have any opinions on the automated management platform, you can give me some advice.

Email: 598824458@qq.com

You can also join me to learn and make progress together.

1. Fixed the bug where the new user reported an error.

2. Design Group function-related content

3. Design Project page

Attachment download:

Http://brotherxing.blog.51cto.com/3994225/1607931

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.