[ClusterLabs] Antw: Re: Bloody Newbie needs help for OCFS2 on pacemaker+corosync+pcs
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Tue Aug 2 14:22:02 UTC 2016
>>> <thl at it-hluchnik.de> schrieb am 02.08.2016 um 15:16 in Nachricht
<201608021517.06638.thl at it-hluchnik.de>:
> Hello Kyle + all,
>
> No luck at all. Cant get o2cb up at all. Please find details below. Thanks
> in advance for any help.
>
> First I tried to translate your crm syntax to pcs syntax:
>
> primitive p_o2cb lsb:o2cb \
> op monitor interval="10" timeout="30" \
> op start interval="0" timeout="120" \
> op stop interval="0" timeout="120"
>
> |||
> vvv
>
> # pcs resource create ResO2CB lsb:o2cb \
> op monitor interval="10" timeout="30" \
> op start interval="0" timeout="120" \
> op stop interval="0" timeout="120"
>
> Error: Unable to create resource 'lsb:o2cb', it is not installed on this
> system (use --force to override)
While looking how we did it, I found something interesting: For groups the RA is displayed by crm_mon, but for clones it isn't (prm_O2CB isn't shown anywhere):
Like this:
[...]
Clone Set: cln_O2CB [prm_O2CB]
Started: [ h02 h06 ]
Resource Group: grp_rksapT11
prm_T11_ip_1 (ocf::heartbeat:IPaddr2): Started h06
prm_isredir_t11_dp02 (ocf::xola:isredir): Stopped
prm_isredir_t11_dp03 (ocf::xola:isredir): Stopped
[...]
What we use here is this (crmsh syntax):
primitive prm_O2CB ocf:ocfs2:o2cb \
op start interval=0 timeout=90 \
op stop interval=0 timeout=120 \
op monitor interval=60 timeout=60 \
meta priority=9880
[...]
Regards,
Ulrich
More information about the Users
mailing list