share LVM on cluster - does containers work?

flexyz

Well-Known Member
Sep 22, 2016
154
9
58
54
Hi

I have a smal 2 node cluster and has share LVM configured and is visible on both hosts.

But when I crearte a container it can's start - is containers supported on shared LVM or?

And if not - will ZFS replication work?

Thanks
Felix
 
This is what I did:

1. install 5.1
2. apt-get install multipath-tools
3. created the cluster
4. assign LUN to both nodes from storage array
5. pvcreate /dev/mapper/xxx
6. vgcreate <volumegroup> /dev/mapper/xxx
7. from GUI -> add LVM volumes as "shared""
8. cluster shows boths volumes on each node
9. create container - visible on both nodes

Anything I missed to do?

Thanks
 
I see the same volume on both nodes - and I can migrate container to each node.

Did I miss something in the steps I did or? - I might try a fresh install with latest 5.2
 
What is the error message of the container start telling? Anything in the syslog/journal?