[Linux-cluster] Physical shutdown of one node causes both node to crash in active/passive configuration of 2 node RHEL cluster
emmanuel segura
emi2fast at gmail.com
Tue Sep 9 07:42:29 UTC 2014
you can use fence delay, for one of two node
2014-09-09 9:37 GMT+02:00 Sivaji Prasath <prasathslt at gmail.com>:
> Hi,
>
> Is this two connected crossover cable with bonding ? Do you have switch in
> the middle ?
>
> Note: Red Hat does not support use of a crossover cable for cluster
> communication.
>
> On 9 September 2014 12:44, Amjad Syed <amjadcsu at gmail.com> wrote:
>>
>> Hi,
>>
>> I have setup a 2 node cluster using RHEL 6.5 .
>>
>> The cluster .conf looks like this
>>
>>
>>
>> <?xml version="1.0"?>
>> <cluster config_version="7" name="oracleha">
>> <cman expected_votes="1" two_node="1"/>
>> <fencedevices>
>> <fencedevice agent= "fence_ipmilan" ipaddr="10.10.63.93"
>> login="ADMIN" name="inspuripmi" passwd="XXXXX/>
>> <fencedevice agent = "fence_ilo2" ipaddr="10.10.63.92"
>> login="test" name="hpipmi" passwd="XXXXX"/>
>> </fencedevices>
>> <fence_daemon post_fail_delay="0" post_join_delay="60"/>
>> <clusternodes>
>> <clusternode name= "192.168.10.10" nodeid="1" >
>> <fence>
>> <method name = "1">
>> <device lanplus = "" name="inspuripmi" action
>> ="reboot"/>
>> </method>
>> </fence>
>> </clusternode>
>> <clusternode name = "192.168.10.11" nodeid="2">
>> <fence>
>> <method name = "1">
>> <device lanplus = "" name="hpipmi" action ="reboot"/>
>> </method>
>> </fence>
>> </clusternode>
>> </clusternodes>
>>
>>
>> <rm>
>>
>> <failoverdomains/>
>> <resources/>
>> <service autostart="1" exclusive="0" name="IP"
>> recovery="relocate">
>> <ip address="10.10.5.23" monitor_link="on"
>> sleeptime="10"/>
>> </service>
>> </rm>
>>
>> </cluster>
>>
>>
>> The network is as follows:
>>
>> 1)Heartbeat (Bonding) between node 1 and node 2 using ethernet cables
>>
>> The ip addresses are 192.168.10.11 and 192.168.10.10 for node 1 and node
>> 2.
>>
>> 2) IPMI. This is used for fencing and addresses are 10.10.63.93 and
>> 10.10.63.92
>>
>> 3) External ethernet connected to 10.10.5.x network.
>>
>> If i do fence_node <ipaddress>, then fencing works,
>> However if i physically shutdown active node, the passive node also
>> shutdowns. Even if i do ifdown bond0 (on active node), both node shutdown
>> and have to be physically rebooted.
>>
>> Any thing i am doing wrong ?
>>
>>
>>
>>
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>
>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
--
esta es mi vida e me la vivo hasta que dios quiera
More information about the Linux-cluster
mailing list