[Linux-cluster] Re: Linux-cluster Digest, Vol 47, Issue 7

Balaji balajisundar at midascomm.com
Wed Mar 19 11:22:28 UTC 2008


Sir,
   As per your instruction and i have update my cluster configuration 
file and cluster configuration  details below

<?xml version="1.0"?>
<cluster config_version="100" name="EMSCluster">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="corviewprimary" votes="1">
                <multicast addr="225.0.0.12" interface="bond0"/>
                        <fence/>
                </clusternode>
                <clusternode name="corviewsecondary" votes="1">
                <multicast addr="225.0.0.12" interface="bond0"/>
                        <fence/>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1">
                <multicast addr="225.0.0.12" interface="bond0"/>
        </cman>
        <fencedevices/>
        <rm>
                <failoverdomains>
                        <failoverdomain name="corviewserver" ordered="1" 
restricted="0">
                                <failoverdomainnode 
name="corviewprimary" priority="1"/>
                                <failoverdomainnode 
name="corviewsecondary" priority="1"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <ip address="192.168.13.83" monitor_link="1"/>
                        <script file="/etc/init.d/manager" name="manager"/>
                        <script file="/etc/init.d/jmd" name="jmd"/>
                        <script file="/etc/init.d/fm" name="fm"/>
                        <script file="/etc/init.d/postgresql" 
name="postgresql"/>
                        <script file="/etc/init.d/active" 
name="activestate"/>
                        <script file="/etc/init.d/drbddiskstarter" 
name="drbddiskstarter"/>
                        <script file="/etc/init.d/drbddiskstopper" 
name="drbddiskstopper"/>
                </resources>
                <service autostart="1" domain="corviewserver" name="EMS" 
recovery="relocate">
                        <ip ref="192.168.13.83"/>
                        <script ref="drbddiskstarter"/>
                        <script ref="activestate"/>
                        <script ref="postgresql"/>
                        <script ref="manager"/>
                        <script ref="fm"/>
                        <script ref="jmd"/>
                        <script ref="drbddiskstopper"/>
                </service>
        </rm>
</cluster>

I have executed the cman_tool nodes  command on both the servers and 
outputs are given below
 From Primary Server
[root at corviewprimary ~]# cman_tool nodes
Node  Votes Exp Sts  Name
   1    1    1   M   corviewprimary
[root at corviewprimary ~]#

 From Secondary Server
root at corviewsecondary ~]# cman_tool nodes
Node  Votes Exp Sts  Name
   1    1    1   M   corviewsecondary
[root at corviewsecondary ~]#
I have executed the cman_tool services  command on both the servers and 
outputs are given below
 From Primary Server
[root at corviewprimary ~]# cman_tool services
Service          Name                              GID LID State     Code
DLM Lock Space:  "Magma"                             2   2 run       -
[1]

User:            "usrm::manager"                     1   1 run       -
[1]

[root at corviewprimary ~]#

 From Secondary Server
[root at corviewsecondary ~]# cman_tool services
Service          Name                              GID LID State     Code
DLM Lock Space:  "Magma"                             2   2 run       -
[1]

User:            "usrm::manager"                     1   1 run       -
[1]

[root at corviewsecondary ~]#

I need clarification about fence device.
when Cluster Ethernet Channel bonding will works only fencing deviced is 
used

Please help me solve the Ethernet Channel Bonding problem

Regards
-S.Balaji





More information about the Linux-cluster mailing list