[Pacemaker] Changed IP Address; Filesystem Won't Start

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Nov 29 08:42:10 EST 2012


Hi,

On Thu, Nov 22, 2012 at 10:45:23AM -0600, Art Zemon wrote:
> 
> After much gnashing of teeth and bashing of head, I finally hit upon
> crm resource cleanup cl_fs_share
> That did it and everything immediately started running.
>  
> Here is my configuration:
>  
> 
> primitive p_drbd_share ocf:linbit:drbd \
>  params drbd_resource="share" \
>  op monitor interval="15s" role="Master" timeout="20s" \
>  op monitor interval="20s" role="Slave" timeout="20s" \
>  op start interval="0" timeout="240s" \
>  op stop interval="0" timeout="100s"
> primitive p_fs_share ocf:heartbeat:Filesystem \
>  params device="/dev/drbd/by-res/share" directory="/share" fstype="ocfs2" \
>  op start interval="0" timeout="60" \
>  op stop interval="0" timeout="60" \
>  op monitor interval="20" timeout="40"
> primitive p_o2cb ocf:pacemaker:o2cb \
>  params stack="cman" \
>  op start interval="0" timeout="90" \
>  op stop interval="0" timeout="100" \
>  op monitor interval="10" timeout="20"
> ms ms_drbd_share p_drbd_share \
>  meta master-max="2" notify="true" interleave="true" clone-max="2"
> clone cl_fs_share p_fs_share \
>  meta interleave="true" notify="true" globally-unique="false" target-role="Started"
> clone cl_o2cb p_o2cb \
>  meta interleave="true" globally-unique="false"
> colocation colo_share inf: cl_fs_share ms_drbd_share:Master cl_o2cb
> order o_o2cb inf: cl_o2cb cl_fs_share
> order o_share inf: ms_drbd_share:promote cl_fs_share
> 
> 
> What does "cleanup" do which is so necessary?

Removes the status operation records, i.e. makes pacemaker forgot
about the resource status and failures and start from scratch.

Thanks,

Dejan

> Thanks,
> -- Art Z.
>  
> 
> --
> Art Zemon, President
>  [http://www.hens-teeth.net/] Hen's Teeth Network for reliable web hosting and programming
>  (866)HENS-NET / (636)447-3030 ext. 200 / www.hens-teeth.net
>  

> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Pacemaker mailing list