On Fri, Feb 19, 2021 at 5:40 PM Jordan Conway
<jconway(a)linuxfoundation.org> wrote:
Hello,
I'd like to move my ovirt hosted engine deploy to a different cluster, but the
problem that I'm faced with is that my hosted engine bridge runs on
"ovirtmgmt" but the cluster I'd like to move it to the default vm network is
"ovirtmgmt_vlan"
Is there a process in which I could shutdown my hosted vm, edit it's network then
bring it back up on the new cluster?
I do not think there is any such tested/documented process.
I have already tried redeploying the new cluster with "deploy
hosted engine" on it, but when I try to start the engine on a host in the new cluster
it fails because it can't find the ovirtmgmt bridge.
I do not understand what you tried, exactly.
Do you mean "deploy a new hosted-engine"? It should create the bridge by
itself.
Perhaps "Add a host and choose "Deploy" in "hosted engine" tab?
It
must be in the same cluster as the existing hosted-engine hosts,
although I am not sure this is well-documented. I do not think there
is a way to cause this process to use a different network/bridge.
Please note the distinction. A "network" is an entity in the engine's
db (and in vdsm).
I can think of the following options, going forward:
1. Give up on the requirement and use 'ovirtmgmt'. Perhaps if you
explain your requirements we can come up with a way to do this.
2. Try to come up with a procedure as you are looking for. This will
involve at least:
- Find all the places in the engine db that have 'ovirtmgmt' and
consider changing them. Perhaps better not directly with sql but using
the ui/api/sdk, if possible.
- Edit on all hosts /etc/ovirt-hosted-engine/hosted-engine.conf ,
while ha agent/broker are down (not only the engine vm)
- Probably other stuff, not sure.
3. Try to redeploy from scratch, but with the bridge name you want.
Not sure if that's relevant at all and if it will help you, but you
can try. The ui does not ask about this, but you can try e.g.:
# hosted-engine --deploy
--otopi-environment=OVEHOSTED_NETWORK/bridgeName=str:ovirtmgmt_vlan
To do this on one of your existing hosts you'll probably need to put
it to maintenance and then reinstall the OS.
Good luck and best regards,
--
Didi