Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

failover IP

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


a.kaminski at o2

Sep 15, 2009, 5:51 AM

Post #1 of 2 (693 views)
Permalink
failover IP

I ran packemaker http://clusterlabs.org/wiki/Debian_Lenny_HowTo instructions and chose openais.
Nods if both are included in the IP is enabled. If I disable one node is the IP address is disabled and is not running on the second node. What should I add to the IP switched to next node?


root [at] noc-test-2:~# crm_mon -1


============
Last updated: Tue Sep 15 14:37:39 2009
Stack: openais
Current DC: noc-test-10 - partition with quorum
Version: 1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d
2 Nodes configured, 2 expected votes
1 Resources configured.
============

Online: [ noc-test-10 noc-test-20 ]

failover-ip (ocf::heartbeat:IPaddr): Started noc-test-20



root [at] noc-test-1:/etc/ha.d# /etc/init.d/openais-legacy stop
root [at] noc-test-2:~# crm_mon -1


============
Last updated: Tue Sep 15 14:38:19 2009
Stack: openais
Current DC: noc-test-20 - partition WITHOUT quorum
Version: 1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d
2 Nodes configured, 2 expected votes
1 Resources configured.
============

Online: [ noc-test-20 ]
OFFLINE: [ noc-test-10 ]




<?xml version="1.0" ?>
<cib admin_epoch="0" crm_feature_set="3.0.1" dc-uuid="noc-test-10" epoch="65" have-quorum="1" num_updates="10" validate-with="pacemaker-1.0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
<nvpair id="cib-bootstrap-options-expected-quorum-votes" name="expected-quorum-votes" value="2"/>
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d"/>
<nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="openais"/>
</cluster_property_set>
</crm_config>
<rsc_defaults/>
<op_defaults/>
<nodes>
<node id="noc-test-10" type="normal" uname="noc-test-10">
<instance_attributes id="nodes-noc-test-10">
<nvpair id="nodes-noc-test-10-standby" name="standby" value="off"/>
</instance_attributes>
</node>
<node id="noc-test-20" type="normal" uname="noc-test-20"/>
</nodes>
<resources>
<primitive class="ocf" id="failover-ip" provider="heartbeat" type="IPaddr">
<instance_attributes id="failover-ip-instance_attributes">
<nvpair id="failover-ip-instance_attributes-ip" name="ip" value="10.1.49.124"/>
</instance_attributes>
<operations>
<op id="failover-ip-monitor-10s" interval="10s" name="monitor"/>
</operations>
</primitive>
</resources>
<constraints>
<rsc_location id="cli-prefer-failover-ip" rsc="failover-ip">
<rule id="cli-prefer-rule-failover-ip" score="INFINITY">
<expression attribute="#uname" id="cli-prefer-expr-failover-ip" operation="eq" value="noc-test-20"/>
</rule>
</rsc_location>
</constraints>
</configuration>
</cib>

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


misch at multinet

Sep 15, 2009, 6:08 AM

Post #2 of 2 (655 views)
Permalink
Re: failover IP [In reply to]

Am Dienstag, 15. September 2009 14:51:35 schrieb artur.k:
> I ran packemaker http://clusterlabs.org/wiki/Debian_Lenny_HowTo
> instructions and chose openais. Nods if both are included in the IP is
> enabled. If I disable one node is the IP address is disabled and is not
> running on the second node. What should I add to the IP switched to next
> node?
>
>
> root [at] noc-test-2:~# crm_mon -1
>
> ============
> Last updated: Tue Sep 15 14:38:19 2009
> Stack: openais
> Current DC: noc-test-20 - partition WITHOUT quorum
> Version: 1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d
> 2 Nodes configured, 2 expected votes
> 1 Resources configured.
> ============

first of all, read the output, and try to figure out what you cluster is trying
to tell you. "no quorum" really means "no quorum".

@beekhof: You should make the "WITHOUT" blinking.

Then read the FAQ:

http://www.clusterlabs.org/wiki/FAQ#I_Killed_a_Node_but_the_Cluster_Didn.27t_Recover

This question was asked quite often so that is why it was added to the
frequently asked questions.

--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch [at] multinet
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.