Network Address Change

Hi All: I just has a case, I need to change the oVirt host and engine IP address due to data center decommission I checked in the hosted-engine host there are some files I could change ; in ovirt-hosted-engine/hosted-engine.conf ca_subject="O=simple.com, CN=1.2.3.4" gateway=1.2.3.254 and of course I need to change the ovirtmgmt interface IP too, I think just change the above line could do the tick, but where could I change the other host IP in the cluster ? I think I have to be lost all the host as once changed the hosted-engine host IP as it is in diff. sub net. Does there any command line tools could do that or someone has such experience could share? Best Regards, Paul.LKW

Il 08/08/2014 19:07, Paul.LKW ha scritto:
Hi All: I just has a case, I need to change the oVirt host and engine IP address due to data center decommission I checked in the hosted-engine host there are some files I could change ;
in ovirt-hosted-engine/hosted-engine.conf ca_subject="O=simple.com, CN=1.2.3.4" gateway=1.2.3.254
and of course I need to change the ovirtmgmt interface IP too, I think just change the above line could do the tick, but where could I change the other host IP in the cluster ? I think I have to be lost all the host as once changed the hosted-engine host IP as it is in diff. sub net. Does there any command line tools could do that or someone has such experience could share?
Well, I think you can move the hosts to global maintenance, shutdown the hosted engine vm, move the first host and the vm to the new network. After that you should be able to move the other hosts to the new network. When finished you can exit global maintenance. Never tested such scenario so if any other can provide more info and maybe create a wiki page it would be nice. Not sure about what happen with the certificates if they've been generated using ip address instead of FQDN, probably they won't be valid anymore after the network change.
Best Regards, Paul.LKW _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

Hi All: To be honest I do not see any config file in the host node /etc/ovirt-node inside, so even I put in the global maintenance mode I still don't know how to change the host to the new IP address. BR, Paul.LKW 於 11/8/2014 20:56, Sandro Bonazzola 提到:
Il 08/08/2014 19:07, Paul.LKW ha scritto:
Hi All: I just has a case, I need to change the oVirt host and engine IP address due to data center decommission I checked in the hosted-engine host there are some files I could change ;
in ovirt-hosted-engine/hosted-engine.conf ca_subject="O=simple.com, CN=1.2.3.4" gateway=1.2.3.254
and of course I need to change the ovirtmgmt interface IP too, I think just change the above line could do the tick, but where could I change the other host IP in the cluster ? I think I have to be lost all the host as once changed the hosted-engine host IP as it is in diff. sub net. Does there any command line tools could do that or someone has such experience could share? Well, I think you can move the hosts to global maintenance, shutdown the hosted engine vm, move the first host and the vm to the new network. After that you should be able to move the other hosts to the new network. When finished you can exit global maintenance.
Never tested such scenario so if any other can provide more info and maybe create a wiki page it would be nice. Not sure about what happen with the certificates if they've been generated using ip address instead of FQDN, probably they won't be valid anymore after the network change.
Best Regards, Paul.LKW _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Il 11/08/2014 18:43, Paul.LKW ha scritto:
Hi All: To be honest I do not see any config file in the host node /etc/ovirt-node inside, so even I put in the global maintenance mode I still don't know how to change the host to the new IP address.
Adding Fabian to the loop
BR, Paul.LKW
於 11/8/2014 20:56, Sandro Bonazzola 提到:
Il 08/08/2014 19:07, Paul.LKW ha scritto:
Hi All: I just has a case, I need to change the oVirt host and engine IP address due to data center decommission I checked in the hosted-engine host there are some files I could change ;
in ovirt-hosted-engine/hosted-engine.conf ca_subject="O=simple.com, CN=1.2.3.4" gateway=1.2.3.254
and of course I need to change the ovirtmgmt interface IP too, I think just change the above line could do the tick, but where could I change the other host IP in the cluster ? I think I have to be lost all the host as once changed the hosted-engine host IP as it is in diff. sub net. Does there any command line tools could do that or someone has such experience could share? Well, I think you can move the hosts to global maintenance, shutdown the hosted engine vm, move the first host and the vm to the new network. After that you should be able to move the other hosts to the new network. When finished you can exit global maintenance.
Never tested such scenario so if any other can provide more info and maybe create a wiki page it would be nice. Not sure about what happen with the certificates if they've been generated using ip address instead of FQDN, probably they won't be valid anymore after the network change.
Best Regards, Paul.LKW _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

----- Original Message -----
Hi All: To be honest I do not see any config file in the host node /etc/ovirt-node inside, so even I put in the global maintenance mode I still don't know how to change the host to the new IP address.
Hey Paul, if you are using oVirt Node (btw what version are you using?), then there are a couple of files, there is /etc/default/ovirt and the well known ifcfg files: /etc/sysconfig/netwprk-scripts/ifcfg-* And some other paths which are handled by vdsm. And vdsm is actually managing the network configuration when a Node is registered, that means, it can be that any changes to the configuration files get overwritten by vdsm again. Maybe Toni can say something about this. And I am also not sure if Engine will still recognize a Node, when you change the IP of the Node, without letting the Engine know about that. Sandro, do you know how you can tell Engine that the IP of a Node changed? Greetings fabian
BR, Paul.LKW
於 11/8/2014 20:56, Sandro Bonazzola 提到:
Il 08/08/2014 19:07, Paul.LKW ha scritto:
Hi All: I just has a case, I need to change the oVirt host and engine IP address due to data center decommission I checked in the hosted-engine host there are some files I could change ;
in ovirt-hosted-engine/hosted-engine.conf ca_subject="O=simple.com, CN=1.2.3.4" gateway=1.2.3.254
and of course I need to change the ovirtmgmt interface IP too, I think just change the above line could do the tick, but where could I change the other host IP in the cluster ? I think I have to be lost all the host as once changed the hosted-engine host IP as it is in diff. sub net. Does there any command line tools could do that or someone has such experience could share? Well, I think you can move the hosts to global maintenance, shutdown the hosted engine vm, move the first host and the vm to the new network. After that you should be able to move the other hosts to the new network. When finished you can exit global maintenance.
Never tested such scenario so if any other can provide more info and maybe create a wiki page it would be nice. Not sure about what happen with the certificates if they've been generated using ip address instead of FQDN, probably they won't be valid anymore after the network change.
Best Regards, Paul.LKW _______________________________________________ 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

Hi Fabian: Yes, it is my main concern will the Engine still recognise the node(s) as there is no mechanism to knowlege the Engine the change when I change the well known ifcfg-... files, and I think it will not detect the change automatically In my case it is just 30 more VMs and I could reinstall the host of course but when it is few hundure VMs there should ne great issue using oVIrt. However I have to try as just 3 days remaining for the data center decommission. BR, Paul.LKW 於 12/8/2014 16:04, Fabian Deutsch 提到:
----- Original Message -----
Hi All: To be honest I do not see any config file in the host node /etc/ovirt-node inside, so even I put in the global maintenance mode I still don't know how to change the host to the new IP address. Hey Paul,
if you are using oVirt Node (btw what version are you using?), then there are a couple of files, there is /etc/default/ovirt
and the well known ifcfg files: /etc/sysconfig/netwprk-scripts/ifcfg-*
And some other paths which are handled by vdsm.
And vdsm is actually managing the network configuration when a Node is registered, that means, it can be that any changes to the configuration files get overwritten by vdsm again.
Maybe Toni can say something about this.
And I am also not sure if Engine will still recognize a Node, when you change the IP of the Node, without letting the Engine know about that.
Sandro, do you know how you can tell Engine that the IP of a Node changed?
Greetings fabian
BR, Paul.LKW
於 11/8/2014 20:56, Sandro Bonazzola 提到:
Il 08/08/2014 19:07, Paul.LKW ha scritto:
Hi All: I just has a case, I need to change the oVirt host and engine IP address due to data center decommission I checked in the hosted-engine host there are some files I could change ;
in ovirt-hosted-engine/hosted-engine.conf ca_subject="O=simple.com, CN=1.2.3.4" gateway=1.2.3.254
and of course I need to change the ovirtmgmt interface IP too, I think just change the above line could do the tick, but where could I change the other host IP in the cluster ? I think I have to be lost all the host as once changed the hosted-engine host IP as it is in diff. sub net. Does there any command line tools could do that or someone has such experience could share? Well, I think you can move the hosts to global maintenance, shutdown the hosted engine vm, move the first host and the vm to the new network. After that you should be able to move the other hosts to the new network. When finished you can exit global maintenance.
Never tested such scenario so if any other can provide more info and maybe create a wiki page it would be nice. Not sure about what happen with the certificates if they've been generated using ip address instead of FQDN, probably they won't be valid anymore after the network change.
Best Regards, Paul.LKW _______________________________________________ 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
participants (4)
-
azaelrajadel@gmail.com
-
Fabian Deutsch
-
Paul.LKW
-
Sandro Bonazzola