One thing to note if you are changing the IP to different one that was assigned by DHCP you should uncheck "Verify connectivity between Host and Engine". This makes sure that the engine won't lost connectivity and in case of switching IP it happens. 

On Tue, Mar 20, 2018 at 10:15 AM, Michael Burman <mburman@redhat.com> wrote:
Indeed very odd, this shouldn't  behave this way, just tested it my self and it is working as expected. Unless i miss understood you here, do you use a different IP address when switching to static or the same IP that you got from dhcp? if yes, then this is another flow..

Can you please share the vdsm version and vdsm log with us?

Edy, any idea what can cause this? 

On Tue, Mar 20, 2018 at 11:10 AM, zois roupas <roupas_zois@hotmail.com> wrote:

Hi Michael and thanks a lot for the time


Great step by step instructions but something strange is happening while trying to change to static ip. I tried to do the change while the host was in maintenance mode and in activate mode but again after some minutes the system reverts to the ip that dhcp is serving!

What am i missing here? Do you have any ideas?


Best Regards
Zois

From: Michael Burman <mburman@redhat.com>
Sent: Tuesday, March 20, 2018 8:46 AM
To: zois roupas
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Change ovirtmgmt ip from dhcp to static in a
 
Hello Zois,

It pretty easy to do, via the webadmin UI , go to Hosts main tab > Choose host > go to 'Network Interfaces' sub tab > Press the 'Setup Host Networks' button > press the pencil icon on your management network > and  choose Static IP > press OK and OK to approve the operation.

- Note that in some cases, specially if this is a SPM host you will loose connectivity to host for few seconds and host may go to non-responsive state, on a non-SPM host usually this woks without any specific issues.

- If the spoken host is a SPM host, I recommend to set it first to maintenance mode, do the switch and then activate. For non-SPM host this will work fine as well when the host is UP.

Cheers)

On Mon, Mar 19, 2018 at 12:15 PM, zois roupas <roupas_zois@hotmail.com> wrote:

Hello everyone


I've made a rookie mistake by installing ovirt 4.2 in centos 7 with dhcp instead of a static ip configuration. Both engine and host are in the same machine cause of limited resources and i was so happy that everything worked so well that i kept configuring and installing vm's ,adding local and nfs storage and setting up the backup!

As you understand i must change the configuration to static ip and i can't find any guide describing the correct procedure. Is there an official guide to change configuration without causing any trouble?

I've found this thread http://lists.ovirt.org/pipermail/users/2014-May/024432.html but this is for a hosted engine and doesn't help when both engine and host are in the same machine


Thanx in advance

Best Regards

Zois


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




--

Michael Burman

Senior Quality engineer - rhv network - redhat israel

Red Hat

mburman@redhat.com    M: 0545355725     IM: mburman




--

Michael Burman

Senior Quality engineer - rhv network - redhat israel

Red Hat

mburman@redhat.com    M: 0545355725     IM: mburman


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




--

ALES MUSIL

INTERN - rhv network

Red Hat EMEA


amusil@redhat.com   IM: amusil