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