[Users] Procedure to change engine host name

Juan Hernandez jhernand at redhat.com
Mon Nov 12 17:26:04 UTC 2012


On 11/12/2012 06:12 PM, Alan Johnson wrote:
> On Wed, Oct 17, 2012 at 12:38 PM, Jason Brooks <jbrooks at redhat.com
> <mailto:jbrooks at redhat.com>> wrote:
> 
>     On 10/05/2012 08:03 AM, Juan Hernandez wrote:
> 
>         Hi,
> 
>         I see some interest on how to change the host name of the
>         machine where
>         the engine runs (in release 3.1). This is a manual procedure
>         that you
>         can use to do that:
> 
> 
> I greatly appreciated these instructions, however there seems to be some
> points missing.  The links on the landing page (User
> Portal, Administrator Portal, Reports Portal) still have my old host
> name in them.  I can easily work around this for the time being by
> clicking the link then manually editing the URL of the failed page.  I
> my efforts to find out where this might have happen, I found 2 places in
> the database that include the old host name:
> 
> *option_id.*VdcBootStrapUrl
> *option_id.*VirtualMachineDomainName.
> 
> I have corrected those and restarted oVirt engine, but the links still
> have the old address.  So, I kept digging and found that there might be
> references to the old host name in the storage_server_connections table,
> e.g. ISOs.  Of course, that won't affect these links.
> 
> Where else might I find references to the old name?  Particularly for
> those links?
> 
> Thanks!
>  
> 
> 
>     Thanks, Juan -- I'm sure this will come in handy!
> 
>     I've copied these instructions into a page on the oVirt wiki:
> 
>     http://wiki.ovirt.org/wiki/__How_to_change_engine_host_name
>     <http://wiki.ovirt.org/wiki/How_to_change_engine_host_name>
> 
> 
> I have put in a request for a wiki account and will update this page if
> I am approved.  Please feel free to update before I get to it.  =) 

If you are using 3.1 check the /etc/ovirt-engine/web-conf.js file, it
contains the old host name as well.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.



More information about the Users mailing list