How to realize the efficient application of HTTPD service and the unified management of resources

Source: Internet
Author: User

High-efficiency application of HTTPD service and integrated resource management for front-end httpd+heepalived plus back-end HEARTBEAT+NFS+DRBD

This article four machines: Centos6.0

LV1, Lv2 Two machines do httpd front-end, use keepalived do high availability, virtual out a VIP for client access.

Node1, Node2 application DRBD technology to achieve file image storage, virtual out a VIP do nfsserver_ip for httpd service, convenient configuration, the unified management of data;

involving applied technology; httpd, keepalived, DRBD, NFS, Heartbeat

As shown in figure:

lv1:192.168.182.130

lv2:192.168.182.129 vip:192.168.182.200 the VIP for client access

node1:192.168.182.133

node2:192.168.182.134 vip:192.168.182.150 The VIP acts as a nfsserver to mount

First shut down the SELinux, iptables; Of course, the real environment is not the case, we do separate configuration can

First, start configuration, LV1, LV2; test front-end is normal

1, respectively implementation: Yum install-y httpd ipvsadm keepalived

In order to separate out LV1, lv2 page differences, respectively, in the page identification Lv1, LV2

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.