<p dir="ltr">Hi,</p>
<p dir="ltr">So I've decided to make things simpler and go with a wired network instead of wireless. I connected both boxes to a router, manually edited the ifcfg-eth0 files to set static IP addresses for both boxes (not before downloading and building a driver for the nic of 1 of the boxes), did a "chkconfig NetworkManager off", "service NetworkManager stop", and "service network restart".</p>
<p dir="ltr">I'm able to ping each other via IP address and hostname. I also already have corosync, pacemaker, crmsh and cman installed.</p>
<p dir="ltr">I then did the following as per the guide at <a href="http://geekpeek.net/linux-cluster-corosync-pacemaker">http://geekpeek.net/linux-cluster-corosync-pacemaker</a></p>
<p dir="ltr">service corosync start - success.<br>
service pacemaker start - I get a "Starting cman...corosync cluster engine is already running [FAILED]"</p>
<p dir="ltr">What's up? :(</p>
<div class="gmail_quote">On Oct 15, 2014 12:23 PM, "Sihan Goi" <<a href="mailto:goister@gmail.com">goister@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>No typo.<br><br>[root@node02 network-scripts]# ls -lah /etc/sysconfig/network-scripts/ifcfg-*<br>-rw-r--r--. 1 root root 254 Oct 10 2013 /etc/sysconfig/network-scripts/ifcfg-lo<br><br></div>I installed CentOS 6.5 with the LiveDVD. I found it weird as well that these files were missing.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 11:54 AM, Digimer <span dir="ltr"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sure there isn't a typo there?<br>
<br>
an-c05n01:~# ls -lah /etc/sysconfig/network-<u></u>scripts/ifcfg-*<br>
-rw-r--r--. 1 root root 225 Jan 16 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-bond0<br>
-rw-r--r--. 1 root root 220 Jan 16 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-bond1<br>
-rw-r--r--. 1 root root 198 Jan 16 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-bond2<br>
-rw-r--r--. 1 root root 149 Jan 16 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-eth0<br>
-rw-r--r--. 1 root root 144 Jan 16 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-eth1<br>
-rw-r--r--. 1 root root 152 Mar 14 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-eth2<br>
-rw-r--r--. 1 root root 149 Jan 16 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-eth3<br>
-rw-r--r--. 1 root root 144 Jan 16 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-eth4<br>
-rw-r--r--. 1 root root 152 Mar 14 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-eth5<br>
-rw-r--r--. 1 root root 254 Jul 22 09:56 /etc/sysconfig/network-<u></u>scripts/ifcfg-lo<br>
-rw-r--r--. 1 root root 213 Mar 13 2013 /etc/sysconfig/network-<u></u>scripts/ifcfg-vbr2<br>
<br>
I've never seen an EL6 install without the files there, 'network' or NetworkManager aside.<br>
<br>
digimer<span><br>
<br>
On 14/10/14 11:32 PM, Sihan Goi wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
There aren't any config files in /etc/sysconfig/network-<u></u>scripts. When I<br>
was using CentOS 7, the config files were there (ifcfg-something) but in<br>
this CentOS 6.5 installation, they are missing.<br>
<br>
If is possible to not use cman, and just use corosync and pacemaker? If<br>
so, how?<br>
<br>
On Wed, Oct 15, 2014 at 11:22 AM, Digimer <<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a><br></span><span>
<mailto:<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>>> wrote:<br>
<br>
You can manually configure the wireless LAN without NetworkManager.<br>
If you take a look, there should be existing config files in<br></span>
/etc/sysconfig/network-__<u></u>scripts/ for the wireless connection. I've<span><br>
not done it myself since many Fedora's ago, but I believe you can<br>
change NMCONTROLLER="no" and then start it up with<br>
/etc/sysconfig/network start. I could be a bit wrong, but I am sure<br>
you can make wireless work without NM.<br>
<br>
Question; Servers with WLAN? I assume these won't be used for corosync?<br>
<br>
digimer<br>
<br>
<br>
On 14/10/14 11:17 PM, Sihan Goi wrote:<br>
<br>
Hi,<br>
<br>
Is there a tutorial showing how to get a basic Linux HA setup with<br>
replicated storage (via DRBD) working on CentOS 6.5? I want to have<br>
mySQL as the HA resource with the database replicated across the<br>
nodes.<br>
I've scoured the web for one but it seems that I get stuck in<br>
each one<br>
somewhere.<br>
<br>
To elaborate, I have 2 CentOS 6.5 nodes configured with distinct<br>
hostnames and static IPs. They are connected to a wireless AP,<br>
and can<br>
ping each other.<br>
<br>
I tried following this guide -<br></span>
<a href="http://clusterlabs.org/__quickstart-redhat.html" target="_blank">http://clusterlabs.org/__<u></u>quickstart-redhat.html</a><span><br>
<<a href="http://clusterlabs.org/quickstart-redhat.html" target="_blank">http://clusterlabs.org/<u></u>quickstart-redhat.html</a>><br>
However, cman will not start when NetworkManager is running, and my<br>
nodes cannot connect to the wireless AP without NetworkManager<br>
running.<br>
Am I missing something or is that the stupidest dependency ever?<br>
How is<br>
a cluster supposed to work when the nodes aren't connected to<br>
one another?<br>
<br>
I also tried following the "clusters from scratch" guide but<br>
that seems<br>
to rely on systemctl calls which aren't available on CentOS 6.5.<br>
<br>
Any help?<br>
<br>
--<br>
- Goi Sihan<br>
<a href="mailto:goister@gmail.com" target="_blank">goister@gmail.com</a> <mailto:<a href="mailto:goister@gmail.com" target="_blank">goister@gmail.com</a>><br></span>
<mailto:<a href="mailto:goister@gmail.com" target="_blank">goister@gmail.com</a> <mailto:<a href="mailto:goister@gmail.com" target="_blank">goister@gmail.com</a>>><br>
<br>
<br>
______________________________<u></u>___________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.<u></u>clusterlabs.org</a>><br>
<a href="http://oss.clusterlabs.org/__mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/__<u></u>mailman/listinfo/pacemaker</a><span><br>
<<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a>><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started:<br></span>
<a href="http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/__<u></u>doc/Cluster_from_Scratch.pdf</a><span><br>
<<a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a>><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
<br>
<br>
--<br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person<br>
without access to education?<br>
<br></span>
______________________________<u></u>___________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.<u></u>clusterlabs.org</a>><br>
<a href="http://oss.clusterlabs.org/__mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/__<u></u>mailman/listinfo/pacemaker</a><span><br>
<<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a>><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started:<br></span>
<a href="http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/__<u></u>doc/Cluster_from_Scratch.pdf</a><span><br>
<<a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a>><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
<br>
<br>
<br>
--<br>
- Goi Sihan<br>
<a href="mailto:goister@gmail.com" target="_blank">goister@gmail.com</a> <mailto:<a href="mailto:goister@gmail.com" target="_blank">goister@gmail.com</a>><br>
<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
</span></blockquote><div><div>
<br>
<br>
-- <br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person without access to education?<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>- Goi Sihan<br><a href="mailto:goister@gmail.com" target="_blank">goister@gmail.com</a>
</div>
</blockquote></div>