We are running vsphere 5.1 and each time we define name, that name gets 
appended in vsphere.

For example, if I define a hostname when I go through "Add Instance" Wizard, 
the name that I define under "Name" field, when deployed will be 
"i-4-298-my-hostname-in-acs" in vsphere.

The way we achieved this, we took a source code of 4.1 and backported the patch 
"CLOUDSTACK-778", generated RPMs - and installed it.

It works without any issues and has ben in production use for the past 6 months 
in 3 other companies. We've also backported support for dVS into 4.1

If you would like to give it a try, I can post the latest RPMs, or you can grab 
the source code and do it yourself. Its available on 
http://www.github.com/serverchief/cloudsand

CloudSand edition of ACS is backward compatible to 4.2 when it comes out. You 
can read more about it on www.cloudsand.com

Alternatively, you can wait for 4.2 release and all these features will be 
available by default. 

Regards
ilya

> -----Original Message-----
> From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
> Sent: Friday, August 09, 2013 4:36 AM
> To: users@cloudstack.apache.org
> Cc: Kirk Kosinski; Venkata SwamyBabu Budumuru
> Subject: Re: 答复: instance name in vsphere?
> 
> I don't think you can. maybe in the db, but I'd do that only on a stopped
> system
> 
> On Fri, Aug 9, 2013 at 9:43 AM, Jerry Jiang <jerry.ji...@sjcloud.cn> wrote:
> > Another question,
> >
> > The same environment:CS4.0 + vsphere.
> >
> > I found the template which I upload from CS is showing UUID as its
> > template name in vsphere
> >
> > Can I change the name?
> >
> > Thanks
> > J
> >
> > -----邮件原件-----
> > 发件人: Jerry Jiang [mailto:jerry.ji...@sjcloud.cn]
> > 发送时间: 2013年8月9日 星期五 13:08
> > 收件人: 'Kirk Kosinski'; users@cloudstack.apache.org
> > 抄送: 'Venkata SwamyBabu Budumuru'
> > 主题: Re: instance name in vsphere?
> >
> > Hello Kirk,
> >
> > Thanks to point out the workaround to satisfy what I want.
> >
> > Does it support non-English suffix? Like i-2-3-<some Chinese chars>
> >
> > Thanks
> > Jerry
> >
> > -----邮件原件-----
> > 发件人: Kirk Kosinski [mailto:kirkkosin...@gmail.com]
> > 发送时间: 2013年8月9日 星期五 12:30
> > 收件人: users@cloudstack.apache.org
> > 抄送: Venkata SwamyBabu Budumuru; Jerry Jiang
> > 主题: Re: instance name in vsphere?
> >
> > You can at least change the VM suffix in 4.0.x, i.e. "i-2-3-yoursuffix"
> > instead of "i-2-3-VM".  It is controlled with the "instance.name"
> > parameter in Global Settings.
> >
> > Best regards,
> > Kirk
> >
> > On 08/08/2013 09:22 PM, Venkata SwamyBabu Budumuru wrote:
> >> Here is link for what you asked
> >>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Allow+user+pro
> >> v
> >> ided+
> >> internal+VM+name+on+hypervisor+for+guest+Vms
> >>
> >> But, This is coming in as part of 4.2 release.
> >>
> >> The default name that you mentioned here is in the format
> >> i-<accountid>-<instanceId>.
> >>
> >> Thanks,
> >> SWAMY
> >>
> >> On 09/08/13 9:41 AM, "Jerry Jiang" <jerry.ji...@sjcloud.cn> wrote:
> >>
> >>> HI all,
> >>>
> >>>
> >>>
> >>> My environment is CS4.0 + vsphere.
> >>>
> >>>
> >>>
> >>> I found the instance from vsphere named as like i-2-3. Would like to
> >>> know how Cs picks up this name for vsphere
> >>>
> >>>
> >>>
> >>> Can I customize the name as what I want, say, i-project_A-zone1?
> >>>
> >>>
> >>>
> >>> Jerry
> >>>
> >>
> >

Reply via email to