Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Change IP address for OVS

dconMar 28 2014 — edited Apr 4 2014

Hello everyone,

My plan was to enter the host names and ip addresses of my servers in the host file of the ovm host server. Then, I would discover the servers using their host names so that when the IP addresses would change, it would not be an issue.

So, I went on to discover one of my servers. What ovm did, was to pick up the public ip address instead of the private one included in /etc/hosts (the public IP address was there initially).

I checked the xenbr file and I had two. One for the public IP address and an other for the private IP address. The log file showed retries for establishing connection and every time the connection was refused [this is what it should say - firewall rules restrict communication].

The next day, the xenbr file containing the public IP address was marked 'OLD' and /var/log/ovs-agent.log stated an exception 'Exception: IP xxx.xxx.xxx.xxx is not up'.

I cannot figure out what is going on here. If xenbr does not exist for the public IP any more and, there is already a xenbr for the private IP, why does not ovm pick up the new one?

I restarted ovs agent and ovmm and also, I tried rediscovering but, nothing different happens.

I need it to pick up the private IP address in order for ovs and ovm to communicate (due to firewall rules).

I read in a similar thread that I should restart the server but, I don't want to do / cannot do this unless absolutely necessary. Also, I think my trouble is the public IP address. The similar thread was about changed private IP addresses in all cases.

Does anyone have any ideas on how I can make ovm realise the changed IP address and acknowledge that one as the IP of the server?

Thank you very much,

D

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2014
Added on Mar 28 2014
2 comments
2,395 views