[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Question about cluster behavior

Replies in-line:

On 14/02/14 12:07 PM, FABIO FERRARI wrote:
So it's not a normal behavior, I guess.

Here is my cluster.conf:

<?xml version="1.0"?>
<cluster config_version="59" name="mail">
                 <clusternode name="eta.mngt.unimo.it" nodeid="1">
                                 <method name="fence-eta">
                                         <device name="fence-eta"/>
                 <clusternode name="beta.mngt.unimo.it" nodeid="2">
                                 <method name="fence-beta">
                                         <device name="fence-beta"/>
                 <clusternode name="guerro.mngt.unimo.it" nodeid="3">
                                 <method name="fence-guerro">
                                         <device name="fence-guerro"
" ssl="on" uuid="4213f370-9572-63c7-26e4-22f0f43843aa"/>
         <cman expected_votes="5"/>

You generally don't need to set this, the cluster can calculate it.

         <quorumd label="mail-qdisk"/>

You don't set any votes, so the default is "1". So with expected votes being 5, that means all three nodes have to be up or two nodes and qdisk.

                         <ip address="" sleeptime="10"/>
                         <mysql config_file="/etc/my.cnf"
listen_address="" name="mysql"
shutdown_wait="10" startup_wait="10"/>
                         <script file="/etc/init.d/httpd" name="httpd"/>
                         <script file="/etc/init.d/postfix" name="postfix"/>
                         <script file="/etc/init.d/dovecot" name="dovecot"/>
                         <fs device="/dev/mapper/mailvg-maillv"
force_fsck="1" force_unmount="1" fsid="58161"
fstype="xfs" mountpoint="/cl" name="mailvg-maill
v" options="defaults,noauto" self_fence="1"/>
                         <lvm lv_name="maillv" name="lvm-mailvg-maillv"
self_fence="1" vg_name="mailvg"/>
                         <failoverdomain name="mailfailoverdomain"
nofailback="1" ordered="1" restricted="1">
name="eta.mngt.unimo.it" priority="1"/>
name="beta.mngt.unimo.it" priority="2"/>
name="guerro.mngt.unimo.it" priority="3"/>
                 <service domain="mailfailoverdomain" max_restarts="3"
name="mailservices" recovery="restart"
                         <fs ref="mailvg-maillv">
                                 <ip ref="">
                                         <mysql ref="mysql">
                                                 <script ref="httpd"/>
                                                 <script ref="postfix"/>
                                                 <script ref="dovecot"/>
                 <fencedevice agent="fence_ipmilan" auth="password"
ipaddr="" lanplus="on" login="root"
name="fence-eta" passwd="******" pr
                 <fencedevice agent="fence_ipmilan" auth="password"
ipaddr="" lanplus="on" login="root"
name="fence-beta" passwd="******" p
                 <fencedevice agent="fence_vmware_soap"
ipaddr="" login="etabetaguerro"
name="fence-guerro" passwd="******"/>

What log file do you need? There are many in /var/log/cluster..

By default, /var/log/messages is the most useful. Checking 'cman_tool status' and 'clustat' are also good.

Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without access to education?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]