You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Ugo Vasi <ug...@procne.it.INVALID> on 2018/09/19 10:27:21 UTC

Rename an instance

Hi all,
from the cloudstack web interface (version 4.11.1 in my case) I can only 
change the "Display name" by stopping the instance and clicking the icon.

Is it possible to change the instance name?

Is it dangerous to change the field in the database?

Thanks in advance
-- 

*Ugo Vasi* / System Administrator
ugo.vasi@procne.it <ma...@procne.it>




*Procne S.r.l.*
+39 0432 486 523
via Cotonificio, 45
33010 Tavagnacco (UD)
www.procne.it <http://www.procne.it/>


Le informazioni contenute nella presente comunicazione ed i relativi 
allegati possono essere riservate e sono, comunque, destinate 
esclusivamente alle persone od alla Società sopraindicati. La 
diffusione, distribuzione e/o copiatura del documento trasmesso da parte 
di qualsiasi soggetto diverso dal destinatario è proibita sia ai sensi 
dell'art. 616 c.p., che ai sensi del Decreto Legislativo n. 196/2003 
"Codice in materia di protezione dei dati personali". Se avete ricevuto 
questo messaggio per errore, vi preghiamo di distruggerlo e di informare 
immediatamente Procne S.r.l. scrivendo all' indirizzo e-mail 
info@procne.it <ma...@procne.it>.


Re: Rename an instance

Posted by Matheus Fontes <ma...@ghz.com.br>.
Hi Ugo,
You can change the instance name by cloudmonkey.

update virtualmachine id=ID_OF_VM name=NEW_NAME

press tab twice at “id=“ to list all vm ids.


> On 19 Sep 2018, at 07:27, Ugo Vasi <ug...@procne.it.INVALID> wrote:
> 
> Hi all,
> from the cloudstack web interface (version 4.11.1 in my case) I can only change the "Display name" by stopping the instance and clicking the icon.
> 
> Is it possible to change the instance name?
> 
> Is it dangerous to change the field in the database?
> 
> Thanks in advance
> -- 
> 
> *Ugo Vasi* / System Administrator
> ugo.vasi@procne.it <ma...@procne.it>
> 
> 
> 
> 
> *Procne S.r.l.*
> +39 0432 486 523
> via Cotonificio, 45
> 33010 Tavagnacco (UD)
> www.procne.it <http://www.procne.it/>
> 
> 
> Le informazioni contenute nella presente comunicazione ed i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone od alla Società sopraindicati. La diffusione, distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario è proibita sia ai sensi dell'art. 616 c.p., che ai sensi del Decreto Legislativo n. 196/2003 "Codice in materia di protezione dei dati personali". Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di informare immediatamente Procne S.r.l. scrivendo all' indirizzo e-mail info@procne.it <ma...@procne.it>.
> 


Re: Rename an instance

Posted by Rakesh Venkatesh <ww...@gmail.com>.
Hello Ugo

You can change the display name of a vm through database or cloudmonkey
without stopping the vm. You need to change the name in two tables if you
are doing through database

Change display_name in "vm_instance" and "user_vm" tables. We did it for
our customers and didnt face any issue

On Wed, Sep 19, 2018 at 12:28 PM Ugo Vasi <ug...@procne.it.invalid>
wrote:

> Hi all,
> from the cloudstack web interface (version 4.11.1 in my case) I can only
> change the "Display name" by stopping the instance and clicking the icon.
>
> Is it possible to change the instance name?
>
> Is it dangerous to change the field in the database?
>
> Thanks in advance
> --
>
> *Ugo Vasi* / System Administrator
> ugo.vasi@procne.it <ma...@procne.it>
>
>
>
>
> *Procne S.r.l.*
> +39 0432 486 523
> via Cotonificio, 45
> 33010 Tavagnacco (UD)
> www.procne.it <http://www.procne.it/>
>
>
> Le informazioni contenute nella presente comunicazione ed i relativi
> allegati possono essere riservate e sono, comunque, destinate
> esclusivamente alle persone od alla Società sopraindicati. La
> diffusione, distribuzione e/o copiatura del documento trasmesso da parte
> di qualsiasi soggetto diverso dal destinatario è proibita sia ai sensi
> dell'art. 616 c.p., che ai sensi del Decreto Legislativo n. 196/2003
> "Codice in materia di protezione dei dati personali". Se avete ricevuto
> questo messaggio per errore, vi preghiamo di distruggerlo e di informare
> immediatamente Procne S.r.l. scrivendo all' indirizzo e-mail
> info@procne.it <ma...@procne.it>.
>
>

-- 
Thanks and regards
Rakesh venkatesh

Re: Rename an instance

Posted by Dingane Hlaluku <Di...@shapeblue.com>.
Hi Ugo

CloudStack assigns three names for guest VM instance for use in different contexts and only allows user control for 2. It does now allow alterations to the instance name.
"Instance name – a unique, immutable ID that is generated by CloudStack and cannot be modified by the user. This name conforms to the requirements in IETF RFC 1123."
See documentation: http://docs.cloudstack.apache.org/en/4.11.1.0/adminguide/virtual_machines.html#about-working-with-virtual-machines

Regards
Dingane

On 2018/09/19, 12:33, "Ivan Kudryavtsev" <ku...@bw-sw.com> wrote:

    Hey, Ugo. It is possible through API, AFAIK. CloudStack UI doesn't support
    that.
    
    2018-09-19 17:27 GMT+07:00 Ugo Vasi <ug...@procne.it.invalid>:
    
    > Hi all,
    > from the cloudstack web interface (version 4.11.1 in my case) I can only
    > change the "Display name" by stopping the instance and clicking the icon.
    >
    > Is it possible to change the instance name?
    >
    > Is it dangerous to change the field in the database?
    >
    > Thanks in advance
    > --
    >
    > *Ugo Vasi* / System Administrator
    > ugo.vasi@procne.it <ma...@procne.it>
    >
    >
    >
    >
    > *Procne S.r.l.*
    > +39 0432 486 523
    > via Cotonificio, 45
    > 33010 Tavagnacco (UD)
    > www.procne.it <http://www.procne.it/>
    >
    >
    > Le informazioni contenute nella presente comunicazione ed i relativi
    > allegati possono essere riservate e sono, comunque, destinate
    > esclusivamente alle persone od alla Società sopraindicati. La diffusione,
    > distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi
    > soggetto diverso dal destinatario è proibita sia ai sensi dell'art. 616
    > c.p., che ai sensi del Decreto Legislativo n. 196/2003 "Codice in materia
    > di protezione dei dati personali". Se avete ricevuto questo messaggio per
    > errore, vi preghiamo di distruggerlo e di informare immediatamente Procne
    > S.r.l. scrivendo all' indirizzo e-mail info@procne.it <mailto:
    > info@procne.it>.
    >
    >
    
    
    -- 
    With best regards, Ivan Kudryavtsev
    Bitworks LLC
    Cell: +7-923-414-1515
    WWW: http://bitworks.software/ <http://bw-sw.com/>
    


Dingane.Hlaluku@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DP
@shapeblue
  
 


Re: Rename an instance

Posted by Ivan Kudryavtsev <ku...@bw-sw.com>.
Hey, Ugo. It is possible through API, AFAIK. CloudStack UI doesn't support
that.

2018-09-19 17:27 GMT+07:00 Ugo Vasi <ug...@procne.it.invalid>:

> Hi all,
> from the cloudstack web interface (version 4.11.1 in my case) I can only
> change the "Display name" by stopping the instance and clicking the icon.
>
> Is it possible to change the instance name?
>
> Is it dangerous to change the field in the database?
>
> Thanks in advance
> --
>
> *Ugo Vasi* / System Administrator
> ugo.vasi@procne.it <ma...@procne.it>
>
>
>
>
> *Procne S.r.l.*
> +39 0432 486 523
> via Cotonificio, 45
> 33010 Tavagnacco (UD)
> www.procne.it <http://www.procne.it/>
>
>
> Le informazioni contenute nella presente comunicazione ed i relativi
> allegati possono essere riservate e sono, comunque, destinate
> esclusivamente alle persone od alla Società sopraindicati. La diffusione,
> distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi
> soggetto diverso dal destinatario è proibita sia ai sensi dell'art. 616
> c.p., che ai sensi del Decreto Legislativo n. 196/2003 "Codice in materia
> di protezione dei dati personali". Se avete ricevuto questo messaggio per
> errore, vi preghiamo di distruggerlo e di informare immediatamente Procne
> S.r.l. scrivendo all' indirizzo e-mail info@procne.it <mailto:
> info@procne.it>.
>
>


-- 
With best regards, Ivan Kudryavtsev
Bitworks LLC
Cell: +7-923-414-1515
WWW: http://bitworks.software/ <http://bw-sw.com/>