Multiple Interfaces on RHEVM-Self Hosted
Is it possible to have multiple interfaces on a self-hosted RHEVM? The RHEVM vm seems to be limited in the configurations that can be manipulated on it and we are having trouble adding a second interface or network to it.
Responses
I apologize Brent, when I read your first post, I read that as "bare metal" and not the self-hosted option that has been developed - again, I apologize. I recommend opening a ticket on this. That said, I believe my approach would resemble what you had done (adding once the VM is deployed). I have some lab/testing work to do with my own RHEV environment which I am now curious how this would work (after actually understanding your question). If I learn anything noteworthy, I'll be sure to update this thread.
My understanding is that while the RHEVM VM is listed as just another VM to be managed through the interface, it is not possible to manage it through conventional RHEV methods.
Instead, it may be necessary to manually modify the Manager's XML configuration (located in /var/run/libvirt/qemu) with the desired changes. If you aren't comfortable with raw XML, you may want to try making the changes through vdsClient.
In either case, be aware that the changes would also need to be manually replicated across any hosts in your cluster, and that you should exercise caution so as not to leave your Manager VM in a state of disrepair.
Brent, my apologies -- I'm not intimately familiar with the process, as it is not something I've had to do routinely (and I'm not in the office this week to try).
However, I believe the following process may produce your desired result:
- Set the Manager VM's maintenance mode to 'global'.
- Gracefully shutdown the Manager VM.
- On your physical host(s), edit /etc/ovirt-hosted-engine/vm.conf
3a. Duplicate the existing network interface entry.
3b. Modify the MAC address, UUID and network name of the newly added interface.
3c. Replicate any changes across all physical hosts. - Start the Manager VM.
- Set the Manager VM's maintenance mode to 'none'.
Let me know how it goes.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
