Re: vCenter Patching - Stop Cloud Management Service?

2014-02-24 Thread Sean Hamilton
When I've patched vCenter servers in the past, the rough process I've
followed is:
If you can, disable the zone.
Go to each cluster and click 'unmanage cluster'
Update vCenter
Go to each cluster and click 'manage cluster'
Enable the zone.

Allow CloudStack time to re-check the environment (a couple of minutes
should be fine).
Test deploying an instance.


On 21 February 2014 14:23, Justin Brophy  wrote:

> What is the appropriate way to patch a vCenter associated with CloudStack
> 4.2.1?
>
> My assumption is to stop the cloudstack-management service on the
> cloudstack management servers, then proceed with vCenter patching. Post
> patching, start cloudstack-management.
>
> Is this correct?
>
> Patching ESXi hosts is easy and documented, however I have not located any
> documented process around vCenter patching.
>
> Thoughts?
>
> Justin Brophy
> Solutions Architect
> DSS
>


Re: Software licensing in the cloud

2014-02-11 Thread Sean Hamilton
No, the license is per processor on a physical host. We use VMware, but
license each host for the instances. No Hyper-V here (just yet).


On 11 February 2014 13:47, Ricardo Makino  wrote:

> Ok it's a good idea, but I don't need to run Windows Server as host (a.k.a
> hypervisor), right?
>
> Regards,
>
> --
> Ricardo Makino
>
>
> On Tue, Feb 11, 2014 at 11:35 AM, Sean Hamilton  >wrote:
>
> > From memory, licensing your compute hosts as "Microsoft Datacenter
> Edition"
> > then you can run unlimited Windows instances on that host.
> > If you're worried about having to license every host in your cloud, you
> > could look at host tags and see if you can ensure instances built with
> > Windows Templates are on a certain subset of hosts.
> >
> > Hope this helps.
> > Sean
> >
> >
> > On 11 February 2014 12:30, Ricardo Makino 
> wrote:
> >
> > > Hi Everyone,
> > >
> > > I have a doubt about what kind of software licensing you use to provide
> > > Microsoft instances in a IaaS environment, such like windows server
> > > instances.
> > >
> > > Regards,
> > > --
> > > Ricardo Makino
> > >
> >
>


Re: Software licensing in the cloud

2014-02-11 Thread Sean Hamilton
>From memory, licensing your compute hosts as "Microsoft Datacenter Edition"
then you can run unlimited Windows instances on that host.
If you're worried about having to license every host in your cloud, you
could look at host tags and see if you can ensure instances built with
Windows Templates are on a certain subset of hosts.

Hope this helps.
Sean


On 11 February 2014 12:30, Ricardo Makino  wrote:

> Hi Everyone,
>
> I have a doubt about what kind of software licensing you use to provide
> Microsoft instances in a IaaS environment, such like windows server
> instances.
>
> Regards,
> --
> Ricardo Makino
>


Can't start cloudstack-usage

2014-02-05 Thread Sean Hamilton
Hey guys,

This morning our cloudstack-usage service fell over. When trying to start
it with:
sudo service cloudstack-usage start [same command I always use]

I get this response:

bash-4.1$ sudo service cloudstack-usage start

Starting CloudStack Usage Monitor cloudstack-usage05/02/2014 04:19:54 32131
jsvc error: Cannot set user id for user 'cloud'

05/02/2014 04:19:54 32130 jsvc error: Error validating user 'cloud'

cat: /var/run/cloudstack-usage.pid: No such file or directory[FAILED]

Does anyone have any ideas on where to look? I don't see anything in
/var/log/cloudstack/usage/usage/log (because the service can't start).

Thanks,
Sean


Re: Not able to add primary Storage Cloudstack 4.3

2014-02-01 Thread Sean Hamilton
Hi Tejas,

What hypervisor are you using?
I can't remember if CIFS is a valid protocol for hypervisors other than 
Hyper-V. NFS is used for other hypervisors. 

Cheers,
Sean

> On 1 Feb 2014, at 09:26, Tejas Gadaria  wrote:
> 
> Hi,
> 
> While adding primary Storage I am getting
> 
>  
> "cifs://10.129.151.155/\\hcloud\primary\?user=administrator&password=abc_123&domain=nwx.com
>  is not a valid uri"
> 
> Similar error I am facing while adding secondary storage also. 
> 
> Please find attachment for logs,
> 
> 
> Regards,
> Tejas
> 
> 


Re: Move running vm to project

2014-01-20 Thread Sean Hamilton
Darn. I've not had to do this myself before. I wonder if the ROOT volume
needs to be updated in the same way? There are a lot of resources
associated with a vm.


On 20 January 2014 09:50, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> I actually tried that 30 mins ago and unfortunately it does not work
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Sean Hamilton [mailto:s...@seanhamilton.co.uk]
> Sent: 20 January 2014 09:47
> To: users@cloudstack.apache.org
> Subject: Re: Move running vm to project
>
> Rafael,
>
> If you look at the account table in the cloud database, you'll see that
> some fields in account_name look like *PrjAcct-[Project Name]-2 *they have
> the type set as 5: select * from cloud.account where type =5;
>
> I think that if you use the migrateVM API command and make this user the
> owner, it will get moved into that project. You can see that this user
> account 'owns' all vms within that project.
>
> Not sure if this helps at all...
>
> Sean
>
>
> On 19 January 2014 16:32, Rafael Weingartner  >wrote:
>
> > Well, I could do that. However, this way seems that the VM is just
> > going to be migrate to that user and not to a project. Unless the
> > 'master' account of a project has the ability to migrate its VMs to a
> > specific project since it can be master in more than one project.
> >
> > On Sun, Jan 19, 2014 at 2:26 PM, Sean Hamilton
> > 
> > wrote:
> > > Isn't there a master user account for a project? This account holds
> > resources for that project, including vms.
> > >
> > > You could list all user accounts in a project and find the 'master'
> > account and use migrate VM command?
> > >
> > >> On 19 Jan 2014, at 15:48, Rafael Weingartner <
> > rafaelweingart...@gmail.com> wrote:
> > >>
> > >> I saw that command, but, reading the docs, it seems that it just
> > >> migrate VMs between accounts.
> > >>
> > >> On Sat, Jan 18, 2014 at 6:22 AM, Geoff Higginbottom
> > >>  wrote:
> > >>> Rafael,
> > >>>
> > >>> There is a migrate VM API command that allows you to move a VM to
> > another account, it might work with projects as we'll but I have not
> > tried it.
> > >>>
> > >>>
> > http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/assignVir
> > tualMachine.html
> > >>>
> > >>>
> > >>> Regards
> > >>>
> > >>> Geoff Higginbottom
> > >>> CTO / Cloud Architect
> > >>>
> > >>>
> > >>> D: +44 20 3603 0542 | S: +44 20 3603 0540 > +442036030540> | M: +447968161581
> > >>>
> > >>> geoff.higginbot...@shapeblue.com > geoff.higginbot...@shapeblue.com> | www.shapeblue.com > www.shapeblue.com/>
> > >>>
> > >>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
> > 4HS
> > >>>
> > >>>
> > >>>
> > >>> On 18 Jan 2014, at 00:47, "Rafael Weingartner" <
> > rafaelweingart...@gmail.com<mailto:rafaelweingart...@gmail.com>> wrote:
> > >>>
> > >>> Hi,
> > >>> I was wondering, is it possible to move a running VM to a project?
> > >>> If so, how could I do that? I know that I can do that working
> > >>> directly on the database, but this would be an error prone job.
> > >>>
> > >>> --
> > >>> Rafael Weing?rtner
> > >>> Need Enterprise Grade Support for Apache CloudStack?
> > >>> Our CloudStack Infrastructure Support<
> > http://shapeblue.com/cloudstack-infrastructure-support/> offers the
> > best
> > 24/7 SLA for CloudStack Environments.
> > >>>
> > >>> Apache CloudStack Bootcamp training courses
> > >>>
> > >>> **NEW!** CloudStack 4.2 training<
> > http://shapeblue.com/cloudstack-training/>
> > >>> 08/09 January 2014,
> > >>> London<http://shapeblue.com/cloudstack-training/>
> > >>> 13-17 January 2014, GLOBAL. Instructor led, On-line<
> > http://shapeblue.com/cloudstack-training/>
> > >>> 20-24 January 2014, GLOBAL. Instructor led, On-line<
> > http://shapeblue.com/cloudsta

Re: Move running vm to project

2014-01-20 Thread Sean Hamilton
Rafael,

If you look at the account table in the cloud database, you'll see that
some fields in account_name look like *PrjAcct-[Project Name]-2 *they have
the type set as 5: select * from cloud.account where type =5;

I think that if you use the migrateVM API command and make this user the
owner, it will get moved into that project. You can see that this user
account 'owns' all vms within that project.

Not sure if this helps at all...

Sean


On 19 January 2014 16:32, Rafael Weingartner wrote:

> Well, I could do that. However, this way seems that the VM is just
> going to be migrate to that user and not to a project. Unless the
> 'master' account of a project has the ability to migrate its VMs to a
> specific project since it can be master in more than one project.
>
> On Sun, Jan 19, 2014 at 2:26 PM, Sean Hamilton 
> wrote:
> > Isn't there a master user account for a project? This account holds
> resources for that project, including vms.
> >
> > You could list all user accounts in a project and find the 'master'
> account and use migrate VM command?
> >
> >> On 19 Jan 2014, at 15:48, Rafael Weingartner <
> rafaelweingart...@gmail.com> wrote:
> >>
> >> I saw that command, but, reading the docs, it seems that it just
> >> migrate VMs between accounts.
> >>
> >> On Sat, Jan 18, 2014 at 6:22 AM, Geoff Higginbottom
> >>  wrote:
> >>> Rafael,
> >>>
> >>> There is a migrate VM API command that allows you to move a VM to
> another account, it might work with projects as we'll but I have not tried
> it.
> >>>
> >>>
> http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/assignVirtualMachine.html
> >>>
> >>>
> >>> Regards
> >>>
> >>> Geoff Higginbottom
> >>> CTO / Cloud Architect
> >>>
> >>>
> >>> D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540> | M: +447968161581
> >>>
> >>> geoff.higginbot...@shapeblue.com geoff.higginbot...@shapeblue.com> | www.shapeblue.com www.shapeblue.com/>
> >>>
> >>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
> 4HS
> >>>
> >>>
> >>>
> >>> On 18 Jan 2014, at 00:47, "Rafael Weingartner" <
> rafaelweingart...@gmail.com<mailto:rafaelweingart...@gmail.com>> wrote:
> >>>
> >>> Hi,
> >>> I was wondering, is it possible to move a running VM to a project? If
> >>> so, how could I do that? I know that I can do that working directly on
> >>> the database, but this would be an error prone job.
> >>>
> >>> --
> >>> Rafael Weing?rtner
> >>> Need Enterprise Grade Support for Apache CloudStack?
> >>> Our CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/> offers the best
> 24/7 SLA for CloudStack Environments.
> >>>
> >>> Apache CloudStack Bootcamp training courses
> >>>
> >>> **NEW!** CloudStack 4.2 training<
> http://shapeblue.com/cloudstack-training/>
> >>> 08/09 January 2014, London<http://shapeblue.com/cloudstack-training/>
> >>> 13-17 January 2014, GLOBAL. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> >>> 20-24 January 2014, GLOBAL. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> >>>
> >>> This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions expressed are solely those of the author and do not
> necessarily represent those of Shape Blue Ltd or related companies. If you
> are not the intended recipient of this email, you must neither take any
> action based upon its contents, nor copy or show it to anyone. Please
> contact the sender if you believe you have received this email in error.
> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> Services India LLP is a company incorporated in India and is operated under
> license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a
> company incorporated in Brasil and is operated under license from Shape
> Blue Ltd. ShapeBlue is a registered trademark.
> >>
> >>
> >>
> >> --
> >> Rafael Weingärtner
>
>
>
> --
> Rafael Weingärtner
>


Re: Move running vm to project

2014-01-19 Thread Sean Hamilton
Isn't there a master user account for a project? This account holds resources 
for that project, including vms. 

You could list all user accounts in a project and find the 'master' account and 
use migrate VM command?

> On 19 Jan 2014, at 15:48, Rafael Weingartner  
> wrote:
> 
> I saw that command, but, reading the docs, it seems that it just
> migrate VMs between accounts.
> 
> On Sat, Jan 18, 2014 at 6:22 AM, Geoff Higginbottom
>  wrote:
>> Rafael,
>> 
>> There is a migrate VM API command that allows you to move a VM to another 
>> account, it might work with projects as we'll but I have not tried it.
>> 
>> http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/assignVirtualMachine.html
>> 
>> 
>> Regards
>> 
>> Geoff Higginbottom
>> CTO / Cloud Architect
>> 
>> 
>> D: +44 20 3603 0542 | S: +44 20 3603 
>> 0540 | M: +447968161581
>> 
>> geoff.higginbot...@shapeblue.com | 
>> www.shapeblue.com
>> 
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
>> 4HS
>> 
>> 
>> 
>> On 18 Jan 2014, at 00:47, "Rafael Weingartner" 
>> mailto:rafaelweingart...@gmail.com>> wrote:
>> 
>> Hi,
>> I was wondering, is it possible to move a running VM to a project? If
>> so, how could I do that? I know that I can do that working directly on
>> the database, but this would be an error prone job.
>> 
>> --
>> Rafael Weing?rtner
>> Need Enterprise Grade Support for Apache CloudStack?
>> Our CloudStack Infrastructure 
>> Support offers the 
>> best 24/7 SLA for CloudStack Environments.
>> 
>> Apache CloudStack Bootcamp training courses
>> 
>> **NEW!** CloudStack 4.2 training
>> 08/09 January 2014, London
>> 13-17 January 2014, GLOBAL. Instructor led, 
>> On-line
>> 20-24 January 2014, GLOBAL. Instructor led, 
>> On-line
>> 
>> This email and any attachments to it may be confidential and are intended 
>> solely for the use of the individual to whom it is addressed. Any views or 
>> opinions expressed are solely those of the author and do not necessarily 
>> represent those of Shape Blue Ltd or related companies. If you are not the 
>> intended recipient of this email, you must neither take any action based 
>> upon its contents, nor copy or show it to anyone. Please contact the sender 
>> if you believe you have received this email in error. Shape Blue Ltd is a 
>> company incorporated in England & Wales. ShapeBlue Services India LLP is a 
>> company incorporated in India and is operated under license from Shape Blue 
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
>> and is operated under license from Shape Blue Ltd. ShapeBlue is a registered 
>> trademark.
> 
> 
> 
> -- 
> Rafael Weingärtner


Re: Change SCSI type in VMware

2014-01-17 Thread Sean Hamilton
Hi Sateesh,

Thanks for picking this up. 
I tried editing the SCSI type in the VM, but CloudStack changes it back when 
the VM is started. 

Thanks,
Sean

> On 17 Jan 2014, at 09:34, Sateesh Chodapuneedi 
>  wrote:
> 
> Sean, 
> 
> I have picked up this task, CLOUDSTACK-4787.
> By early next week, I will comeup with proposal to support subtypes of scsi 
> disk controllers in CloudStack for vSphere.
> 
>> Is there a workaround for this issue?
> I think yes. Try changing the controller type to Lsi Logic SAS and start the 
> VM to continue the installation from ISO.
> Please let me know how it goes.
> 
> Regards,
> Sateesh
> 
>> -Original Message-
>> From: Sean Hamilton [mailto:s...@seanhamilton.co.uk]
>> Sent: 16 January 2014 22:58
>> To: users@cloudstack.apache.org
>> Subject: Re: Change SCSI type in VMware
>> 
>> Thanks!
>> 
>> 
>>> On 16 January 2014 09:03, sebgoa  wrote:
>>> 
>>> 
>>> On Jan 15, 2014, at 11:01 AM, Sean Hamilton 
>>> wrote:
>>> 
>>>> It's out of my league too. Hope this comes in a release soon.
>>> 
>>> I change the ticket to a 'Bug' and added 4.3 has a branch where the
>>> problem exists.
>>> It should give it some visibility in JIRA.
>>> 
>>> Hopefully a fix soon
>>> 
>>> -sebastien
>>> 
>>>> 
>>>>> On 9 January 2014 11:26, Erik Weber  wrote:
>>>>> 
>>>>> On Thu, Jan 9, 2014 at 12:07 PM, Sean Hamilton
>>>>> >>>>> wrote:
>>>>> 
>>>>>> Hi Guys,
>>>>>> 
>>>>>> One of our users is trying to use Windows Server 2012 R2.
>>>>>> On install they can't see the disk attached. I checked and it
>>>>>> looks
>>> like
>>>>>> Microsoft removed the LSI Logic Parallel driver from that OS.
>>>>>> Changing
>>>>> the
>>>>>> storage adapter to LSI Logic SAS should work (and does work in VMware).
>>>>> In
>>>>>> CloudStack there is no option for this. I see a feature open for it:
>>>>>> https://issues.apache.org/jira/browse/CLOUDSTACK-4787
>>>>>> 
>>>>>> Does anyone have a workaround? Even if I change the value in
>>>>>> VMware,
>>> when
>>>>>> CloudStack powers the instance on, it changes back to Parallel.
>>>>>> 
>>>>>> I'd really like to offer support for the latest Operating Systems
>>>>>> in CloudStack and was wondering if anyone else was hit by the same issue?
>>>>> 
>>>>> I haven't been able to find a workaround yet.
>>>>> I did take a look in eclipse and noticed that the vmware jars do
>>>>> have
>>> the
>>>>> appropriate setting for it, it's just a matter of adding it to the
>>>>> cloudstack ui, storing and using it.
>>>>> 
>>>>> However, that's out of my league.
>>>>> 
>>>>> 
>>>>> --
>>>>> Erik
>>> 
>>> 


Re: Change SCSI type in VMware

2014-01-16 Thread Sean Hamilton
Thanks!


On 16 January 2014 09:03, sebgoa  wrote:

>
> On Jan 15, 2014, at 11:01 AM, Sean Hamilton 
> wrote:
>
> > It's out of my league too. Hope this comes in a release soon.
> >
>
> I change the ticket to a 'Bug' and added 4.3 has a branch where the
> problem exists.
> It should give it some visibility in JIRA.
>
> Hopefully a fix soon
>
> -sebastien
>
> >
> > On 9 January 2014 11:26, Erik Weber  wrote:
> >
> >> On Thu, Jan 9, 2014 at 12:07 PM, Sean Hamilton  >>> wrote:
> >>
> >>> Hi Guys,
> >>>
> >>> One of our users is trying to use Windows Server 2012 R2.
> >>> On install they can't see the disk attached. I checked and it looks
> like
> >>> Microsoft removed the LSI Logic Parallel driver from that OS. Changing
> >> the
> >>> storage adapter to LSI Logic SAS should work (and does work in VMware).
> >> In
> >>> CloudStack there is no option for this. I see a feature open for it:
> >>> https://issues.apache.org/jira/browse/CLOUDSTACK-4787
> >>>
> >>> Does anyone have a workaround? Even if I change the value in VMware,
> when
> >>> CloudStack powers the instance on, it changes back to Parallel.
> >>>
> >>> I'd really like to offer support for the latest Operating Systems in
> >>> CloudStack and was wondering if anyone else was hit by the same issue?
> >>>
> >>>
> >>
> >> I haven't been able to find a workaround yet.
> >> I did take a look in eclipse and noticed that the vmware jars do have
> the
> >> appropriate setting for it, it's just a matter of adding it to the
> >> cloudstack ui, storing and using it.
> >>
> >> However, that's out of my league.
> >>
> >>
> >> --
> >> Erik
> >>
>
>


Re: Change SCSI type in VMware

2014-01-15 Thread Sean Hamilton
It's out of my league too. Hope this comes in a release soon.


On 9 January 2014 11:26, Erik Weber  wrote:

> On Thu, Jan 9, 2014 at 12:07 PM, Sean Hamilton  >wrote:
>
> > Hi Guys,
> >
> > One of our users is trying to use Windows Server 2012 R2.
> > On install they can't see the disk attached. I checked and it looks like
> > Microsoft removed the LSI Logic Parallel driver from that OS. Changing
> the
> > storage adapter to LSI Logic SAS should work (and does work in VMware).
> In
> > CloudStack there is no option for this. I see a feature open for it:
> > https://issues.apache.org/jira/browse/CLOUDSTACK-4787
> >
> > Does anyone have a workaround? Even if I change the value in VMware, when
> > CloudStack powers the instance on, it changes back to Parallel.
> >
> > I'd really like to offer support for the latest Operating Systems in
> > CloudStack and was wondering if anyone else was hit by the same issue?
> >
> >
>
> I haven't been able to find a workaround yet.
> I did take a look in eclipse and noticed that the vmware jars do have the
> appropriate setting for it, it's just a matter of adding it to the
> cloudstack ui, storing and using it.
>
> However, that's out of my league.
>
>
> --
> Erik
>


Change SCSI type in VMware

2014-01-09 Thread Sean Hamilton
Hi Guys,

One of our users is trying to use Windows Server 2012 R2.
On install they can't see the disk attached. I checked and it looks like
Microsoft removed the LSI Logic Parallel driver from that OS. Changing the
storage adapter to LSI Logic SAS should work (and does work in VMware). In
CloudStack there is no option for this. I see a feature open for it:
https://issues.apache.org/jira/browse/CLOUDSTACK-4787

Does anyone have a workaround? Even if I change the value in VMware, when
CloudStack powers the instance on, it changes back to Parallel.

I'd really like to offer support for the latest Operating Systems in
CloudStack and was wondering if anyone else was hit by the same issue?

Cheers,
Sean


Re: Improving SSVM performance

2013-12-05 Thread Sean Hamilton
Hey Simon,

Got round to testing this in my lab. Times to complete Export OVF commands
didn't improve massively:

10Gb template with SSVM on E1000:   03:21.18 (10GB)

10Gb  template with SSVM on VMXNET3:  03:17.18 (10GB)

60Gb  template with SSVM on E1000:  18:32.16 (60GB)

60Gb  template with SSVM on VMXNET3: 18:12.98 (60GB)


Any other thoughts on how to speed stuff up? Where would the bottleneck
lie; storage for NFS mount?


On 2 December 2013 09:25, Simon Murphy  wrote:

> there is a global settting under the vmware section.
>
> Sent from my Android phone using TouchDown (www.nitrodesk.com)
>
> -Original Message-
> From: Sean Hamilton [s...@seanhamilton.co.uk]
> Received: Monday, 02 Dec 2013, 10:10pm
> To: users@cloudstack.apache.org [users@cloudstack.apache.org]
> Subject: Re: Improving SSVM performance
>
> Hey Simon,
>
> Is that done as the systemvm template is being uploaded, or can we edit it
> afterwards?
>
> Thanks,
> Sean
>
>
> On 28 November 2013 19:34, Simon Murphy  wrote:
>
> > have you tried changing the default network adapter to vmxnet3?
> >
> > Sent from my Android phone using TouchDown (www.nitrodesk.com<
> http://www.nitrodesk.com>)
> >
> > -Original Message-
> > From: Sean Hamilton [s...@seanhamilton.co.uk]
> > Received: Friday, 29 Nov 2013, 4:10am
> > To: users@cloudstack.apache.org [users@cloudstack.apache.org]
> > Subject: Improving SSVM performance
> >
> > We run 4.2 with VMware hypervisor.
> > We'd like to improve the SSVM performance, specifically when exporting
> and
> > deploying templates.
> >
> > Does anyone have any guides on doing this at all?
> >
> > Thanks,
> > Sean
> >
>


Re: Unable to execute PrimaryStorageDownloadCommand

2013-12-05 Thread Sean Hamilton
It's been logged: https://issues.apache.org/jira/browse/CLOUDSTACK-5382<%22>



On 4 December 2013 21:48, Nitin Mehta  wrote:

> Sean - I can confirm from the code that what you have seen is a valid bug.
> But should be a problem only for templates occurring in multiple zones.
> Would you mind filing a bug for this please ?
>
> Thanks,
> -Nitin
>
> On 04/12/13 1:44 PM, "Sean Hamilton"  wrote:
>
> >We're seeing a bug where cloudstack tries to spool a template from any
> >secondary storage in any zone in a region to primary storage.
> >
> >DB selects show a rand() at the end, it took a few attempts to get the
> >template onto primary storage.
> >
> >Must be a bug.
> >
> >> On 4 Dec 2013, at 13:23, John Skinner  wrote:
> >>
> >> I did confirm that the template does exist in the directory.
> >>> On Dec 3, 2013, at 11:05 PM, Sanjeev Neelarapu
> >>> wrote:
> >>>
> >>> Hi,
> >>>
> >>> Can you make sure that the template with which you are trying to
> >>>deploy a VM is present on the secondary Storage inside 244 directory?
> >>>
> >>> -Sanjeev
> >>> -Original Message-
> >>> From: John Skinner [mailto:john.skin...@appcore.com]
> >>> Sent: Wednesday, December 04, 2013 12:55 AM
> >>> To: users@cloudstack.apache.org
> >>> Subject: Unable to execute PrimaryStorageDownloadCommand
> >>>
> >>> Environment running CloudStack 4.1.1 with VMware vSphere 5.1 nodes and
> >>>NFS backed Primary Storage data stores. We are currently having issues
> >>>creating VMs from a template when we have to copy the template from
> >>>secondary storage. If the template already exists on primary storage
> >>>then the VM gets created just fine. I have already checked the mount
> >>>points and vCenter has read/write access to the NFS share for secondary
> >>>storage, and the secondary storage VM has the share mounted and can
> >>>read/write to it as well.
> >>>
> >>> This is the exception from the management server logs:
> >>>
> >>> 2013-12-03 09:13:10,468 DEBUG [agent.manager.AgentManagerImpl]
> >>>(Job-Executor-9:job-14655) Details from executing class
> >>>com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Unable to
> >>>execute PrimaryStorageDownloadCommand due to exception
> >>> 2013-12-03 09:13:10,468 DEBUG [cloud.template.TemplateManagerImpl]
> >>>(Job-Executor-9:job-14655) Template 244 download to pool 222 failed due
> >>>to Unable to execute PrimaryStorageDownloadCommand due to exception
> >>> 2013-12-03 09:13:10,469 DEBUG [cloud.template.TemplateManagerImpl]
> >>>(Job-Executor-9:job-14655) Template 244 is not found on and can not be
> >>>downloaded to pool 222
> >>> 2013-12-03 09:13:10,469 DEBUG [cloud.storage.StorageManagerImpl]
> >>>(Job-Executor-9:job-14655) Cannot use this pool
> >>>Pool[222|NetworkFilesystem] because we can't propagate template
> >>>Tmpl[244-OVA-244-2-0e18671b-1f2a-3b10-8b1a-7608bda5695c
> >>> 2013-12-03 09:13:10,505 DEBUG [agent.manager.AgentAttache]
> >>>(AgentManager-Handler-15:null) Seq 59-806028519: No more commands found
> >>> 2013-12-03 09:13:10,580 INFO  [cloud.vm.VirtualMachineManagerImpl]
> >>>(Job-Executor-9:job-14655) Unable to contact resource.
> >>> com.cloud.exception.StorageUnavailableException: Resource
> >>>[StoragePool:222] is unreachable: Unable to create
> >>>Vol[11319|vm=11283|ROOT]
> >>>   at
> >>>com.cloud.storage.StorageManagerImpl.prepare(StorageManagerImpl.java:348
> >>>8)
> >>>   at
> >>>com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManage
> >>>rImpl.java:748)
> >>>   at
> >>>com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.j
> >>>ava:471)
> >>>   at
> >>>org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deploy
> >>>VirtualMachine(VMEntityManagerImpl.java:212)
> >>>   at
> >>>org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.d
> >>>eploy(VirtualMachineEntityImpl.java:209)
> >>>   at
> >>>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.jav
> >>>a:3871)
> >>>   at
> >>>com.cloud.vm.UserVmManagerImpl.startVirtualMachine(Use

Re: Unable to execute PrimaryStorageDownloadCommand

2013-12-04 Thread Sean Hamilton
We're seeing a bug where cloudstack tries to spool a template from any 
secondary storage in any zone in a region to primary storage. 

DB selects show a rand() at the end, it took a few attempts to get the template 
onto primary storage. 

Must be a bug. 

> On 4 Dec 2013, at 13:23, John Skinner  wrote:
> 
> I did confirm that the template does exist in the directory.
>> On Dec 3, 2013, at 11:05 PM, Sanjeev Neelarapu 
>>  wrote:
>> 
>> Hi,
>> 
>> Can you make sure that the template with which you are trying to deploy a VM 
>> is present on the secondary Storage inside 244 directory?
>> 
>> -Sanjeev
>> -Original Message-
>> From: John Skinner [mailto:john.skin...@appcore.com] 
>> Sent: Wednesday, December 04, 2013 12:55 AM
>> To: users@cloudstack.apache.org
>> Subject: Unable to execute PrimaryStorageDownloadCommand
>> 
>> Environment running CloudStack 4.1.1 with VMware vSphere 5.1 nodes and NFS 
>> backed Primary Storage data stores. We are currently having issues creating 
>> VMs from a template when we have to copy the template from secondary 
>> storage. If the template already exists on primary storage then the VM gets 
>> created just fine. I have already checked the mount points and vCenter has 
>> read/write access to the NFS share for secondary storage, and the secondary 
>> storage VM has the share mounted and can read/write to it as well.
>> 
>> This is the exception from the management server logs:
>> 
>> 2013-12-03 09:13:10,468 DEBUG [agent.manager.AgentManagerImpl] 
>> (Job-Executor-9:job-14655) Details from executing class 
>> com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Unable to execute 
>> PrimaryStorageDownloadCommand due to exception
>> 2013-12-03 09:13:10,468 DEBUG [cloud.template.TemplateManagerImpl] 
>> (Job-Executor-9:job-14655) Template 244 download to pool 222 failed due to 
>> Unable to execute PrimaryStorageDownloadCommand due to exception
>> 2013-12-03 09:13:10,469 DEBUG [cloud.template.TemplateManagerImpl] 
>> (Job-Executor-9:job-14655) Template 244 is not found on and can not be 
>> downloaded to pool 222
>> 2013-12-03 09:13:10,469 DEBUG [cloud.storage.StorageManagerImpl] 
>> (Job-Executor-9:job-14655) Cannot use this pool Pool[222|NetworkFilesystem] 
>> because we can't propagate template 
>> Tmpl[244-OVA-244-2-0e18671b-1f2a-3b10-8b1a-7608bda5695c
>> 2013-12-03 09:13:10,505 DEBUG [agent.manager.AgentAttache] 
>> (AgentManager-Handler-15:null) Seq 59-806028519: No more commands found
>> 2013-12-03 09:13:10,580 INFO  [cloud.vm.VirtualMachineManagerImpl] 
>> (Job-Executor-9:job-14655) Unable to contact resource.
>> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:222] 
>> is unreachable: Unable to create Vol[11319|vm=11283|ROOT]
>>   at 
>> com.cloud.storage.StorageManagerImpl.prepare(StorageManagerImpl.java:3488)
>>   at 
>> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:748)
>>   at 
>> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
>>   at 
>> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:212)
>>   at 
>> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
>>   at 
>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3871)
>>   at 
>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3464)
>>   at 
>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3450)
>>   at 
>> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>>   at 
>> org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379)
>>   at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
>>   at 
>> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>>   at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>   at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>>   at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>   at java.lang.Thread.run(Thread.java:679)
>> 2013-12-03 09:13:10,660 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
>> (Job-Executor-9:job-14655) Cleaning up resources for the vm 
>> VM[User|OrangeTest] in Starting state
>> 
>> And this is the same error, however this is from the systemvm.log on the 
>> Secondary Storage VM:
>> 
>> 2013-12-03 15:26:43,125 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:) 
>> Processing command: com.cloud.agent.api.storage.PrimaryStorageDownloadCommand
>> 2013-12-03 15:26:43,126 DEBUG 
>> [storage.resource.VmwareSec

Re: Improving SSVM performance

2013-12-02 Thread Sean Hamilton
Hey Simon,

Is that done as the systemvm template is being uploaded, or can we edit it
afterwards?

Thanks,
Sean


On 28 November 2013 19:34, Simon Murphy  wrote:

> have you tried changing the default network adapter to vmxnet3?
>
> Sent from my Android phone using TouchDown (www.nitrodesk.com)
>
> -Original Message-----
> From: Sean Hamilton [s...@seanhamilton.co.uk]
> Received: Friday, 29 Nov 2013, 4:10am
> To: users@cloudstack.apache.org [users@cloudstack.apache.org]
> Subject: Improving SSVM performance
>
> We run 4.2 with VMware hypervisor.
> We'd like to improve the SSVM performance, specifically when exporting and
> deploying templates.
>
> Does anyone have any guides on doing this at all?
>
> Thanks,
> Sean
>


Improving SSVM performance

2013-11-28 Thread Sean Hamilton
We run 4.2 with VMware hypervisor.
We'd like to improve the SSVM performance, specifically when exporting and
deploying templates.

Does anyone have any guides on doing this at all?

Thanks,
Sean


Re: Windows instance DNS entries being lost by AD DNS servers

2013-11-26 Thread Sean Hamilton
I found this article:
http://technet.microsoft.com/en-us/library/dd197418(v=ws.10).aspx



I was wondering if *RegistrationRefreshInterval* is something that would
help in this context?


On 26 November 2013 17:17, Kirk Jantzer  wrote:

> Anyone else?
>
>
> Regards,
>
> Kirk Jantzer
> http://about.me/kirkjantzer
>
>
> On Mon, Nov 25, 2013 at 10:45 AM, Kirk Jantzer  >wrote:
>
> > I did that as well, and they still disappear. I was on the router when I
> > rebooted an instance and the record in the /etc/dhcphosts.txt would
> delete
> > as soon I cycled the instance.
> >
> >
> > Regards,
> >
> > Kirk Jantzer
> > http://about.me/kirkjantzer
> >
> >
> > On Mon, Nov 25, 2013 at 10:40 AM, Sean Hamilton  >wrote:
> >
> >> I've been experiencing this.
> >> From our experiences we've set the DNS servers on the instance to the IP
> >> addresses of the AD DNS servers.
> >> We also set the DNS search suffix list to include the DNS suffix for the
> >> AD
> >> domain.
> >>
> >> We haven't had anyone complain recently...
> >>
> >>
> >> On 25 November 2013 15:17, Kirk Jantzer  wrote:
> >>
> >> > Hey guys. We have CS 4.1.1 running in our environment. I have a basic
> >> zone
> >> > with the network offering set to only offer DHCP. When Windows
> instances
> >> > are shut down or rebooted, their DNS entries in our Windows DNS
> servers
> >> are
> >> > being lost. I have to get onto the instance and do 'ipconfig
> >> /registerdns'
> >> > to be able to access the server by name again. Anyone experience this
> >> > and/or have any suggestions on how to fix it?
> >> >
> >> > Regards,
> >> >
> >> > Kirk Jantzer
> >> > http://about.me/kirkjantzer
> >> >
> >>
> >
> >
>


Re: Reg: Resource limit bug in account

2013-11-26 Thread Sean Hamilton
Did you manage to file a bug? Can you share the link?


On 26 November 2013 05:46,  wrote:

> Hi,
>
>   I have setup Primary Storage limits (GiB) -1 in cloudstack global
> setting and created account. It setup account limit as some -1074678 gb.
> This is major bug in resource limit.
>
>  Auto snapshot is not fixed yet in cloudstack.
>
>  can you provide patch link and bug post link in apache cloudstack
> website. Because I am working in cloudstack very seriously but unable to
> freely post the bug and very hard to update patches.
>
>  Note:- Patch management and bug management is need one for opensource
> project.
>
>
>  Regards,
>  Prakash.M
>
>


Re: Windows instance DNS entries being lost by AD DNS servers

2013-11-25 Thread Sean Hamilton
I've been experiencing this.
>From our experiences we've set the DNS servers on the instance to the IP
addresses of the AD DNS servers.
We also set the DNS search suffix list to include the DNS suffix for the AD
domain.

We haven't had anyone complain recently...


On 25 November 2013 15:17, Kirk Jantzer  wrote:

> Hey guys. We have CS 4.1.1 running in our environment. I have a basic zone
> with the network offering set to only offer DHCP. When Windows instances
> are shut down or rebooted, their DNS entries in our Windows DNS servers are
> being lost. I have to get onto the instance and do 'ipconfig /registerdns'
> to be able to access the server by name again. Anyone experience this
> and/or have any suggestions on how to fix it?
>
> Regards,
>
> Kirk Jantzer
> http://about.me/kirkjantzer
>


Re: stop VM and lost everything

2013-11-23 Thread Sean Hamilton
You should be able to view the console of your instance through the cloudstack 
UI. This should let you see what's happening on it.

> On 23 Nov 2013, at 13:11, Du Jun  wrote:
> 
> Hi Hamilton,
> Now I can't access my VM via ssh,so I am unable to control my
> vm.Please tell me how to unmount VM's ISO install media in my host?
> 
> 
> Best regards,
> Frank
> 
> 2013/11/23, Du Jun :
>> Hi Hamilton,
>> I think you are right!
>> 
>> But how can I prevent it reinstalling?I need to unmount ISO install
>> media and don't want to reinstall because there are a lot of important
>> informations in my VM.
>> 
>> Would you please tell me how to prevent things from bad to worse?Many
>> thanks!
>> 
>> -
>> Best regards,
>> Frank
>> 
>> 2013/11/23, Sean Hamilton :
>>> Did you un mount the ISO before stopping/starting your instance? Sounds
>>> like
>>> it's just trying to reinstall because your instance is booting from the
>>> ISO
>>> install media.
>>> 
>>>> On 23 Nov 2013, at 12:28, Du Jun  wrote:
>>>> 
>>>> Hi all,
>>>> I booted a VM via ISO and then stoped it.When I start it again and I
>>>> found myself in front of VM OS reinstalling.That means,when I stop a
>>>> VM booting via ISO,I will lose anything in the disk.It's too awful! Is
>>>> my understanding correct?If so,is the root-disk of VM ephemeral?
>>>> 
>>>> -
>>>> Thank you!
>> 


Re: stop VM and lost everything

2013-11-23 Thread Sean Hamilton
Did you un mount the ISO before stopping/starting your instance? Sounds like 
it's just trying to reinstall because your instance is booting from the ISO 
install media. 

> On 23 Nov 2013, at 12:28, Du Jun  wrote:
> 
> Hi all,
> I booted a VM via ISO and then stoped it.When I start it again and I
> found myself in front of VM OS reinstalling.That means,when I stop a
> VM booting via ISO,I will lose anything in the disk.It's too awful! Is
> my understanding correct?If so,is the root-disk of VM ephemeral?
> 
> -
> Thank you!


Multiple simultaneous tasks in vCenter

2013-11-13 Thread Sean Hamilton
Hi,

We use VMware for our hypervisor layer and run 4.2.0.
We've noticed that when a user creates a template from a volume, CloudStack
creates a "Exporting OVF template" task in vCenter. This seems to stop any
other commands from being issued into vCenter until this task has completed.

Has anyone else seen this? Or have recommendations?

Thanks,
Sean


VMware vCloud to CloudStack migration

2013-11-05 Thread Sean Hamilton
Hi Guys,

I have a user that is trying to export an instance from vCloud so that they
can import into CloudStack. They've exported the .ova file which contains:
- .ovf file
- .vmdk file

When they upload the template they get a deployment fail, I think that this
is due to the metadata in the .ovf file. I've seen specific entries before
on VirtualBox to CloudStack migrations but can't figure this one out.

Are there any recommendations or best practises on this at all?

Thanks,
Sean


Re: set hostname of vm

2013-10-21 Thread Sean Hamilton
Jerry, 
What OS type are you using?

> On 21 Oct 2013, at 04:47, "Jerry Jiang"  wrote:
> 
> Hi all,
> 
> 
> 
> May I set the vm hostname automatically like what I want instead of uuid?
> 
> 
> 
> JerryJiang 
> 


Re: Windows Server 2012

2013-10-11 Thread Sean Hamilton
Hey guys,

Thanks for that, it's helpful.
I was running vCenter 5.0 update 1a, which uses "Windows Server 8" after
upgrading to to vCenter 5.0 update 2 I can see Windows Server 2012 as a
guest OS type but now after deploying an instance in CloudStack I see it's
created the vm as "Other (64bit)" - any ideas on what's going on?

Cheers,
Sean


On 7 October 2013 17:20, Min Chen  wrote:

> This is as expected, because VCenter does not have Windows Server 2012 as
> one of its guest os enum type, see
> http://www.vmware.com/support/developer/converter-sdk/conv50_apireference/v
> im.vm.GuestOsDescriptor.GuestOsIdentifier.html.
>
> Thanks
> -min
>
> On 10/7/13 4:51 AM, "Erdősi Péter"  wrote:
>
> >Dear,
> >
> >2013.10.07. 10:54 keltezéssel, Sean Hamilton írta:
> >> Does anyone know where the prerequisites are listed for running Windows
> >> Server 2012 in ACS 4.2?
> >I think, this limitation comes with vmware 5.0
> >If you install 5.1 (vsphere and vcenter too), then you can choose
> >windows 2012 on vmware console, but with 5.0, you cant.
> >This can be the problem for CS...
> >
> >Best regards,
> >  Peter
> >
> >> I'm running:
> >> vCenter 5.0 Update 1a
> >> vSphere hosts at 5.0 Update 2
> >>
> >> I'm seeing that when I upload a 2012 template and mark it as that, the
> >>vms
> >> created have a guest OS type as "Windows Server 2008 R2 (64bit)" rather
> >> than Server 2012 (or Windows Server 8).
> >>
> >> Thanks,
> >> Sean
> >>
> >
>
>


Windows Server 2012

2013-10-07 Thread Sean Hamilton
Does anyone know where the prerequisites are listed for running Windows
Server 2012 in ACS 4.2?

I'm running:
vCenter 5.0 Update 1a
vSphere hosts at 5.0 Update 2

I'm seeing that when I upload a 2012 template and mark it as that, the vms
created have a guest OS type as "Windows Server 2008 R2 (64bit)" rather
than Server 2012 (or Windows Server 8).

Thanks,
Sean


Re: [POLL] Latency between Management Server and zones

2013-10-02 Thread Sean Hamilton
The max currently is around 140ms for us. We see a noticeable lag, but
regions should sort that out.


On 1 October 2013 17:58, Chiradeep Vittal wrote:

> [Apologize for the crosspost, but I think there may be answers from the
> dev perspective]
> [Also, this is poll / opinion question]
>
> What is the maximum latency / minimum bandwidth folks have between their
> Management Server and the hypervisor?
> What works? What needs to be tweaked?
>
> TIA
>


Re: Choosing VMWare SCSI Controller Type

2013-10-02 Thread Sean Hamilton
Hey Chris,

What version of CS are you running? I've seen a bug in the "Register
Template" screen. If you select the location for the template it should
open up more options, one of which is the HDD adapter type.

Let me know how it goes.


On 2 October 2013 05:12, Chris Sciarrino  wrote:

> Hi,
>
> I am having an issue where my vmware templates are being deployed with the
> lsi parallel scsi controller type which is causing them to blue screen. Is
> there any way to choose which scsi controller type it will be deployed
> with? Or is there any other way to make it deploy the lsi sas controller?
>
>
> Thanks,
>
> Chris
>


Re: CS 4.2 - "DC already managed" issue

2013-09-26 Thread Sean Hamilton
Sure, I was in Hosts and Clusters view.
Selecting your vCenter (top of the tree on the right hand side) and
clicking the Datacenters tab I can see the field. I've attached a screen
shot but it might get stripped out.
[image: Inline images 1]

Sean


On 26 September 2013 10:41, Gaspare A Silvestri wrote:

>  Hi Sean,
>
> really thank you for your support! Could you please show me the location
> on which this parameter was enabled?
>
> On the Advanced Settings section (both Host and Cluster) I'm not able to
> find the parameter.
>
> Thanks a lot again,
>
> Gaspare
>
> On 26/09/2013 11:28, Sean Hamilton wrote:
>
> Hey Gaspare,
>
> I had this issue too. It looks like 4.2 uses a custom field in vCenter to
> show it's managing that Datacenter.
> If you look at your vDC in vSphere, you should see "cloud.zone" which will
> be set to 'true'. If you want to remove the parameter just delete the text.
>
> Hope this helps.
> Sean
>
>
> On 26 September 2013 09:44, Gaspare A Silvestri  
> wrote:
>
>
>  Hello everybody,
>
> I'm testing the CS 4.2 release, I've installed and configured an
> infrastructure (VMware based), then I've removed all the configurations
> and I've tried to execute a new Zone setupwith no luck; I'm receiving
> the following error:
>
> " This DC is being managed by other CloudStack deployment. Cannot add
> this DC to zone."
>
> What could be the problem? Are there any parameters on the VMware
> Virtual Center to remove?
>
> Thanks inadvance,
>
> Gaspare
>
>
>
>
> --
>
>
>
>
> *Supernova s.r.l.*
> Via G. Misiticoni, 3
> 65126 - Pescara
> ITALY
>
> *www.netsons.com* <http://www.netsons.com>
> *Gaspare A. Silvestri*
> Technical Director - Head of IT
> *VMWare VCP 4 - VMWare VCP 5 - Microsoft MCTS
> Oracle OCA 11g - Oracle SUN OCP - Symantec SCS*
>
> *t. *(+39) 085 45 100 52
> *m. *(+39) 334 13 682 11
> *e. *g.silves...@netsons.com
>
>  [image: View Gaspare Aristide Silvestri's profile on 
> LinkedIn]<http://it.linkedin.com/in/gasilvestri>
>
> *Netsons® è un marchio registrato dalla Supernova s.r.l.*
>
>  Le informazioni trasmesse sono riservate alla persona o alla società
> indicata come destinatario, e possono includere contenuti considerati
> confidenziali. Ogni elaborazione, comunicazione, trasmissione o altro
> utilizzo, anche azioni conseguenti alla conoscenza di queste informazioni
> da parte di chiunque non sia espressamente indicato come destinatario è
> proibita. Nel caso abbiate ricevuto per errore questa comunicazione, siete
> pregati di darne avviso a info [at] netsons.com ed eliminare ogni stampa
> ed ogni traccia informatica. Il ricevente dovrà inoltre accertarsi che gli
> eventuali allegati non contengano virus prima di aprirli. Qualunque
> opinione o affermazione presentata in questo messaggio è da ritenersi
> propria dell'autore e non rappresenta necessariamente la posizione della
> Società.
>
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential material. Any review,
> retransmission, dissemination or other use of, or taking of any action in
> reliance upon this information by persons or entities other than the
> intended recipient is prohibited. If you received this in error, please
> contact: info [at] netsons.com and delete the material from any computer.
> If this email contains attachments you should ensure they are checked for
> viruses before opening them. Any views or opinions presented are solely
> those of the author and do not necessarily represent those of the company.
>


Re: CS 4.2 - "DC already managed" issue

2013-09-26 Thread Sean Hamilton
Hey Gaspare,

I had this issue too. It looks like 4.2 uses a custom field in vCenter to
show it's managing that Datacenter.
If you look at your vDC in vSphere, you should see "cloud.zone" which will
be set to 'true'. If you want to remove the parameter just delete the text.

Hope this helps.
Sean


On 26 September 2013 09:44, Gaspare A Silvestri wrote:

> Hello everybody,
>
> I'm testing the CS 4.2 release, I've installed and configured an
> infrastructure (VMware based), then I've removed all the configurations
> and I've tried to execute a new Zone setupwith no luck; I'm receiving
> the following error:
>
> " This DC is being managed by other CloudStack deployment. Cannot add
> this DC to zone."
>
> What could be the problem? Are there any parameters on the VMware
> Virtual Center to remove?
>
> Thanks inadvance,
>
> Gaspare
>


Re: who can explain cpu.overprovisioning.factor more detailed?

2013-09-18 Thread Sean Hamilton
Isn't it down to the MHz described in the service offering. Rather than core 
count?

On 18 Sep 2013, at 20:37, Daan Hoogland  wrote:

> I'm guessing here; I think you can but you'll get an error deploying it.
> 
> 
> On Wed, Sep 18, 2013 at 9:03 PM, Steven Liang  wrote:
>> Thank you for replying.
>> I have another question. If there are only 8 core cpu on every hosts, can I 
>> assign 10 cpu to a vm?
>> 
>> 
>> On 09/18/2013 01:31 PM, Daan Hoogland wrote:
>>> If you have 1G and a factor of 2, you van  instantiate 2 machines with 1G. 
>>> This is useful of you don't expect all machines top be running art 
>>> the dame time.
>>> 
>>> Regards, 
>>> mobile biligual spell checker used
>>> 
>>> Op 18 sep. 2013 17:54 schreef "Steven Liang"  het 
>>> volgende:
 Hi,
 
 What is cpu.overprovisioning.factor use for?
 Who can explain it more detailed?
 Thank you.
 
 -- 
 Steven Liang
 Linux System Admin
 Phone: 1.416.499.8009 ext. 2865
 Cell Phone: 1.647.718.5292
 Email: stevenli...@yesup.com
 www.yesup.com | account.yesup.com
 
 
>> 
>> 
>> -- 
>> Steven Liang
>> Linux System Admin
>> Phone: 1.416.499.8009 ext. 2865
>> Cell Phone: 1.647.718.5292
>> Email: stevenli...@yesup.com
>> www.yesup.com | account.yesup.com
>> 
>> 
> 


Re: AWS interface in CloudStack 4.1.1 with Advanced Networking

2013-09-18 Thread Sean Hamilton
I checked the documentation. AWS interface only supports basic zone. Sorry!


On 18 September 2013 09:46, Sebastien Goasguen  wrote:

>
> On Sep 17, 2013, at 2:54 PM, Richard Chatterton <
> richard.chatter...@contegix.com> wrote:
>
> > Howdy, CloudStack users!
> >
> > I'm wanting to set up the AWS interface in CloudStack 4.1.1 in an
> advanced networking zone. I noticed that section 11.1 of the CloudStack
> installation documents says the following about the AWS interface:
> >
> > "Supported only in zones that use basic networking"
> >
> > As I haven't yet gotten the AWS interface working, I'm curious if this
> is the reason, or if I just have it configured incorrectly. If this
> documentation is accurate, does anyone know of a workaround to get the AWS
> interface working in an advanced network zone in CloudStack 4.1.1, or is
> this a hard limitation in this version of CloudStack? Also, does anyone
> know if later versions of CloudStack are planned to support the AWS
> interface in advanced zones?
> >
> > Thanks for the help!
> >
> > Best,
> > Rich Chatterton
>
> Rich, I believe that the AWS interface is broken in 4.1.1. A patch has
> been submitted and will be in the 4.1.2 release.
>
> It is working though in the 4.2 release (that should come out shortly).
>
> I don't know about advanced zone support, I only ever tested it in basic
> zones.
>
> -sebastien
>
>


Re: 4.2 VMware memory overcommit

2013-09-10 Thread Sean Hamilton
Using the latest build fixed this issue for me. Thank you.


On 10 September 2013 06:48, Harikrishna Patnala <
harikrishna.patn...@citrix.com> wrote:

> Hi,
>
> There was a bug opened on this global parameter vmware.reserve.mem(
> https://issues.apache.org/jira/browse/CLOUDSTACK-4498) and it was fixed.
> Can you please try with latest 4.2.
>
> -Harikrishna
>
> On 23-Aug-2013, at 9:38 PM, Sean Hamilton  wrote:
>
> > Hey guys,
> >
> > I'm playing around with 4.2 and VMware vSphere (version 5.0).
> > We're interested in memory overcommit, but the observed behaviour isn't
> > what I expected.
> >
> > I'm seeing my instances being created in vCenter with a memory
> reservation
> > that is equal to the configured memory. If I then change the overcommit
> > setting to 2.0 I see instances being created with a reservation that is
> > half of the configured memory.
> >
> > There is a global setting of vmware.reserve.mem that is set to false,
> but I
> > don't see it making a difference. I get the same behaviour if it's true
> or
> > false.
> >
> > Can anyone help?
> >
> > Thanks,
> > Sean
>
>


4.2 VMware memory overcommit

2013-08-23 Thread Sean Hamilton
Hey guys,

I'm playing around with 4.2 and VMware vSphere (version 5.0).
We're interested in memory overcommit, but the observed behaviour isn't
what I expected.

I'm seeing my instances being created in vCenter with a memory reservation
that is equal to the configured memory. If I then change the overcommit
setting to 2.0 I see instances being created with a reservation that is
half of the configured memory.

There is a global setting of vmware.reserve.mem that is set to false, but I
don't see it making a difference. I get the same behaviour if it's true or
false.

Can anyone help?

Thanks,
Sean


Re: How can Windows get hostname from dhcp?

2013-08-22 Thread Sean Hamilton
I don't use DHCP for this.
I query the metadata for this:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/user-data-and-meta-data.html


On 22 August 2013 16:27, Netsons > Roberto Iervolino <
r.iervol...@netsons.com> wrote:

>  Hello,
>
>
> for Windows Server 2008r2 and Windows Server 2012, there is a way to get
> the hostname dinamically from the DHCP server?
>
> Thanks in advance.
>
> --
>
>
>
> *Supernova s.r.l.*
> Via G. Misiticoni, 3
> 65126 - Pescara
> ITALY
>
>
> *www.netsons.com* 
> *Roberto Iervolino*
> IT System Administrator - L2 Support
> **
>
> *t. *(+39) 085 45 100 52
> *m. *(+39) 393 85 677 48
> *e. *r.iervol...@netsons.com
>
>
>  [image: View Roberto Iervolino's profile on 
> LinkedIn]
>
> *Netsons® è un marchio registrato dalla Supernova s.r.l.*
>
>  Le informazioni trasmesse sono riservate alla persona o alla società
> indicata come destinatario, e possono includere contenuti considerati
> confidenziali. Ogni elaborazione, comunicazione, trasmissione o altro
> utilizzo, anche azioni conseguenti alla conoscenza di queste informazioni
> da parte di chiunque non sia espressamente indicato come destinatario è
> proibita. Nel caso abbiate ricevuto per errore questa comunicazione, siete
> pregati di darne avviso a info [at] netsons.com ed eliminare ogni stampa
> ed ogni traccia informatica. Il ricevente dovrà inoltre accertarsi che gli
> eventuali allegati non contengano virus prima di aprirli. Qualunque
> opinione o affermazione presentata in questo messaggio è da ritenersi
> propria dell'autore e non rappresenta necessariamente la posizione della
> Società.
>
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential material. Any review,
> retransmission, dissemination or other use of, or taking of any action in
> reliance upon this information by persons or entities other than the
> intended recipient is prohibited. If you received this in error, please
> contact: info [at] netsons.com and delete the material from any computer.
> If this email contains attachments you should ensure they are checked for
> viruses before opening them. Any views or opinions presented are solely
> those of the author and do not necessarily represent those of the company.
>


Re: Network domain option and duplicate instance names

2013-08-19 Thread Sean Hamilton
Thanks for the reply Geoff.
Could you clarify what the Network Domain setting should do at the domain,
zone and physical network level?
Could I set the Network Domain to .local at the domain level?

Cheers,
Sean


On 19 August 2013 12:21, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Sean,
>
> CloudStack let's you create instances with the same name, even in the same
> account, as long as they are on different networks.
>
> I note you want to prevent this across two different zones, but as Zones
> are effectively autonomous, only sharing the management layer, I'm sure
> this will be impossible.
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540> | M: +447968161581
>
> geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com>
> | www.shapeblue.com
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>
> On 19 Aug 2013, at 06:40, "Sean Hamilton"  s...@seanhamilton.co.uk>> wrote:
>
> Hi all,
>
> I'm hoping that you could shed some light onto an issue I've been having.
>
> I have two zones in one region both zones have the same "Network Domain"
> setting of: zone1.local. I thought that this would be enough to stop
> instances with the same name being created in both zones, but it doesn't
> seem to be working.
>
> Has anyone successfully used the Network Domain settings at the network or
> zone level to prevent duplicate instance names?
>
> Thanks,
> Sean
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>


Network domain option and duplicate instance names

2013-08-19 Thread Sean Hamilton
Hi all,

I'm hoping that you could shed some light onto an issue I've been having.

I have two zones in one region both zones have the same "Network Domain"
setting of: zone1.local. I thought that this would be enough to stop
instances with the same name being created in both zones, but it doesn't
seem to be working.

Has anyone successfully used the Network Domain settings at the network or
zone level to prevent duplicate instance names?

Thanks,
Sean


Re: Windows License

2013-08-07 Thread Sean Hamilton
Look at using KMS (key management server) to handle licensing. 

On 7 Aug 2013, at 06:45, Ahmad Emneina  wrote:

> You can probably have a windows license server and floating licenses if
> you're going to go heavy on the windows. You can also look at system center
> from microsoft.
> 
> 
> On Tue, Aug 6, 2013 at 9:57 PM, Kristoffer Sheather @ CloudCentral <
> kristoffer.sheat...@cloudcentral.com.au> wrote:
> 
>> You need to manage them individually.
>> 
>> Regards,
>> 
>> Kristoffer Sheather
>> Cloud Central
>> Scale Your Data Center In The Cloud
>> Phone: 1300 144 007 | Mobile: +61 414 573 130 | Email:
>> k...@cloudcentral.com.au
>> LinkedIn:   | Skype: kristoffer.sheather | Twitter:
>> http://twitter.com/kristofferjon
>> 
>> 
>> From: "Punit Dambiwal" 
>> Sent: Wednesday, August 07, 2013 2:56 PM
>> To: users@cloudstack.apache.org
>> Subject: Windows License
>> 
>> Hi,
>> 
>> I have created 2 windows VM in my cloudas i didn't find any way in
>> cloudstack to manage the windows licenses for guest VMdo i need to
>> manually put the windows license to every VM ???
>> 
>> Thanks
>> Punit
>> 
>> 
>> 


Re: Guest VM password reset - Complexity

2013-08-06 Thread Sean Hamilton
I'd like to see this configurable though. Some users don't like a password
that is too complex.


On 6 August 2013 13:21, Nux!  wrote:

> On 06.08.2013 11:29, Gaspare A Silvestri wrote:
>
>> Hello everybody,
>>
>> is therea way to improve the password complexity when generating a
>> password using the reset guest password script?
>>
>
> +1 for making the password more complex. It needs more characters and
> maybe some symbols, too.
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


Re: Unable to upload ISO for VM installation in

2013-07-19 Thread Sean Hamilton
Sounds silly, but have you tried to download the .iso using your desktop
browser? Just to make sure that it's a valid URL?


On 19 July 2013 11:28, Deepak Yadav  wrote:

>  connection refused !
>
> Status :   Not Ready
>
>
> On Fri, Jul 19, 2013 at 3:56 PM, Sean Hamilton  >wrote:
>
> > Are you using the UI to upload the iso? What message are you seeing for
> the
> > status?
> >
> >
> > On 19 July 2013 11:23, Deepak Yadav  wrote:
> >
> > > Dear Team
> > >
> > >
> > > I am using cloudstack 4.1.
> > > after cloud basic deployment. I  want to upload an iso image.
> > > But fail to  upload!
> > > I feel that is their any limit in cloud stack  for upload size ?
> > > or what is the problem !
> > > please help me out !
> > >
> > >
> > > --
> > > Thanks & Regards
> > > Deepak Yadav
> > >
> >
>
>
>
> --
> Thanks & Regards
> Deepak Yadav | Linux Admin | MothersonSumi INfotech & Designs Limited |
> | Noida - 201301 | Uttar Pradesh | India |  T +91 9889284337 | 9015150337 |
> E  deepak.ya...@mind-infotech.com | www.mind-infotech.com |
>


Re: Unable to upload ISO for VM installation in

2013-07-19 Thread Sean Hamilton
Are you using the UI to upload the iso? What message are you seeing for the
status?


On 19 July 2013 11:23, Deepak Yadav  wrote:

> Dear Team
>
>
> I am using cloudstack 4.1.
> after cloud basic deployment. I  want to upload an iso image.
> But fail to  upload!
> I feel that is their any limit in cloud stack  for upload size ?
> or what is the problem !
> please help me out !
>
>
> --
> Thanks & Regards
> Deepak Yadav
>


Re: Cloudstack password enabled template

2013-06-28 Thread Sean Hamilton
The deployVirtualMachine API is an a-sync job. You'll need to use the ID
returned to use queryAsyncJobResult to get the password.


On 28 June 2013 12:32, Asmita Vagyani wrote:

> The getVMPassword API doesnot return the password.
> If the VM is created using the ssh keypair then we can get password.
>
>
> Regards,
>
> Asmita.
>
>
>
> -Original Message-
> From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
> Sent: 28 June 2013 PM 04:03
> To: users@cloudstack.apache.org
> Subject: RE: Cloudstack password enabled template
>
> Asmita,
>
> Are you adding the Password Reset Script to your Templates, if so then
> each time you create a new VM it will get a randomly generated password.
>
> I believe you can then also use the getVMPassword API call to query the
> existing password, although I have not tested this new 4.1 API command yet.
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: 28 June 2013 11:26
> To: cloudstack-us...@incubator.apache.org
> Subject: Cloudstack password enabled template
>
>
> Hi,
>
> I have some queries related to getting password of VM that is created.
>
> I am using deployVirtualMachine api to create virtual machine from
> templates that I have configured in cloudstack.
>
> When VM is deployed I want to get username and password of the VM to login
> to that VM instance.
> Also I want to generate random password everytime new VM is created using
> the same template.
>
> Can anyone help me with that?
>
>
> Regards,
>
> Asmita.
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>
>


Re: Password Reset Utility on Windows

2013-06-13 Thread Sean Hamilton
It might be that the service was in the stopped state when the image was
created. This has got me a couple of times. You might want to try that one.

Sean


On 13 June 2013 17:17, Geoff Higginbottom
wrote:

> Hi Len,
>
> Not seen this issue, and have rolled out many Windows Sys-prepped
> Templates, are you able to share more information about your workflow for
> creating the template etc
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Len Bellemore [mailto:len.bellem...@controlcircle.com]
> Sent: 13 June 2013 17:11
> To: users@cloudstack.apache.org
> Subject: Password Reset Utility on Windows
>
> Hi Guys,
>
> Anyone used the password reset utility on a Windows server?
>
> It works great if I don't sysprep my servers.  The problem is Windows
> forces you to reset the Administrator password after sysprep runs and I
> think this clashes with the password reset script.
>
> I reset my password at the prompt after my instance boots up, and then the
> next time the server reboots, the password reset utility kicks in and
> resets the password back to the one that is displayed after my instance is
> created.
>
> Anyone seen this?
>
> Thanks
> Len
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>
>


Re: creating ESX instances with the vmxnet3 adapter

2013-05-10 Thread Sean Hamilton
Hi Len,

I specify the adapter type when I upload my template. In Cloudstack 3.0.5
there seems to be a bug in the UI where you have to specify a zone, then
the options for adapter type are visible.

Thanks,
Sean


On 10 May 2013 14:00, Len Bellemore  wrote:

> Hi Guys,
>
> Anyone know how to specify a different network adapter type when creating
> ESX based instances?
>
> By default the vms are being created in my ESX cluster with E1000 adapters
> and what I want is for them to be created with vmxnet3 adapters.
>
> Thanks
> Len
>