<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta name="x_Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:x_link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
.x_MsoChpDefault
        {}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="blue" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hello,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I was able to get this sorted out by editing the IP’s in the database. After I edited them so the engine could reconnect to the servers, I simply removed them one by one and re-added them to the engine dashboard. So far, they are working
as expected.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">psql engine -c "update vds_static update host_name = 'newIP' where gateway = 'oldIP';"</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">After, it complains about the networks being out of sync which is OK. Simply reinstall the host – I had to remove them one by one first, add them back, then I was able to resync the networks without issue.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Should this be used, always make a backup of the engine first.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal" style="border:none; padding:0in"><b>From: </b><a href="mailto:bkorren@redhat.com">Barak Korren</a><br>
<b>Sent: </b>Wednesday, December 21, 2016 9:03 AM<br>
<b>To: </b><a href="mailto:yzaspits@redhat.com">Yevgeny Zaspitsky</a><br>
<b>Cc: </b><a href="mailto:danken@redhat.com">Dan Kenigsberg</a>; <a href="mailto:lgoldber@redhat.com">
Leon Goldberg</a>; <a href="mailto:jax2568@outlook.com">Bill Bill</a>; <a href="mailto:users@ovirt.org">
users@ovirt.org</a><br>
<b>Subject: </b>Re: [ovirt-users] ovirtmgmt network change</p>
</div>
<p class="x_MsoNormal"> </p>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 21 December 2016 at 15:20, Yevgeny Zaspitsky <yzaspits@redhat.com> wrote:<br>
> AFAIK if you use a DNS name of the host when you add it to an engine, then<br>
> its IP could be changed as long as that name continue be resolved to the<br>
> host new address.<br>
<br>
Yes, but then that DNS becomes a very bad SPOF for your system, so not<br>
a good idea for a production systems...<br>
<br>
-- <br>
Barak Korren<br>
bkorren@redhat.com<br>
RHCE, RHCi, RHV-DevOps Team<br>
<a href="https://ifireball.wordpress.com/">https://ifireball.wordpress.com/</a><br>
</div>
</span></font>
</body>
</html>