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

2016-03-29 Thread Taste-Of-IT

Hello Joop,

ans sorry for my late reply. Indeed the docs of red hat are very good, 
if you found the right one. i worke a few weeks with oVirt and i can 
make all run, but for my personal needs, i will understand the system 
and what is made where and why. Thats why i asked a lot question about 
deeper sense...There are also lots of howtos in the net which didnt work 
any more or for diffent cases or systems.


So as i first startet with all-in-one, someone say that this will not 
longer supported at 4.x ok, so i test now the hosted-engine, but its a 
bit tricky to setup if you new and some changes came with new releases.


i actually do more than 10 installation, and learned each time i play 
with options in setup. I searched the docs too, but some things i didnt 
find. My problem is still the handling of nfs export paths and activate 
them in ovirt later.
one of my experience is: 1 path for data, 1 path for iso and all as nfs 
export, which work well. if iam in ovirt i cant activate the data path, 
while the wizard says it is allready in use.
so next installation i created same 2 paths plus one for engine which i 
take at installation for the engine. if i later in ovirt add the data 
nfs path, i suddenly see both data nfs domains, engine and data. and 
thats what i not understand?


For understanding, the storage cames though the Cluster and will used by 
the hosts, right? Or have i add each storage over the system, which will 
used in each cluster by the hosts? Or depend its on the concept of using 
the storage, e.g. storage on host or extra storage in the net?


Greetings

Am 2016-03-22 20:49, schrieb Joop:

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?


Don't know if you just want to play around with it for personal use or
if its going to be using in a production environment. Doesn't matter
whether its just one host or more than one.
If the first than try to read up on ovirt or use the redhat Rhev docs 
on

the redhat site. They are quite nice in explaining the concepts behind
oVirt.
If its the latter than I have been using/installing oVirt
for quite some time, since the 3.0 times, and offer support on it for
those in need

I have no problems trying to help off or on list and maybe its just
seeing how all fits together that will make you understand how things
work. Hosted-engine is a 'warped' concept but it really works although
there are certain pitfalls to be aware of.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2016-03-22 Thread Joop
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


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2016-03-22 Thread Taste-Of-IT
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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2016-03-21 Thread 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


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

2016-03-21 Thread 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


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

2016-03-20 Thread Taste-Of-IT

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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2016-03-20 Thread Joop van de Wege
On March 20, 2016 1:38:16 AM CET, Taste-Of-IT  wrote:
>Hello,
>i want to install self-hosted-engine with nfs storage on host and
>engine 
>uses this storage. i tried it but i dont know where to add the nfs 
>storage for data.  i first setup nfs server which is working, then
>added 
>the nfs export dir in host setup installation, than install engine and 
>dont add storage there. if i now want to add on system tab under
>storage 
>new data storage this nfs export i got the message, that the storage is
>
>in use by another domain. What is the right way to use local nfs
>storage 
>for engine?
You need a second storage domain and thus a second share in your exports file. 
Make sure the permissions are ok.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Where to add NFS Data Storage

2016-03-19 Thread Taste-Of-IT

Hello,
i want to install self-hosted-engine with nfs storage on host and engine 
uses this storage. i tried it but i dont know where to add the nfs 
storage for data.  i first setup nfs server which is working, then added 
the nfs export dir in host setup installation, than install engine and 
dont add storage there. if i now want to add on system tab under storage 
new data storage this nfs export i got the message, that the storage is 
in use by another domain. What is the right way to use local nfs storage 
for engine?


thx
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users