[ovirt-users] Mix local and shared storage same data center on ovirt3.6 rc?

Ivan Bulatovic combuster at gmail.com
Tue Oct 20 17:33:20 UTC 2015


Hi Jurriën,

I did some tests on ovirt-3.6-snapshot and mixing local and shared 
storage domains is working (with a tweak).

If you opted for Shared storage type when you created a new Data Center, 
you can mix NFS/FC/iSCSI shared storage domains with POSIX Compliant FS 
data domain using a local storage device (logical drive or partition, 
formatted with ext4/xfs). 

Only catch was, I had to chown the device node to vsdm:kvm for it to be 
utilized by oVirt (eg. chown 36:36 /dev/sda2).

It doesn't work on 3.5.4 though, I've changed ownership for the device 
node, had to change ownership for the ext4 fs itself residing on the 
partition, and it still refused to connect stating that not all ovirt 
nodes can write to it (that was expected).

I hope this helps,

Kind regards,

Ivan

On Monday, October 19, 2015 07:29:06 PM Bloemen, Jurriën wrote:
> Hi,
> 
> I found this message:
> http://lists.ovirt.org/pipermail/users/2013-July/015413.html
 
> Itamar from RedHat states that they are busy to make it working both
> local and shared storage on the same host.
 
> Can somebody confirm that this will be the case? Or is there something
> else?
 
> Kind regards,
> 
> Jurriën
> 
> From: Nir Soffer <nsoffer at redhat.com<mailto:nsoffer at redhat.com>>
> Date: Friday 16 October 2015 00:53
> To: Liam Curtis <lcurtis at datto.com<mailto:lcurtis at datto.com>>
> Cc: "Users at ovirt.org<mailto:Users at ovirt.org>"
> <Users at ovirt.org<mailto:Users at ovirt.org>>
 Subject: Re: [ovirt-users]
> Mix local and shared storage same data center on ovirt3.6 rc? 
> 
> בתאריך 7 באוק׳ 2015 8:13 לפנה״צ,‏ "Liam Curtis"
> <lcurtis at datto.com<mailto:lcurtis at datto.com>> כתב:
> >
> >
> > Hello,
> > Sorry for double-post if the case (not sure if case-sensitive)
> >
> >
> >
> > Loving ovirt...Have reinstalled many a time trying to understand and
> > thought I had this working, though now that everything operating
> > properly it seems this functionality is not possible.
>
> >
> >
> > I am running hosted engine over glusterfs and would also like to use
> > some of the other bricks I have set up on the gluster host, but
> > when I try to create a new gluster cluster in data center,  I get
> > error message:
>
> >
> >
> > Failed to connect host <myhost> to Storage Pool Default. (which
> > makes sense as storage is local, but trying to overcome this
> > limitation)
>
> >
> >
> > I dont want to use just gluster shared storage in same data center.
> > Any way to work around this?
>
> >
> 
> 
> No, you can not mix local and shared storage.
> 
> For shared storage, the basic assumption is that all hosts see all the
> storage, so you can migrate vms from any host to any host.
 
> You can use local storage by exposing it as shared storage, for
> example, serve local lvs or files as luns via targetcli.
 
> Nir
> 
> 
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org<mailto:Users at ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> >
> 
> 
> This message (including any attachments) may contain information that
> is privileged or confidential. If you are not the intended recipient,
> please notify the sender and delete this email immediately from your
> systems and destroy all copies of it. You may not, directly or
> indirectly, use, disclose, distribute, print or copy this email or
> any part of it if you are not the intended recipient




More information about the Users mailing list