Re: [ovirt-users] Change ip host

2016-06-29 Thread Marcin Michta

  
  
So, you can do it without remove node from engine, but when you use
FQDN in engine.
Put the host in maintenance mode. Make sure that inside /etc/hosts
of the engine you have entered new address.
Next, edit

/var/lib/vdsm/persistence/netconf/nets/ovirtmgmt on the node where
is configured IP address and run

vdsm-tool restore-nets. Than restart your node. Inside engine should
be able to put out of maintenance mode this host. 
That was tested by my.

Regards.

On 29.06.2016 16:42, nicola.gentile.to
  wrote:


  
  Node

Il 29/06/2016 16:39, Marcin Michta ha scritto:
  
  
Hi,
You just want to change IP of what?
  Node or engine?
29 cze 2016 16:24 "nicola.gentile.to"
  

  napisał(a):
  Hi,
I have installed ovirt 3.6 with 1 manager and 1 host
I need to change the ip, I decided to do the following:

1. put the host in maintenance mode
2. remove the host
3. update the information on the dns server with new ip
4. reinstall the host with the correct ip
5. add the host to the ovirt infrastructure

questions:

1. is there the possibility of losing vm during this
operation?
2. is it necessary remove the host for the re-installation?
3. is it necessary put the host in maintenance mode to
remove it from ovirt infrastructure?

thanks a lot

Nicola
___
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



-- 
  
  
 
-- 
  

  

  Marcin Michta
Systems
  & Network Administrator

 
-
  E: marcin.mic...@codilime.com
  -
CodiLime Sp. z
o.o. - Ltd. company with its registered office
in Poland, 01-167 Warsaw, ul. Zawiszy 14/97.
Registered by The District Court for the Capital
City of Warsaw, XII Commercial Department of the
National Court Register. Entered into National
Court Register under No. KRS 388871. Tax
identification number (NIP) 5272657478.
Statistical number (REGON) 142974628.
-
The information
in this email is confidential and may be legally
privileged, it may contain information that is
confidential in CodiLime Sp. z o.o. It is
intended solely for the addressee. Any access to
this email by third parties is unauthorized. If
you are not the intended recipient of this
message, any disclosure, copying, distribution
or any action undertaken or neglected in
reliance thereon is prohibited and may result in
your liability for damages.
  

  


  

  

  

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


Re: [ovirt-users] Change ip host

2016-06-29 Thread nicola.gentile.to

Node

Il 29/06/2016 16:39, Marcin Michta ha scritto:


Hi,

You just want to change IP of what?
Node or engine?

29 cze 2016 16:24 "nicola.gentile.to " 
> 
napisał(a):


Hi,
I have installed ovirt 3.6 with 1 manager and 1 host
I need to change the ip, I decided to do the following:

1. put the host in maintenance mode
2. remove the host
3. update the information on the dns server with new ip
4. reinstall the host with the correct ip
5. add the host to the ovirt infrastructure

questions:

1. is there the possibility of losing vm during this operation?
2. is it necessary remove the host for the re-installation?
3. is it necessary put the host in maintenance mode to remove it
from ovirt infrastructure?

thanks a lot

Nicola
___
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] Change ip host

2016-06-29 Thread Marcin Michta
Hi,

You just want to change IP of what?
Node or engine?
29 cze 2016 16:24 "nicola.gentile.to" 
napisał(a):

> Hi,
> I have installed ovirt 3.6 with 1 manager and 1 host
> I need to change the ip, I decided to do the following:
>
> 1. put the host in maintenance mode
> 2. remove the host
> 3. update the information on the dns server with new ip
> 4. reinstall the host with the correct ip
> 5. add the host to the ovirt infrastructure
>
> questions:
>
> 1. is there the possibility of losing vm during this operation?
> 2. is it necessary remove the host for the re-installation?
> 3. is it necessary put the host in maintenance mode to remove it from
> ovirt infrastructure?
>
> thanks a lot
>
> Nicola
> ___
> 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] Change ip host

2016-06-29 Thread Fernando Fuentes
Nicola,

I guess this all boils down on the type of storage domain you have
setup... If its shared than your vms will be ok. If its Local than if
something goes wrong with the hosts than you could be in lots of
trouble.

I went through something similar... I had to move DC (one host on the
main DC) the hosts took a crap... I thought I lost everything but to my
understanding the VM's are in my storage domain (iSCSI) as soon as I
brought a new host online (same hostname) it all worked just fine.

My procedure was as follow:

Remove broken host from ovirt.
Re-install host
re add host to ovirt

Things came back online on its own... WIN :)

Regards,

-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Wed, Jun 29, 2016, at 09:24 AM, nicola.gentile.to wrote:
> Hi,
> I have installed ovirt 3.6 with 1 manager and 1 host
> I need to change the ip, I decided to do the following:
> 
> 1. put the host in maintenance mode
> 2. remove the host
> 3. update the information on the dns server with new ip
> 4. reinstall the host with the correct ip
> 5. add the host to the ovirt infrastructure
> 
> questions:
> 
> 1. is there the possibility of losing vm during this operation?
> 2. is it necessary remove the host for the re-installation?
> 3. is it necessary put the host in maintenance mode to remove it from 
> ovirt infrastructure?
> 
> thanks a lot
> 
> Nicola
> ___
> 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


[ovirt-users] Change ip host

2016-06-29 Thread nicola.gentile.to

Hi,
I have installed ovirt 3.6 with 1 manager and 1 host
I need to change the ip, I decided to do the following:

1. put the host in maintenance mode
2. remove the host
3. update the information on the dns server with new ip
4. reinstall the host with the correct ip
5. add the host to the ovirt infrastructure

questions:

1. is there the possibility of losing vm during this operation?
2. is it necessary remove the host for the re-installation?
3. is it necessary put the host in maintenance mode to remove it from 
ovirt infrastructure?


thanks a lot

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