Manage all Web server nodes with Rex

Source: Internet
Author: User

Why use Rex, because the current online traffic more and more, more and more servers, maintenance projects are more and more, whether it is to install software, modify configuration, optimization, management, upgrade and other operations by writing a bunch of scripts to centralize the operation has been difficult to meet my requirements. At this time, it is necessary to unify the cluster environment of all different types of business projects and manage them centrally.

The commonly used centralized management software has puppet salt Ansible Rex and so on. After synthesizing the comparison, I chose Rex. The reason is that Rex is based on SSH for integrated management, no need to install the client for each service node, concise, lightweight, is part of the reason I chose Rex, of course, other integrated management software has not been studied, but Rex has been able to meet all my requirements, the module Rex can be used as a library to invoke , or it can be used as a central management platform to do everything with the Rex command. I am very skilled in Perl, for some special applications I will combine the Rex as a normal module, by invoking the Rex module in his own script to provide some of the methods for remote operation, flexibility, availability is relatively strong. That's one of the main reasons I chose Rex.

Introduce the environment on my Line:

I want to manage 7 projects, each with a clustered environment (averaging 4 nodes or so), and the Web service on each node is tomcat7.0+ jdk1.7 environment; session sharing uses a clustered environment consisting of two memcache, with two high-performance physical machines + one iSCSI enclosure for the RAC environment. Four proxy server (all are used nginx), picture storage uses the form of DRBD+HEARTBEAT+NFS, because is the mall website Picture volume is now more and more, the traffic is more and more, NFS picture server easily because I/o problem becomes very unstable, Currently tested with Moosefs and FASTDFS, you are ready to migrate your image storage to distributed storage.

After I took over this is the environment, of course, the overall network structure design is very bad, very poor. There are flaws in both security, stability, and high availability. But the top didn't want me to change the architecture, so I had to manage the existing environment centrally. (Alas, it is difficult to do operations!!) )


Manage all Web server nodes with Rex

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.