Change network address of rhevm network

Latest response

Hello.

Each rhev-h has two bonds: bond0 is rhev-m and bond1 is VMs logical network. My customer needs to readdress rhevm network. They need to do it online, that is they would like to have the VMs working during readdressing (VMs are not to be migrated).

Is it possible to do it online ?

Could anyone provide some procedure describing how to do it ?

Marek

Responses

You can do this online without taking vms or the hypervisor offline. Just go to hosts tab -> Network Interfaces -> Setup Host Networks -> Edit "rhevm" network (click on the small pencil icon). Change the IP and Save. Make sure that you select "Save Network Configuration".

Looking at my RHEV 3.4 environment, the "rhemv" IP address for my host is actually grayed out - like maybe RHEV-M is not able to change it.

Thanks for your reply Sadique.

My question dealt with total readdressing of rhevm network. So while what you proposed may be right for one rhev-h host you do not say what to do on rhev-m side.

By the way: is it possible to have one manager and two rhev-m networks, that is e.g. one half of rhev-h hosts in one ip network and the second half in other ip network?

 

Marek

If you want to change the IP of RHEV-M, please open a support case. Please also specify whether this involves fqdn change as well or not.

> By the way: is it possible to have one manager and two rhev-m networks, that is e.g. one half of rhev-h hosts in one ip network and the second half in other ip network?

Hypervisors can be in any subnet provided you have proper routing for them to reach RHEV-M.

I just realized I need to supply more details :)

For now I have two networks defined in rhev environment: rhevm and vlan182. All hosts are connected to these networks. I need to configure another logical network which will be used as a management network for half of hosts currently connected to network rhevm. So at the end I will have rhevm, rhevm2 and vlan182, all of them beeing different ip networks. Manager (RHEV-M) in now connected to rhevm network which will finally became rhevm1 network. Now the questions are:

1. do I need to connect RHEV-M directly to rhevm2 to effectively and securely manage hosts which will be migrated to rhevm2 ?

2. to migrate a host from rhevm to rhevm2 I just simply change the rhevm bridge ip thru web manager ?

And the "BTW" question: can I shutdown the RHEV-M host with no distruption to RHEV-H hosts and virtual machines ?

 

Thanks in advance for your help.

Marek

The only thing I can speak to - re: shutting down RHEVM will not affect your RHEVH nodes.  The one thing to be cautious of is if you have your NFS share for ISOS shared from your RHEVM node.  Even with the NFS share, I am able to shut my RHEVM node down to copy it to a network file share (my RHEVM is a KVM VM).

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.