[Pacemaker] Fwd: virtual IP

Shravan Mishra shravan.mishra at gmail.com
Fri Nov 20 22:25:04 UTC 2009


This is my exact output:

============
Last updated: Fri Nov 20 18:20:51 2009
Stack: openais
Current DC: node1.itactics.com - partition with quorum
Version: 1.0.5-9e9faaab40f3f97e3c0d623e4a4c47ed83fa1601
2 Nodes configured, 2 expected votes
4 Resources configured.
============

Online: [ node1.itactics.com node2.itactics.com ]

Master/Slave Set: ms-drbd
        Masters: [ node1.itactics.com ]
        Slaves: [ node2.itactics.com ]
node1.itactics.com-stonith      (stonith:external/safe/ipmi):
Started node2.itactics.com
node2.itactics.com-stonith      (stonith:external/safe/ipmi):
Started node1.itactics.com
Resource Group: svcs_grp
    fs0 (ocf::heartbeat:Filesystem):    Started node1.itactics.com
    safe_svcs   (ocf::itactics:safe):   Started node1.itactics.com
    vip (ocf::heartbeat:IPaddr2):       Stopped

Failed actions:
    vip_monitor_0 (node=node1.itactics.com, call=7, rc=2,
status=complete): invalid parameter
    vip_monitor_0 (node=node2.itactics.com, call=7, rc=2,
status=complete): invalid parameter


The config this time I tried was


    <primitive id="vip" class="ocf" type="IPaddr2" provider="heartbeat">
          <operations>
            <op id="op-vip-1" name="monitor" timeout="30s" interval="10s"/>
          </operations>
          <instance_attributes id="ia-vip">
            <nvpair id="vip-addr" name="ip" value="172.30.0.17 "/>
            <nvpair id="vip-intf" name="nic" value="eth1"/>
            <nvpair id="vip-bcast" name="broadcast" value="172.30.255.255"/>
            <nvpair id="vip-cidr_netmask" name="cidr_netmask" value="16"/>
          </instance_attributes>
        </primitive>



Can somebody help me what's the problem here.

Thanks
Shravan





---------- Forwarded message ----------
From: Shravan Mishra <shravan.mishra at gmail.com>
Date: Fri, Nov 20, 2009 at 3:30 PM
Subject: virtual IP
To: pacemaker at oss.clusterlabs.org


H i guys,

I'm trying to bring up my vitrual ip on eth1 interface but I'm getting

when I do crm_mon I get
 :invalid parameter error

That part of the config is :

    <primitive id="vip" class="ocf" type="IPaddr2" provider="heartbeat">
         <operations>
         <op id="op-vip-1" name="monitor" timeout="30s" interval="10s"/>
       </operations>
       <instance_attributes id="ia-vip">
         <nvpair id="vip-addr" name="ip" value="172.30.0.117"/>
         <nvpair id="vip-intf" name="nic" value="eth1"/>
         <nvpair id="vip-bcast" name="broadcast" value="172.30.255.255"/>
       </instance_attributes>
     </primitive>


My eth1 ip address 172.30.0.145.
eth1's broadcast address 172.30.255.255.

Please let me know if there is anything I have missed.

Sincerely
Shravan




More information about the Pacemaker mailing list