Re: [ovirt-users] Where to add NFS Data Storage

Hello Joop, thanks for help. I tried now with fresh installation, but i have to enter a first storage domain to the nfs path i created. So the question is which path i have to add in engine? Create a new one on host and add in engine? thx Am 2016-03-20 14:34, schrieb Joop: > On 20-3-2016 11:49, Taste-Of-IT wrote: >> Hello Joop, >> >> actually right after the installation i have no storage domain. so >> what have i to do in detail? my installation path at installation are >> /var/ovirt/exports/data and /var/ovirt/exports/iso. the data i added >> at installation for the host. at engine installation i say no to >> storage domain. as far as i see and understand i have no storage >> domain in cluster, also for default and those i added in installation >> process of host. >> >> so what have i todo in detail? > What I did was the following (probably missing quite a few steps) > - create (minimum) two folders, one for hosted-engine storage, one for > data storage, iso and export optional > - create exports in /etc/exports > - start nfs server > - make sure permissions are 36:36 on the exports > - start the nfs server > - check if the mounts work (problem areas are: iptables/selinux) > > - install ovirt repo > - install hosted-engine > - run 'hosted-engine --deploy' > - I installed from centos-7 iso but appliance should work too, no > experience with it > - enter the correct path when asked for the hosted storage, nfs and > fqdn:/path-to-nfs-he-share > - follow the instruction, not much needs changing from the default > - Networkmanager still seems a problem, use static ip, don't try to > bridge wifi :-) > - If the engine is started using the ha-agent/broker it can take a > while > before the webui is available > - If everything goes OK engine will claim and insert the hosted storage > domain in the database and make it visible in the webui > - DONT use it for VMs > - create a new data domain on fqdn:/nfs/ovirt/data (or whatever your > path is) > - wait until its up > - start creating VMs > > My case is a laptop running F22 with hosted-engine on it using a nfs > server provided by my F22 host, engine itself is Centos7. > So all storage is on my host but if I want I can move it somewhere > else, > add storage from somewhere else because I'm nog using local storage > domain. Only thing is the overhead of the network filesystem that being > either NFS/GlusterFS/ISCSI. > > There are some guides on how to setup oVirt using hosted-engine but to > be honest its hard to find on the current site and searching on > old.ovirt-.org doesn't work :-( > > Let me know how far you get and maybe I can help you further if you get > stuck. > > Joop

On 21-3-2016 0:59, Taste-Of-IT wrote:
Hello Joop,
thanks for help. I tried now with fresh installation, but i have to enter a first storage domain to the nfs path i created. So the question is which path i have to add in engine? Create a new one on host and add in engine? No. I thought you were trying to share from the engine. You can't All shares are from the host point of view. Engine is consume the space offered.
Joop

Hello All and Joop ;), ok i think to know what you mean. So my problem is to understand the construct of hosted engine and the supply of vms. actually i want the engine as small as possible and the host offer the nfs storage for iso and data/vms. now i understand that the engine has to be as big as possible, because the nfs storage is provided by the engine self, right? that would mean, that if i have 300gb disk on host free i have to give the engine the max size of lets say 300gb for iso and data/vms, right? but the question remains, where should i configure the nfs storage since i must add storage at installation on host. at engine installation i can say no if i where ask for storage. but i have to add the storage in webgui, but which one? as you can see iam a bit confused. Am 2016-03-21 21:29, schrieb Joop:
On 21-3-2016 0:59, Taste-Of-IT wrote:
Hello Joop,
thanks for help. I tried now with fresh installation, but i have to enter a first storage domain to the nfs path i created. So the question is which path i have to add in engine? Create a new one on host and add in engine? No. I thought you were trying to share from the engine. You can't All shares are from the host point of view. Engine is consume the space offered.
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Sorry for write again, but its still unclear how to add the nfs storage and where. - as far as i understand the engine is in own vm what is neccessary for ha with 2 ore most host. - the e.g. nfs storage could be external on own server and will connected in engine-vm setup - the host itself needs a storage path at installation process too, which one? local or external nfs too? what will hosted there? the engine-vm right? - so if i only have one host with nfs storage on itself, i have to create 2 nfs paths, one for the host with engine-vm and one for the engine-vm for nfs storage right? - so what is the storage on engine for, all vms? Am 2016-03-21 23:10, schrieb Taste-Of-IT:
Hello All and Joop ;),
ok i think to know what you mean. So my problem is to understand the construct of hosted engine and the supply of vms. actually i want the engine as small as possible and the host offer the nfs storage for iso and data/vms. now i understand that the engine has to be as big as possible, because the nfs storage is provided by the engine self, right?
that would mean, that if i have 300gb disk on host free i have to give the engine the max size of lets say 300gb for iso and data/vms, right? but the question remains, where should i configure the nfs storage since i must add storage at installation on host. at engine installation i can say no if i where ask for storage. but i have to add the storage in webgui, but which one?
as you can see iam a bit confused.
Am 2016-03-21 21:29, schrieb Joop:
On 21-3-2016 0:59, Taste-Of-IT wrote:
Hello Joop,
thanks for help. I tried now with fresh installation, but i have to enter a first storage domain to the nfs path i created. So the question is which path i have to add in engine? Create a new one on host and add in engine? No. I thought you were trying to share from the engine. You can't All shares are from the host point of view. Engine is consume the space offered.
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 22-3-2016 17:39, Taste-Of-IT wrote:
Sorry for write again, but its still unclear how to add the nfs storage and where.
- as far as i understand the engine is in own vm what is neccessary for ha with 2 ore most host. - the e.g. nfs storage could be external on own server and will connected in engine-vm setup
- the host itself needs a storage path at installation process too, which one? local or external nfs too? what will hosted there? the engine-vm right?
- so if i only have one host with nfs storage on itself, i have to create 2 nfs paths, one for the host with engine-vm and one for the engine-vm for nfs storage right? - so what is the storage on engine for, all vms?
If you have only one host then: - have that host export a couple of nfs shares, through /etc/exports - install hosted-engine rpms on the host - run hosted-engine-setup, following directions, this will: -- install the vm in one of the nfs shares -- installs ovirt-engine INSIDE the vm -- installs the ovirt-ha-agent and ovirt-ha-broker on your host which will start the hosted-engine vm - if the vm is up then you can access its webui and you'll be able to add an additional storage domain (NFS) which will hold you other VM disks - make sure dns info is correct, you use static ip addressing, don't use NetworkManager Joop
participants (2)
-
Joop
-
Taste-Of-IT