LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RH 5 cluster fence problem on Vitual box (https://www.linuxquestions.org/questions/linux-newbie-8/rh-5-cluster-fence-problem-on-vitual-box-4175544269/)

PoleStar 06-02-2015 10:11 AM

RH 5 cluster fence problem on Vitual box
 
I created 3 test machine and made them into cluster.
On Virtual
"Virtual Machine Manager 0.9.0"
Machines them selves are CentOS 5.11.

Code:


<cluster name="mycluster" config_version="3">
  <clusternodes>
    <clusternode name="one" nodeid="1">
        <fence>
        </fence>
    </clusternode>
    <clusternode name="two" nodeid="2">
        <fence>
        </fence>
    </clusternode>
    <clusternode name="three" nodeid="3">
        <fence>
        </fence>
    </clusternode>
  </clusternodes>
  <fencedevices>
  </fencedevices>
  <rm>
  </rm>
</cluster>

When I start cman service. I see get this:

Code:

[root@one ~]# time service cman restart
Stopping cluster:
  Stopping fencing... done
  Stopping cman... done
  Stopping ccsd... done
  Unmounting configfs... done
                                                          [  OK  ]
Starting cluster:
  Loading modules... done
  Mounting configfs... done
  Starting ccsd... done
  Starting cman... done
  Starting daemons... done
  Starting fencing... failed

                                                          [FAILED]

real        5m7.353s
user        0m0.063s
sys        0m0.095s
[root@one ~]#

clustat:

Code:

[root@one ~]# clustat
Cluster Status for mycluster @ Tue Jun  2 11:10:28 2015
Member Status: Inquorate

 Member Name                                            ID  Status
 ------ ----                                            ---- ------
 one                                                        1 Online, Local
 two                                                        2 Offline
 three                                                      3 Offline

[root@one ~]#

Thank you.

John VV 06-02-2015 01:43 PM

well if you ARE using RH5
the redhat os that came out in 1997
you WILL have a problem

RH5 ( Hurricane) is from 1997 ( 1 December 1997)
it is 18 years OLD
and has been unsupported for over a decade

PoleStar 06-02-2015 04:34 PM

I have to test thing in RH 5 environment. No choice there.
I remember I create similar cluster last year and did testing, But I don't have that confg
saved. I wonder if dummy ACP fence would work.

PoleStar 06-04-2015 09:19 AM

This issue is resolved. I used luci web interface to create cluster. It worked.
Resulting cluster.conf file looks like this.
Code:

<?xml version="1.0"?>
<cluster alias="TEA" config_version="1" name="TEA">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="three" nodeid="1" votes="1"/>
                <clusternode name="two" nodeid="2" votes="1"/>
                <clusternode name="one" nodeid="3" votes="1"/>
        </clusternodes>
        <cman/>
        <fencedevices/>
        <rm/>
</cluster>



All times are GMT -5. The time now is 07:26 AM.