
Hello, new user here! I've noticed that the virtual interface ovirtmgmt gets an IP address by DHCP. Is there any good way to make it static instead? I've seen a workaround which is basically: run hosted-engine --deploy Let it configure the management interface. Cancel Change the IP adress to static in: /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt Run hosted-engine --deploy again. Would this be the current appropriate solution? Also, is it possible to change this later on, after the installation is finished? I would appreciate any assistance. With my best regards Klas Mattsson

I'd encourage an answer to this topic. I didn't dive into hosted engine yet myself but when I do, I'll start with a static ip too. So it seems a little strange to just support dhcp. I think there must be a way for static networking too. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: users@ovirt.org Sent: Friday, April 25, 2014 9:57:03 AM Subject: Re: [ovirt-users] ovirt 3.4 hosted-engine static IP
I'd encourage an answer to this topic. I didn't dive into hosted engine yet myself but when I do, I'll start with a static ip too.
So it seems a little strange to just support dhcp.
I think there must be a way for static networking too.
-- Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
I agree Sven, and you probably missed my response ;) The simple answer is that there are endless networking typologies and configurations, so most admins would first configure the relevant networking and only then install additional software (ovirt in this case). See my other reply, and let's discuss it there if needed. Doron

----- Original Message -----
From: "Klas Mattsson" <klas@hekla.nu> To: users@ovirt.org Sent: Thursday, April 24, 2014 5:44:51 PM Subject: [ovirt-users] ovirt 3.4 hosted-engine static IP
Hello, new user here!
I've noticed that the virtual interface ovirtmgmt gets an IP address by DHCP. Is there any good way to make it static instead?
I've seen a workaround which is basically: run hosted-engine --deploy Let it configure the management interface. Cancel Change the IP adress to static in: /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt Run hosted-engine --deploy again.
Would this be the current appropriate solution?
Also, is it possible to change this later on, after the installation is finished?
I would appreciate any assistance.
With my best regards Klas Mattsson
Hi Klas, the installer is using an existing interface for the bridge. The idea is that an administrator would first configure the host networking and only then download and install the software. We have many cases where admins use vlans and bonds, and static IP is probably the easiest case ;) So the right way is to first configure your eth/em interface with your networking preferences (static IP in this case), and then yum install hosted engine. Yes, it is possible to change it during the process and afterwards (need to shut down relevant services) but the best way is configuring network first. Doron

Il 24/04/2014 16:44, Klas Mattsson ha scritto:
Hello, new user here!
I've noticed that the virtual interface ovirtmgmt gets an IP address by DHCP. Is there any good way to make it static instead?
You can configure with static IP the interface that you're going to use for the bridge. hosted-engine --deploy will preserve the static ip configuration while creating the bridge.
I've seen a workaround which is basically: run hosted-engine --deploy Let it configure the management interface. Cancel Change the IP adress to static in: /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt Run hosted-engine --deploy again.
Would this be the current appropriate solution?
See above.
Also, is it possible to change this later on, after the installation is finished?
You'll need working network during the setup process in order to validate gateway and fqdn. That said, once the hosted engine is deployed you can change network configuration. Just be sure to call vdsClient -s 0 setSafeNetworkConfig in order to be sure that VDSM won't restore previous configuration.
I would appreciate any assistance.
With my best regards Klas Mattsson _______________________________________________ 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
participants (4)
-
Doron Fediuck
-
Klas Mattsson
-
Sandro Bonazzola
-
Sven Kieske