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

Mailing List Archive: Linux-HA: Users

Something wrong with my clone ?

 

 

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


Alain.Moulle at bull

Sep 14, 2009, 2:07 AM

Post #1 of 4 (519 views)
Permalink
Something wrong with my clone ?

Hi,
Working on RHEL5 with :pacemaker-1.0.4-23.1, pacemaker-mgmt-1.99.2-1.1
I've declared a clone resource with hb_gui, but the resource does not start
and I can't find the reason, could some give me a clue ?
The record in cib.xml is likewise :
<clone id="clone-watchon">
<meta_attributes id="clone-watchon-meta_attributes">
<nvpair id="clone-watchon-meta_attributes-target-role"
name="target-role" value="Started"/>
</meta_attributes>
<primitive class="ocf" id="lustre-watchon" provider="heartbeat"
type="lustre_watchon">
<operations id="lustre-watchon-operations">
<op id="lustre-watchon-op-monitor-180" interval="180"
name="monitor" start-delay="1m" timeout="30"/>
</operations>
<meta_attributes id="lustre-watchon-meta_attributes">
<nvpair id="lustre-watchon-meta_attributes-target-role"
name="target-role" value="started"/>
</meta_attributes>
</primitive>
</clone>
Thanks for your help.
Alain


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


andrew at beekhof

Sep 14, 2009, 6:27 AM

Post #2 of 4 (468 views)
Permalink
Re: Something wrong with my clone ? [In reply to]

You could remove the two target-role settings, but even so it should
work already.
Logs?

On Mon, Sep 14, 2009 at 11:07 AM, Alain.Moulle <Alain.Moulle [at] bull> wrote:
> Hi,
> Working on RHEL5 with :pacemaker-1.0.4-23.1, pacemaker-mgmt-1.99.2-1.1
> I've declared a clone resource with hb_gui, but the resource does not start
> and I can't find the reason, could some give me a clue ?
> The record in cib.xml is likewise :
>      <clone id="clone-watchon">
>        <meta_attributes id="clone-watchon-meta_attributes">
>          <nvpair id="clone-watchon-meta_attributes-target-role"
> name="target-role" value="Started"/>
>        </meta_attributes>
>        <primitive class="ocf" id="lustre-watchon" provider="heartbeat"
> type="lustre_watchon">
>          <operations id="lustre-watchon-operations">
>            <op id="lustre-watchon-op-monitor-180" interval="180"
> name="monitor" start-delay="1m" timeout="30"/>
>          </operations>
>          <meta_attributes id="lustre-watchon-meta_attributes">
>            <nvpair id="lustre-watchon-meta_attributes-target-role"
> name="target-role" value="started"/>
>          </meta_attributes>
>        </primitive>
>      </clone>
> Thanks for your help.
> Alain
>
>
> _______________________________________________
> 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 mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Alain.Moulle at bull

Sep 15, 2009, 12:33 AM

Post #3 of 4 (463 views)
Permalink
Re: Something wrong with my clone ? [In reply to]

Hi Andrew,
when I click on "start" in the hb_gui (as the clones do not start
automatically as they should do),
the only log in ha-debug is :
/crm_resource[1845]: 2009/09/15_09:24:48 info: Invoked: crm_resource
--meta -r lustre-watchon -p target-role -v started/
but the clone resource remains "Not running" on all four nodes.
Alain
> Logs?
>
> Andrew
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Sep 15, 2009, 11:05 AM

Post #4 of 4 (454 views)
Permalink
Re: Something wrong with my clone ? [In reply to]

On Tue, Sep 15, 2009 at 9:33 AM, Alain.Moulle <Alain.Moulle [at] bull> wrote:
> Hi Andrew,
> when I click on "start" in the hb_gui (as the clones do not start
> automatically as they should do),

Not sure what the gui does here.

> the only log in ha-debug is :
> /crm_resource[1845]: 2009/09/15_09:24:48 info: Invoked: crm_resource
> --meta -r lustre-watchon -p target-role -v started/
> but the clone resource remains "Not running" on all four nodes.

We'd need the logs prior to that then.
The last time the cluster tried to do anything.

> Alain
>> Logs?
>>
>> Andrew
> _______________________________________________
> 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 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.