Preparations to be made before the project goes live

Source: Internet
Author: User

First, the release system
The automatic release script of the code is written, creating the online process of the formal environment from the local commit code-test environment-audit-to reduce the manual operation in this process.
Second, monitoring system
1. Monitor and alarm Server cup, memory, disk, network, etc.
2. Log monitoring and alarm, such as the number of error logs generated in one minute, the number of online people in the same period last week, and so on. Through the alarm to more actively discover the problem, rather than wait until the user reflects that we found. This monitoring can reflect the problem in a timely manner, especially when a new version is released.
Some problems will be preceded by a precursor, the monitoring system is best able to capture these precursors, rather than wait until the problem really appeared before the police.
I know the monitoring system has Zabbix, Nagios and so on.
Third, log transfer, log storage and Analysis system
Besides the error log, the log is larger than the behavior log, and we do data sources that are more derived from these behavior logs than the database. These behavior logs can be large, and on chat servers you may retain only the last 3 days or 7 days of logs, and older logs will need to be transferred to a server dedicated to log storage and analysis. In addition, if the number of visits increases later, we will certainly expand the single node into a cluster, then the log scattered in the cluster on each machine is not conducive to statistical analysis. Log transfer can use Scribe, rsync and so on.
Iv. Piping System
1, when the number of servers is increasing, there must be a unified piping system, can not be changed every time a machine to execute.
2, as our system becomes more and more complex, we need to add a machine in the cluster, we do not want to build the system environment and business environment from scratch, but hope that the piping system will be completed automatically. I know this aspect of things have puppet, Cfengine and so on.


What to do before the project goes live

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.