Re: [Users] How to update VdcBootStrapUrl (not using DB) ?

2013-01-25 Thread Juan Hernandez

On 01/25/2013 12:49 PM, Adrian Gibanel wrote:

I've recently updated my 
http://www.ovirt.org/User:Adrian15/oVirt_engine_migration oVirt engine 
migration howto with the 
http://www.ovirt.org/User:Adrian15/oVirt_engine_migration#Update_VdcBootStrapUrl
 Update VdcBootStrapUrl section.

My next move is to move this section into the 
http://www.ovirt.org/How_to_change_engine_host_name How to change engine host 
name because I think it's a needed step.

But I don't like that currently you have to issue a database update like this:

psql -c update vdc_options set option_value = 
'http://new.manager.com:80/Components/vds/' where option_name = 'VdcBootStrapUrl' 
-U postgres engine

So I was wondering if there was a proper way like using a command like 
vdsClient or something similar. I mean so that in the future the vdc_options 
table gets renamed that the command is still the same.

I CC jhernand because I think he wrote the original How to change engine host 
name at the mailing list and also answered with the VdcBootStrapUrl update sentence 
to someone how couldn't add a new host after I think restoring an ovirt-engine.


The alternative to the SQL statement is the engine-config tool:

  engine-config -s VdcBootStrapUrl=http://...

In version 3.2 this parameter has been removed.
--
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.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to update VdcBootStrapUrl (not using DB) ?

2013-01-25 Thread Adrian Gibanel
- Mensaje original -

 De: Juan Hernandez jhern...@redhat.com

  Update VdcBootStrapUrl section.

  But I don't like that currently you have to issue a database update
  like this:
 
  psql -c update vdc_options set option_value =
  'http://new.manager.com:80/Components/vds/' where option_name =
  'VdcBootStrapUrl' -U postgres engine

 The alternative to the SQL statement is the engine-config tool:

 engine-config -s VdcBootStrapUrl=http://...

 In version 3.2 this parameter has been removed.

And what does that mean exactly? 
The parameter is not longer needed because the url resolution is done in 
another way? 
Maybe other parametre in ovirt 3.2 needs to be updated? With which command 
then? 

So far I'm going to update the wiki with 'only needed in 3.1 version' reference 
and I will update it as needed. 

Thank you. 

-- 

Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 

Ens podeu seguir a/Nos podeis seguir en: 

i 

Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to update VdcBootStrapUrl (not using DB) ?

2013-01-25 Thread Juan Hernandez

On 01/25/2013 01:15 PM, Adrian Gibanel wrote:



*De: *Juan Hernandez jhern...@redhat.com
**

  Update VdcBootStrapUrl section.

  But I don't like that currently you have to issue a database
update like this:
 
  psql -c update vdc_options set option_value =
'http://new.manager.com:80/Components/vds/' where option_name =
'VdcBootStrapUrl' -U postgres engine

The alternative to the SQL statement is the engine-config tool:

engine-config -s VdcBootStrapUrl=http://...

In version 3.2 this parameter has been removed.


And what does that mean exactly?
The parameter is not longer needed because the url resolution is done in
another way?
Maybe other parametre in ovirt 3.2 needs to be updated? With which
command then?

So far I'm going to update the wiki with 'only needed in 3.1 version'
reference and I will update it as needed.


Up to version 3.1 that parameter was needed because during host 
registration the host initiated connections to the engine web server to 
download several files (certificates, scripts, etc). This parameter was 
the base of some of those files (mostly scripts).


Starting with version 3.2 the engine sends all the required files to the 
hosts using SSH, so there is no need for this parameter. See the 
following URL for more details:


http://www.ovirt.org/Featrues/Bootstrap_Improvements

--
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.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users