VMware8 Implementing a Highly available (HA) cluster

Source: Internet
Author: User

Chen Kozhan

===========

Operating system: won the Kirin Advanced operating system V6 x86-64

Implementation software: The successful application of Kylin high-availability cluster software

========================

1. Planning and configuration of the environment

Hardware requirements
Server the server needs at least 2 units, each server needs at least 2 network cards to do heartbeat and connect the public network use
Storage environment
It is recommended to use one SAN/NAS/ISCSI storage as the data shared storage space


Software Requirements
1. Required to install on each server the Kylin Linux server operating system V5.4 above version
2. You need to install the Kylin high availability cluster software on each server separately


Network requirements
1. You must ensure that each NIC has a fixed IP address that is used to provide the appropriate service or heartbeat to the outside
2. In addition to the network card connected to the public network, each computer configured at least one additional network card as a dedicated communication within the cluster, if it is a dual-machine configuration, the private network can be connected through a cross-network cable
3. The use of different TCP/IP subnet addresses is recommended for public and private networks
4. The network between nodes in the cluster needs to be able to communicate with each other, ping can communicate


System Configuration Requirements
1. Properly configure the server's network environment, including IP, NetMask, GateWay, DNS, etc.
2. all network addresses between two servers can ping each other
3. Set the name correctly, edit the/etc/hosts file, do not use the hostname for 127.0.0.1 settings, such as 127.0.0.1 localhost localhost.localdomain
4. The network between nodes in the cluster needs to be able to communicate with each other, ping can communicate

2. Implementing hardware environment requirements with WMware

A. Create two virtual machines and install the operating system, which is not described here;

B. Add a network card to two blocks per virtual machine:

The network card is added by means of Nat.

For more information, please visit: http://blog.csdn.net/u013474104/article/details/43731153

Effect:


Note: Two NICs are required for each server.

C. Storage environment, set when installed, as long as a server SAN/NAS/ISCSI storage as a data sharing storage space;


3. Software Requirements Implementation

A. The version of the operating system on each server, the successful bidder has stipulated that each operating system needs to V5.4 above, then we use V6, meet the requirements;

B. Install the high-availability cluster software for each server and install it first!

4. Network Environment requirements

A. Must ensure that each network card uses a fixed IP to facilitate the external provision of appropriate services or heartbeat;

Since my operating system is a graphical page, I am directly configured!

Server A ip:192.168.137.128, 192.168.137.130

Server B ip:192.168.137.129, 192.168.137.131


The scope of the said refers to:


B. Ensure that the two servers can ping each other:

Server B--


Server A--


5. System Configuration Environment

A. Correct settings name: Edit/etc/hosts, for 127.0.0.1 settings (do not use the host) should be--127.0.0.1 localhost localhost.localomain

6. Install the highly available cluster software for each server with Kylin:

This is not detailed introduction!

7. Test examples


VMware8 Implementing a Highly available (HA) cluster

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.