One, HA deployment
The program selection for this experiment is heartbeat v2 + hearesources. Resources have IP and Httpd,filesystem not included.
Prerequisites for configuring an HA cluster:
(1) Consistent resources of each node, hardware or software environment
(2) The time of each node is consistent to facilitate heartbeat transmission, using the NTP protocol to achieve
(3) Between nodes need to communicate with each other through the host name, must resolve the host to the IP address
(a) The recommended name resolution feature uses the hosts file to implement
(b) The name used in the communication must be consistent with the name of the node "uname-n" or hostname display
(4) about the quorum device (shared hard disk or gateway), if there are even several nodes, such as 2, should enable the quorum device, odd number does not need to be enabled, large even can also without the quorum device
(5) Configure the root user between each node to give the key authentication
Configuration list:
This article with Marco to make, for note form, for later look, forgive me! Excuse me!
This article is from the "Linux Sailing" blog, make sure to keep this source http://jiayimeng.blog.51cto.com/10604001/1872749
Ha-web-services Experiment