Why ??

Source: Internet
Author: User

This cainiao wants to install a cluster such as corosync pacemaker heartbeatv3. The general configuration process is similar to the online documentation. To help you troubleshoot the problems, I will write a general idea about my installation:
The system is centos5.5.

Dual-host mutual trust, time synchronization, and hosts files are all configured. Ping each node is normal.


  • List of installed software:


Cluster-glue-1.0.6-1.6.el5.i386.rpm
Cluster-glue-libs-1.0.6-1.6.el5.i386.rpm

Corosync-1.2.7-1.1.el5.i386.rpm
Corosynclib-1.2.7-1.1.el5.i386.rpm

Heartbeat-3.0.3-2.3.el5.i386.rpm
Heartbeat-libs-3.0.3-2.3.el5.i386.rpm

Libesmtp-1.0.4-5.el5.i386.rpm

Pacemaker-1.1.5-1.1.el5.i386.rpm
Pacemaker-cts-1.1.5-1.1.el5.i386.rpm
Pacemaker-libs-1.1.5-1.1.el5.i386.rpm
Perl-TimeDate-1.16-5.el5.noarch.rpm
Resource-agents-1.0.4-1.1.el5.i386.rpm
Finally, yum-y -- nogpgcheck localinstall *. rpm is used to automatically solve the dependency.




Step 2: configure the corosync configuration file. The added content is the same as that on the Internet.

Service {# define a service to use pacemaker
Ver: 0 # version
Name: Pacemaker
}
Aisexec {# define the working user of corosnyc, and use the root user
User: Root
GROUP: Root
}

Step 3:
Create the/var/log/cluster directory to store log files.
Step 4:

Then use SCP-P corosync. conf authkeys to go to another node,

Step 5: Start corosync


Step 6: View logs
Many people on the Internet wrote about whether there are any errors, such as totem and "corosync cluster engine"-e "configuration file ".
This wood has:

Check if pacemaker is started properly: My cluster system does not
# Grep pcmk_startup/var/log/messages
Jun 14 19:03:50 node1 corosync [5120]: [pcmk] info: pcmk_startup: CRM: initialized
Jun 14 19:03:50 node1 corosync [5120]: [pcmk] logging: initialized pcmk_startup
Jun 14 19:03:50 node1 corosync [5120]: [pcmk] info: pcmk_startup: maximum core file size is: 4294967295
Jun 14 19:03:50 node1 corosync [5120]: [pcmk] info: pcmk_startup: Service: 9
Jun 14 19:03:50 node1 corosync [5120]: [pcmk] info: pcmk_startup: Local hostname: node1.a.org
Finally, pacemaker cannot be started,




Please help and support your friends. Thank you.


Why ??

Related Article

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.