[Pacemaker] CLVM & Pacemaker & Corosync on Ubuntu Omeiric Server

Vladislav Bogdanov bubble at hoster-ok.com
Fri Dec 2 08:26:12 UTC 2011


02.12.2011 11:06, Vadim Bulst wrote:
[snip]
> Now I run into new problems:
> 
> I created a cloneset for managing the volume groups:
> 
> node bbzclnode04
> node bbzclnode06
> node bbzclnode07
> primitive clvm ocf:lvm2:clvmd \
>     params daemon_timeout="30" \
>     meta target-role="Started"
> primitive dlm ocf:pacemaker:controld \
>     meta target-role="Started"
> primitive vmspace ocf:heartbeat:LVM \
>     params volgrpname="VMSPACE"
> group dlm-clvm dlm clvm
> clone dlm-clvm-clone dlm-clvm \
>     meta interleave="true" ordered="true" target-role="Stopped"
> clone vmspace-clone vmspace \
>     meta interleave="true" ordered="true" target-role="Stopped"
> colocation col_vmspace-clone_dlm-clvm-clone inf: vmspace-clone
> dlm-clvm-clone
> order ord_vmspace_after_clvm-dlm-clone inf: dlm-clvm-clone vmspace-clone
> property $id="cib-bootstrap-options" \
>     dc-version="1.1.5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f" \
>     cluster-infrastructure="openais" \
>     expected-quorum-votes="3" \
>     no-quorum-policy="ignore" \
>     stonith-enabled="false" \
>     last-lrm-refresh="1322812253"
> 
> 
> but the RA doesn't come up. The Informations of vgdisplay looks good:
> 
> --- Volume group ---
>   VG Name               VMSPACE
>   System ID
>   Format                lvm2
>   Metadata Areas        1
>   Metadata Sequence No  26
>   VG Access             read/write
>   VG Status             resizable
>   Clustered             yes
>   Shared                no
>   MAX LV                256
>   Cur LV                9
>   Open LV               0
>   Max PV                256
>   Cur PV                1
>   Act PV                1
>   VG Size               953,66 GiB
>   PE Size               16,00 MiB
>   Total PE              61034
>   Alloc PE / Size       54646 / 853,84 GiB
>   Free  PE / Size       6388 / 99,81 GiB
>   VG UUID               IXEjO7-v3kk-7QMz-E0A3-tuei-HegB-78gJt0
> 
> The node files in /dev are not created. When I try to create them by
> hand with vgmknodes, they doensn't show up.
> 
> Any ideas?

Look at LVM RA. clvmd just supplies you with clustered locking for LVM
commands. You still need to manage (activate/deactivate) your VGs and LVs.

Best,
Vladislav




More information about the Pacemaker mailing list