[Pacemaker] start filesystem like this is right?

Pavlos Parissis pavlos.parissis at gmail.com
Mon Nov 15 10:40:37 UTC 2010


On 14 November 2010 06:17, jiaju liu <liujiaju86 at yahoo.com.cn> wrote:
>
>
> >> start resource steps
> >> step(1)
> >> crm configure primitive?vol_mpath0 ocf:heartbeat:Filesystem meta target->role=stopped params device=/dev/mapper/mpath0 >directory=/mnt/mapper/mpath0 fstype='lustre' op start timeout=300s? op stop >timeout=120s op monitor timeout=120s interval=60s op notify timeout=60s
> >> step(2)crm resource reprobe
> >
> > >step(3)
> > >crm configure location vol_mpath0_location_manage?datavol_mpath0 rule -inf: not_defined pingd_manage or pingd_manage lte 0
> >>
> > >crm configure location vol_mpath0_location_data?datavol_mpath0 rule -inf: >not_defined pingd_data or pingd_data lte 0
>
> >why do you have 2 location constraints? where is the definitions for
> >pingd_data and  pingd_manage?
> because we have two network. manage network is ethernet data network is ib.
>
> the definitions of pingd
> crm configure primitive pingd_data ocf:pacemaker:ping meta target-role=stopped params name=pingd_data op start timeout=100s op stop timeout=100s op monitor interval=90s timeout=100s";
>
> crm_resource -p host_list -r pingd_data -v IP_list
>
> crm configure clone pingd_data_net pingd_data meta globally-unique=falsetarget-role=stopped
>
> crm resource start pingd_data
>
> crm configure primitive pingd_manage ocf:pacemaker:ping meta target-role=stopped params name=pingd_manage op start timeout=90s op stop timeout=100s op monitor interval=90s timeout=100s
>
> crm_resource -p host_list -r pingd_manage -v IP_list
>
> crm configure clone pingd_manage_net pingd_manage meta globally-unique=false
>
> crm resource start pingd_manage
> >
> > >step(4)
> > .crm resource start vol_mpath0
> >
> > >delete resource steps
> >
> > .step(1)
> > >crm resource stop vol_mpath0
> >
> > >step(2)
> > >crm resource cleanup vol_mpath0
> >
> > >step(3)
> > >crm configure delete vol_mpath0
> >
> > >above?is my steps? is it right? I repeat these steps for several times. at begin >>it works well. after 5 or 6 times the reosurce could not start .I use crm resource >>start vol_mpath0 again no use.
>
> >Could be that your ping nodes are down?
> the node is ok. and do you know the way to check pingd? and I found the cluster is something wrong.I check the log  I think node could not get the situation from crm

I don't quite understand what you mean here, but the ha-log should say
where and why it failed, check the results of the start/stop/monitor
actions on your resources, including the ping resources. There are
some threads related to ping resources, have you checked if you are
using the correct configuration on ping resource, I haven't used ping
resource that much so I can't tell if the ping resources causing the
issue here. But again check the log.



More information about the Pacemaker mailing list