RE: How to recreate ssvm & cpvm

2014-07-10 Thread Suresh Sadhu
Before destroying the cpvm and ssvm ,please analyse the logs. May be agent is 
not up.
Also check below 

https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting

regards
sadhu


-Original Message-
From: Suresh Sadhu 
Sent: 11 July 2014 11:59
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: RE: How to recreate ssvm & cpvm

NO it won't impact guet vms .destroy the  ssvm and cpvm , it will recreate 
again and  during that  time you can't create new guest vms.

--sadhu

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com]
Sent: 11 July 2014 11:53
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to recreate ssvm & cpvm

If i recreate ssvm & cpvm, guest vm will be affected?


On Fri, Jul 11, 2014 at 11:50 AM, Tejas Gadaria 
wrote:

> Hi,
>
> Due to power blackout i have to recreate ssvm & cpvm, i am able to 
> deploy new vms also create new template but on System Capacity, & 
> General  Alerts area, latest alerts are not populating.
>
> Also ssvm & cpvm status is 'running' but Agent state is not displayed 
> in Cloudstack UI.
>
> I have production VMs running on ACS. how can i recreate ssvm & cpvm. ?
>
> I am using ACS 4.3 & Xenserver 6.2 SP1
>
> Regards,
> Tejas
>
>
> On Thu, Jul 10, 2014 at 6:30 PM, Tejas Gadaria 
> wrote:
>
>> Hi,
>>
>> I am getting below logs on CS 4.3 on Xenserver 6.2 SP1 i m getting 
>> huge amount of of memory allocated to vms, where it is not actully..
>>
>> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done executing storage capacity update
>> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Executing capacity updates for public 
>> ip and Vlans
>> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done capacity updates for public ip 
>> and Vlans
>> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Executing capacity updates for private 
>> ip
>> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done executing capacity updates for 
>> private ip
>> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done recalculating system capacity
>> 2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Checking if any host 
>> reservation can be released ...
>> 2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Cannot release 
>> reservation, Found 4 VMs Running on
>>
>> host 1
>> 2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Cannot release 
>> reservation, Found 4 VMs Running on
>>
>> host 5
>> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Cannot release 
>> reservation, Found 1 VMs Running on
>>
>> host 6
>> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Done running 
>> HostReservationReleaseChecker ...
>>
>
>


RE: How to recreate ssvm & cpvm

2014-07-10 Thread Suresh Sadhu
NO it won't impact guet vms .destroy the  ssvm and cpvm , it will recreate 
again and  during that  time you can't create new guest vms.

--sadhu

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: 11 July 2014 11:53
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to recreate ssvm & cpvm

If i recreate ssvm & cpvm, guest vm will be affected?


On Fri, Jul 11, 2014 at 11:50 AM, Tejas Gadaria 
wrote:

> Hi,
>
> Due to power blackout i have to recreate ssvm & cpvm, i am able to 
> deploy new vms also create new template but on System Capacity, & 
> General  Alerts area, latest alerts are not populating.
>
> Also ssvm & cpvm status is 'running' but Agent state is not displayed 
> in Cloudstack UI.
>
> I have production VMs running on ACS. how can i recreate ssvm & cpvm. ?
>
> I am using ACS 4.3 & Xenserver 6.2 SP1
>
> Regards,
> Tejas
>
>
> On Thu, Jul 10, 2014 at 6:30 PM, Tejas Gadaria 
> wrote:
>
>> Hi,
>>
>> I am getting below logs on CS 4.3 on Xenserver 6.2 SP1 i m getting 
>> huge amount of of memory allocated to vms, where it is not actully..
>>
>> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done executing storage capacity update
>> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Executing capacity updates for public 
>> ip and Vlans
>> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done capacity updates for public ip 
>> and Vlans
>> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Executing capacity updates for private 
>> ip
>> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done executing capacity updates for 
>> private ip
>> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done recalculating system capacity
>> 2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Checking if any host 
>> reservation can be released ...
>> 2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Cannot release 
>> reservation, Found 4 VMs Running on
>>
>> host 1
>> 2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Cannot release 
>> reservation, Found 4 VMs Running on
>>
>> host 5
>> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Cannot release 
>> reservation, Found 1 VMs Running on
>>
>> host 6
>> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Done running 
>> HostReservationReleaseChecker ...
>>
>
>


How to recreate ssvm & cpvm

2014-07-10 Thread Tejas Gadaria
If i recreate ssvm & cpvm, guest vm will be affected?


On Fri, Jul 11, 2014 at 11:50 AM, Tejas Gadaria 
wrote:

> Hi,
>
> Due to power blackout i have to recreate ssvm & cpvm, i am able to deploy
> new vms also create new template but on System Capacity, & General  Alerts
> area, latest alerts are not populating.
>
> Also ssvm & cpvm status is 'running' but Agent state is not displayed in
> Cloudstack UI.
>
> I have production VMs running on ACS. how can i recreate ssvm & cpvm. ?
>
> I am using ACS 4.3 & Xenserver 6.2 SP1
>
> Regards,
> Tejas
>
>
> On Thu, Jul 10, 2014 at 6:30 PM, Tejas Gadaria 
> wrote:
>
>> Hi,
>>
>> I am getting below logs on CS 4.3 on Xenserver 6.2 SP1
>> i m getting huge amount of of memory allocated to vms, where it is not
>> actully..
>>
>> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done executing storage capacity update
>> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Executing capacity updates for public ip and
>> Vlans
>> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done capacity updates for public ip and Vlans
>> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Executing capacity updates for private ip
>> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done executing capacity updates for private
>> ip
>> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-d205d3de) Done recalculating system capacity
>> 2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Checking if any host
>> reservation can be released ...
>> 2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation,
>> Found 4 VMs Running on
>>
>> host 1
>> 2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation,
>> Found 4 VMs Running on
>>
>> host 5
>> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation,
>> Found 1 VMs Running on
>>
>> host 6
>> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (HostReservationReleaseChecker:ctx-0828f975) Done running
>> HostReservationReleaseChecker ...
>>
>
>


Re: Cannot release reservation

2014-07-10 Thread Tejas Gadaria
Hi,

Due to power blackout i have to recreate ssvm & cpvm, i am able to deploy
new vms also create new template but on System Capacity, & General  Alerts
area, latest alerts are not populating.

Also ssvm & cpvm status is 'running' but Agent state is not displayed in
Cloudstack UI.

I have production VMs running on ACS. how can i recreate ssvm & cpvm. ?

I am using ACS 4.3 & Xenserver 6.2 SP1

Regards,
Tejas


On Thu, Jul 10, 2014 at 6:30 PM, Tejas Gadaria 
wrote:

> Hi,
>
> I am getting below logs on CS 4.3 on Xenserver 6.2 SP1
> i m getting huge amount of of memory allocated to vms, where it is not
> actully..
>
> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
> (CapacityChecker:ctx-d205d3de) Done executing storage capacity update
> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
> (CapacityChecker:ctx-d205d3de) Executing capacity updates for public ip and
> Vlans
> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
> (CapacityChecker:ctx-d205d3de) Done capacity updates for public ip and Vlans
> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
> (CapacityChecker:ctx-d205d3de) Executing capacity updates for private ip
> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
> (CapacityChecker:ctx-d205d3de) Done executing capacity updates for private
> ip
> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
> (CapacityChecker:ctx-d205d3de) Done recalculating system capacity
> 2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (HostReservationReleaseChecker:ctx-0828f975) Checking if any host
> reservation can be released ...
> 2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation,
> Found 4 VMs Running on
>
> host 1
> 2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation,
> Found 4 VMs Running on
>
> host 5
> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation,
> Found 1 VMs Running on
>
> host 6
> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (HostReservationReleaseChecker:ctx-0828f975) Done running
> HostReservationReleaseChecker ...
>


Re: Windows Template Question

2014-07-10 Thread Kirk Kosinski
Hi, John.  The delay is probably due to the devices being re-detected.
This step is likely unnecessary so try enabling PersistAllDeviceInstalls
[1] in your XML to skip it.  Let us know how it goes.

Best regards,
Kirk

[1] http://technet.microsoft.com/en-us/library/cc722095%28WS.10%29.aspx

On 07/10/2014 08:38 AM, John Muckley wrote:
> I did indeed Sysprep it, yes.
> I sysprep with /oobe /generalize /shutdown and /unattend
> 
> 
> 
> 
> -Original Message-
> From: Timothy Lothering [mailto:tlother...@datacentrix.co.za]
> Sent: 10 July 2014 12:57
> To: users@cloudstack.apache.org
> Subject: RE: Windows Template Question
> 
> Hi John,
> 
> Did you sysprep the VM template?
> 
> Kind Regards,
> 
> Timothy Lothering
> 
> -Original Message-
> From: John Muckley [mailto:j.muck...@databax.com]
> Sent: 10 July 2014 01:31 PM
> To: users@cloudstack.apache.org
> Subject: Windows Template Question
> 
> Hello Chaps,
> 
> I have a question that nobody seems to be able to answer for me, so I thought 
> I’d try my luck with you guys.
> 
> When I first deployed our CloudStack and captured a windows template, the 
> resulting windows VMs would take about 2 minutes from being requested to 
> being deployed and up. The problem here was that windows prompted for a 
> product key prior to displaying the logon screen and wouldn’t allow logon 
> (either local or remote) until that was entered.
> 
> Naturally I applied an unattend.xml (pasted Below) to put the product key in 
> automatically which solved the problem and made everything work perfectly, 
> however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 
> minutes… most of which is a black screen with ‘Preparing your computer for 
> first use’ on it.
> 
> I realise that 12 minutes isn’t a bad time from request to being online and 
> ready, however It would be brilliant if I could get this back down to the 
> couple of minutes it was originally.
> 
> Any thoughts?
> 
> Thanks guys!!
> 
> 
> UNATTEND.XML:
> 
> 
> 
> 
>  language="neutral" versionScope="nonSxS" processorArchitecture="amd64"> 
>  true DBXCloud 
> DBX 
> X-X-X-X-X
> 
> 
> 
> 
>  processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" 
> language="neutral" versionScope="nonSxS" 
> xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> en-UK
> en-UK
> en-UK
> en-UK
> 
>  publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" 
> xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
> true
> true
> Work
> 
> 
> 
> 
> 
> 
> 
> 
> 
> This is an e-mail from Databax Ltd (Company No.04085248). The contents of 
> this e-mail are confidential. Databax Ltd does not accept responsibility for 
> the accuracy or completeness of the contents of this e-mail as it has been 
> transmitted over a public network.  If you receive this e-mail in error 
> please accept our apology. If this is the case we would be obliged if you 
> would contact the sender and then delete this e-mail. This e-mail and/or any 
> replies to it, and any attachments may be intercepted, copied or monitored by 
> Databax Ltd for the purpose of monitoring or keeping record of its business 
> and for the purposes set out in the Telecommunications (Lawful Business 
> Practices) (Interception of Communications) Regulations 2000. All statements 
> made in this e-mail are subject to contract. The contents are not to be 
> regarded as a contractual offer or acceptance. The sender is not authorised 
> to bind Databax Ltd. The views expressed in this e-mail are those of the 
> sender and not necessari
ly those of  Databax Ltd.
> Feel free to visit the Databax web site at 
> www.databax.com  to find out about our range of 
> products and services, and for the latest Databax news and information.
> 
> <
> 
>> Please consider the environment before printing this email.
> Timothy Lothering
> Solutions Architect
> Managed Services
> 
> T: +27877415535
> F: +27877415100
> C: +27824904099
> E: tlother...@datacentrix.co.za
> 
> 
> DISCLAIMER NOTICE:
> 
> Everything in this e-mail and any attachments relating to the official 
> business of Datacentrix Holdings Ltd. and its subsidiaries
> ('Datacentrix') is proprietary to Datacentrix. It is confidential, legally 
> privileged and protected by law. Datacentrix does not own and endorse any 
> other content. Views and opinions are those of the sender unless clearly 
> stated as being that of Datacentrix.
> The person addressed in the e-mail is the sole authorised recipient. Please 
> notify the sender immediately if it has unintentionally reached you and do 
> not read, disclose or use the content in any way. Datacentrix cannot assure 
> that the integrity of this communication has been maintained nor that it is 
> free of errors, virus, interception or interferen

Re: Help with CloudStack using Local Storage

2014-07-10 Thread Harikrishna Patnala

Download vhd-util @ http://download.cloud.com.s3.amazonaws.com/tools/vhd-util, 
copy to /opt/xensource/bin and /opt/cloud/bin on XenServer and give executable 
permissions(a+x).

-Harikrishna
 
On 11-Jul-2014, at 1:29 am, Hollman Enciso R.  wrote:

> On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom <
> geoff.higginbot...@shapeblue.com> wrote:
> 
>> Hollman,
>> 
>> When creating the zone, simply select the local storage option, cloudstack
>> will then use the local storage on the Hosts
>> 
> 
> I've never seen this option on the first step of the zone configuration.
> thank you.
> 
> Y start my zone but it's not work.
> 
> This it's the log if someone can help me
> http://paste.algolibre.com/113
> 
> I identify some errors but i don't understand so much :
> 
> can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33
> 
> [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:
> 
> Exception while trying to start console proxy
> Exception while trying to start secondary storage vm
> 
> Unable to acquire lock on VMTemplateStoragePool 7
> 
> any idea ?
> 
> thank for your help
> 
> -- 
> Hollman Eduardo Enciso R.
> http://algolibre.com
> @hollman



RE: Help with CloudStack using Local Storage

2014-07-10 Thread Suresh Sadhu
Does your xen host has vhd-utill  in right location ?

It seems its unable to access  your storage, this kind of error were noticed 
earlier when vhd-util is not exists in right location.


Also for localstorage: 

You need enable the flag  during zone creation and  also set the global 
configuration parameters as mentioned by Geoff earlier.




Regards
sadhu



-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: 11 July 2014 01:35
To: users@cloudstack.apache.org
Subject: RE: Help with CloudStack using Local Storage

Are you seeing anything getting created on local storage, logs look like they 
are reporting problems locking the storage

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Hollman Enciso R. [mailto:hollman.enc...@gmail.com]
Sent: 10 July 2014 20:59
To: users@cloudstack.apache.org
Subject: Re: Help with CloudStack using Local Storage

On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom < 
geoff.higginbot...@shapeblue.com> wrote:

> Hollman,
>
> When creating the zone, simply select the local storage option, 
> cloudstack will then use the local storage on the Hosts
>

I've never seen this option on the first step of the zone configuration.
thank you.

Y start my zone but it's not work.

This it's the log if someone can help me
http://paste.algolibre.com/113

I identify some errors but i don't understand so much :

can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33

[StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:

Exception while trying to start console proxy Exception while trying to start 
secondary storage vm

Unable to acquire lock on VMTemplateStoragePool 7

any idea ?

thank for your help

--
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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.


Re: VMware Datastore Question

2014-07-10 Thread Kirk Kosinski
Hi, yes, all you need to do is add each datastore as a primary storage
in CloudStack.

Best regards,
Kirk

On 07/10/2014 08:35 PM, Jeff Barnett wrote:
> I am planning on adding a zone that is supported by VMware, I was wondering 
> if I should stick with what I normally do in my VMware clusters that is to 
> have datastores that are no larger than 2 TB, but the question I had with 
> that is how does Cloudstack tell the VMware cluster to create the instance on 
> different datastores, is it as simple as adding a primary storage for each of 
> the datastores?
>
>
>



VMware Datastore Question

2014-07-10 Thread Jeff Barnett
I am planning on adding a zone that is supported by VMware, I was wondering if 
I should stick with what I normally do in my VMware clusters that is to have 
datastores that are no larger than 2 TB, but the question I had with that is 
how does Cloudstack tell the VMware cluster to create the instance on different 
datastores, is it as simple as adding a primary storage for each of the 
datastores?




Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 3:43 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Check the settings for the NFS on the Secondary Storage Server, make sure
> you have used rw,async,no_root_squash etc


yes.

I mounted the nfs under XenServer and works ok

root@XSELNLAB01 ~]# mount -t nfs 10.0.50.11:/secondary/secondary
/mnt/testsec/
[root@XSELNLAB01 ~]# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda1 4.0G  1.9G  1.9G  51% /
none  373M   28K  373M   1% /dev/shm
/opt/xensource/packages/iso/XenCenter.iso
   52M   52M 0 100% /var/xen/xc-install
10.0.50.11:/secondary/secondary
  144G  2.7G  134G   2% /mnt/testsec


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Ubuntu 12.04 LTS going to be unsupported

2014-07-10 Thread Erik Weber
On Thu, Jul 10, 2014 at 11:20 PM, Erdősi Péter  wrote:

> Dear,
>
> I saw the new 14.04 LTS Ubuntu is coming, and 12.04 will not be supported
> anymore.
> I checked the repository, but just precise directory was there.
> Are there anybody have information about Trusty support? (4.2 for me)
>
>

What do you mean 'not supported'? By Canonical / Ubuntu, or by
Apache/CloudStack?

Canonical / Ubuntu plan to support 12.04 until late 2017.

-- 
Erik


Ubuntu 12.04 LTS going to be unsupported

2014-07-10 Thread Erdősi Péter

Dear,

I saw the new 14.04 LTS Ubuntu is coming, and 12.04 will not be 
supported anymore.

I checked the repository, but just precise directory was there.
Are there anybody have information about Trusty support? (4.2 for me)

Thanks,
 Peter


Re: Cloud Stack 1TB volumes limitation

2014-07-10 Thread Mathias Mullins
Amin, 

Go in to Global Settings -> storage.max.volume.size and reset it above
1024. 

Thanks,
Matt Mullins
Cloud Architect
Americas Cloud Consulting ­ Citrix System, Inc.
+1 (407) 920-1107 ­ Office/Cell Phone
matt.mull...@citrix.com






On 7/4/14, 2:16 AM, "Amin Samir"  wrote:

>Hello,
>
> 
>Has anyone know a workaround for the 1TB limitations in volumes?
>
> 
>Kind Regards
>
>Amin
>



RE: Help with CloudStack using Local Storage

2014-07-10 Thread Geoff Higginbottom
Check the settings for the NFS on the Secondary Storage Server, make sure you 
have used rw,async,no_root_squash etc

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Hollman Enciso R. [mailto:hollman.enc...@gmail.com]
Sent: 10 July 2014 21:12
To: users@cloudstack.apache.org
Subject: Re: Help with CloudStack using Local Storage

On Thu, Jul 10, 2014 at 3:04 PM, Geoff Higginbottom < 
geoff.higginbot...@shapeblue.com> wrote:

> Are you seeing anything getting created on local storage, logs look
> like they are reporting problems locking the storage


on the XenServer i found the /var/log/cloud/vmops.log file

http://paste.algolibre.com/114

error copying from the Secondary Storage to the Primary Storage (XenServer) ?

--
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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.


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 3:04 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Are you seeing anything getting created on local storage, logs look like
> they are reporting problems locking the storage


on the XenServer i found the /var/log/cloud/vmops.log file

http://paste.algolibre.com/114

error copying from the Secondary Storage to the Primary Storage (XenServer)
?

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 2:59 PM, Hollman Enciso R.  wrote:

> On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom <
> geoff.higginbot...@shapeblue.com> wrote:
>
>> Hollman,
>>
>> When creating the zone, simply select the local storage option,
>> cloudstack will then use the local storage on the Hosts
>>
>
> I've never seen this option on the first step of the zone configuration.
> thank you.
>
> Y start my zone but it's not work.
>
> This it's the log if someone can help me
> http://paste.algolibre.com/113
>
> I identify some errors but i don't understand so much :
>
> can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33
>
> [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:
>
> Exception while trying to start console proxy
> Exception while trying to start secondary storage vm
>
> Unable to acquire lock on VMTemplateStoragePool 7
>
> any idea ?
>
> thank for your help
>

The storage status on the management Server UI

NameXSELNLAB01 Local StorageID24d0e050-be32-f31a-aa93-0d6ce17d2d33
StateUpStorage
Tags
ZoneCompuDev PodDevClusterXSELNLAB01TypeLVM IP Address10.0.8.20PathlvmDisk
Total224.88 GB Disk Allocated
IOPS Total

NamesecondaryURLnfs://10.0.50.11/secondary/secondary ProtocolnfsProviderNFS
ScopeZONE ZonecompuDevDetails
ID326316e2-d734-4ecb-97c5-b64ab6933357


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


RE: Help with CloudStack using Local Storage

2014-07-10 Thread Geoff Higginbottom
Are you seeing anything getting created on local storage, logs look like they 
are reporting problems locking the storage

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Hollman Enciso R. [mailto:hollman.enc...@gmail.com]
Sent: 10 July 2014 20:59
To: users@cloudstack.apache.org
Subject: Re: Help with CloudStack using Local Storage

On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom < 
geoff.higginbot...@shapeblue.com> wrote:

> Hollman,
>
> When creating the zone, simply select the local storage option,
> cloudstack will then use the local storage on the Hosts
>

I've never seen this option on the first step of the zone configuration.
thank you.

Y start my zone but it's not work.

This it's the log if someone can help me
http://paste.algolibre.com/113

I identify some errors but i don't understand so much :

can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33

[StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:

Exception while trying to start console proxy Exception while trying to start 
secondary storage vm

Unable to acquire lock on VMTemplateStoragePool 7

any idea ?

thank for your help

--
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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.


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Hollman,
>
> When creating the zone, simply select the local storage option, cloudstack
> will then use the local storage on the Hosts
>

I've never seen this option on the first step of the zone configuration.
thank you.

Y start my zone but it's not work.

This it's the log if someone can help me
http://paste.algolibre.com/113

I identify some errors but i don't understand so much :

can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33

[StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:

Exception while trying to start console proxy
Exception while trying to start secondary storage vm

Unable to acquire lock on VMTemplateStoragePool 7

any idea ?

thank for your help

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


RE: Windows Template Question

2014-07-10 Thread Geoff Higginbottom
Whilst ilya is right that windows post sysprep time are not technically 
anything to do with CloudStack, if you are experiencing very slow boot times it 
could be a sign of general poor performance somewhere in the 
hypervisor/network/storage stack.

On a very modest test system my windows VMs deploy from a sys prep template in 
circa 6 mins, and after that boot from cold and log into to a desktop in a 
little over 1 minute.

On production grade hardware the initial deployment should only take a couple 
of minutes at most, and then cold starts should be circa 30 secs.

Here are my observed timings on a very low spec test lab:

After approx 1 min simple text message "setup is updating registry"
Then Setup is starting services with glowing bar below
2 mins 30 "setup is applying system settings"
2 mins 45 "setup will continue after restarting your computer"
4 mins (after a reboot) "setup is preparing your computer for first use"
4 Mins 30 - Prompt to accepts terms (we can automate this but this template 
forces the user to accept)  - windows is finalizing your settings
6 mins - logged in and fully activated

Windows is capable of consuming thousands of IOPS during its boot phase, this 
is why modern laptops with SSDs boot in around 10 secs, but if you are limiting 
your VMs to have only 50 IOPS available to them then expect 10+ minute boot 
times.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
Sent: 10 July 2014 19:42
To: users@cloudstack.apache.org
Subject: Re: Windows Template Question

I'm with Lucian, this is general windows issue - you cant do anything faster.

Sysprep will take what it takes and its nothing to do with CloudStack.

Unless you don't have windows AD - and dont care about unique SIDs, then you 
could just clone windows VMs as is, but you should not have any uniformed 
management system that cares about SIDs.



On 7/10/14, 11:55 AM, Nux! wrote:
> Hi,
>
> That is just normal behaviour with sysprepped Windows. You can't speed this 
> process much. My templates exhibit the same issue.
> If you don't sysprep the templates, you'll end up with other (more serious) 
> problems.
> Yes, Windows sucks. :-)
>
> HTH
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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.


RE: Help with CloudStack using Local Storage

2014-07-10 Thread Geoff Higginbottom
Hollman,

When creating the zone, simply select the local storage option, cloudstack will 
then use the local storage on the Hosts.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Hollman Enciso R. [mailto:hollman.enc...@gmail.com]
Sent: 10 July 2014 19:55
To: users@cloudstack.apache.org
Subject: Re: Help with CloudStack using Local Storage

On Thu, Jul 10, 2014 at 1:40 PM, Ian Duffy  wrote:

> > I changed the option in global settings system.vm.use.local.storage
> > to true.
>
> Good, did you restart the management server after you did this?
>

Yeap.


>
> > How can I define that the Secondary Storage VM and the Console Proxy
> > use this service offering?
> >
>
> No need to do this. The secondary storage vm and console proxy vm will
> go of the global setting option.


Really sure ? :P

ok, so i will start to configure the zone.

the last question:

Configuring the primary storage on the zone i have to choose preSetup and put 
the Name of the Local Storage displayed on XenCenter (i'm using XenServer 6.2 )?


--
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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.


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 1:40 PM, Ian Duffy  wrote:

> > I changed the option in global settings system.vm.use.local.storage to
> > true.
>
> Good, did you restart the management server after you did this?
>

Yeap.


>
> > How can I define that the Secondary Storage VM and the Console Proxy use
> > this service
> > offering?
> >
>
> No need to do this. The secondary storage vm and console proxy vm will go
> of the global setting option.


Really sure ? :P

ok, so i will start to configure the zone.

the last question:

Configuring the primary storage on the zone i have to choose preSetup and
put the Name of the Local Storage displayed on XenCenter (i'm using
XenServer 6.2 )?


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Windows Template Question

2014-07-10 Thread ilya musayev
I'm with Lucian, this is general windows issue - you cant do anything 
faster.


Sysprep will take what it takes and its nothing to do with CloudStack.

Unless you don't have windows AD - and dont care about unique SIDs, then 
you could just clone windows VMs as is, but you should not have any 
uniformed management system that cares about SIDs.




On 7/10/14, 11:55 AM, Nux! wrote:

Hi,

That is just normal behaviour with sysprepped Windows. You can't speed this 
process much. My templates exhibit the same issue.
If you don't sysprep the templates, you'll end up with other (more serious) 
problems.
Yes, Windows sucks. :-)

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro





Re: Help with CloudStack using Local Storage

2014-07-10 Thread Ian Duffy
>
> I changed the option in global settings system.vm.use.local.storage to
> true.
>

Good, did you restart the management server after you did this?



> How can I define that the Secondary Storage VM and the Console Proxy use
> this service
> offering?
>

No need to do this. The secondary storage vm and console proxy vm will go
of the global setting option.


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 11:54 AM, Ian Duffy  wrote:

> Hi Hollman,
>
> To bring up your system vms on a hypervisor with primary storage supplied
> by local storage you will need to change the Global settings option
> for system.vm.use.local.storage to be true.
>
> You will need to create new service offerings and disk offerings as
> required to enable local storage to be used on user brought up vms.
>
> Hope this helps
>

Thanks for answer.


I changed the option in global settings system.vm.use.local.storage to true.

Now. the system offering System Offering For Secondary Storage VM and
System Offering For Console Proxy said that the Storage Type are local
But. they use the Small instance Compute offering that are shared storage
type and it's impossible to change it.

So. i created a new service offering with local storage. but now. How can I
define that the Secondary Storage VM and the Console Proxy use this service
offering?

In general. how can I change the default service offering for this VMM's ?


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


RE: Windows Template Question

2014-07-10 Thread Geoff Higginbottom
John,

I've just spun up a Windows 2008 R2 Web Edition VM in my lab to test this for 
you.  The Template was sysprepped has an unattend answer file, cloudstack 
password reset package etc.

My test rig is NOT enterprise grade hardware so I do not expect great 
performance, however I can login to the instance within 6 mins (I would expect 
this be only a few minutes on decent Kit, but it all depends on the Storage 
IOPs).   Furthermore, we make the VM auto activate on first boot so when the 
user logs in, there are no activation messages, as well as run a number of post 
boot scripts to clean up all the unattend settings.

I noted down the various boot messages and their times:

After approx 1 min simple text message "setup is updating registry"
Then Setup is starting services with glowing bar below
2 mins 30 "setup is applying system settings"
2 mins 45 "setup will continue after restarting your computer"
4 mins (after a reboot) "setup is preparing your computer for first use"
4 Mins 30 - Prompt to accepts terms (we can automate this but this templates 
forces the user to accept)  - windows is finalizing your settings
6 mins - logged in and fully activated

Looking at you unattend.xml it has a number of differences to mine, and 
includes what I believe are invalid settings such as the locales etc.  Mine are 
set to en-GB with the exception of  which has to be set to en-US 
(at least it did last time I researched this)

Here is a sample unattend.xml, try this to see if improves things and let me 
know how you get on.




http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
en-GB
en-GB
en-US
en-US
en-GB



http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>


OnError
----





http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
true





Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: John Muckley [mailto:j.muck...@databax.com]
Sent: 10 July 2014 16:38
To: users@cloudstack.apache.org
Subject: RE: Windows Template Question

I did indeed Sysprep it, yes.
I sysprep with /oobe /generalize /shutdown and /unattend




-Original Message-
From: Timothy Lothering [mailto:tlother...@datacentrix.co.za]
Sent: 10 July 2014 12:57
To: users@cloudstack.apache.org
Subject: RE: Windows Template Question

Hi John,

Did you sysprep the VM template?

Kind Regards,

Timothy Lothering

-Original Message-
From: John Muckley [mailto:j.muck...@databax.com]
Sent: 10 July 2014 01:31 PM
To: users@cloudstack.apache.org
Subject: Windows Template Question

Hello Chaps,

I have a question that nobody seems to be able to answer for me, so I thought 
I’d try my luck with you guys.

When I first deployed our CloudStack and captured a windows template, the 
resulting windows VMs would take about 2 minutes from being requested to being 
deployed and up. The problem here was that windows prompted for a product key 
prior to displaying the logon screen and wouldn’t allow logon (either local or 
remote) until that was entered.

Naturally I applied an unattend.xml (pasted Below) to put the product key in 
automatically which solved the problem and made everything work perfectly, 
however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 minutes… 
most of which is a black screen with ‘Preparing your computer for first use’ on 
it.

I realise that 12 minutes isn’t a bad time from request to being online and 
ready, however It would be brilliant if I could get this back down to the 
couple of minutes it was originally.

Any thoughts?

Thanks guys!!


UNATTEND.XML:




 
 true DBXCloud 
DBX 
X-X-X-X-X




http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
en-UK
en-UK
en-UK
en-UK

http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

true
true
Work









This is an e-mail from Databax Ltd (Company No.04085248). The contents of this 
e-mail are confidential. Databax Ltd does not accept responsibility for the 
accuracy or completeness of the contents of this e-mail as it has been 
transmitted over a public network.  If you receive this e-mail in error please 
accept our apology. If this is the case we would be obliged if you would 
contact the sender and then delete this e-mail. This e-mail and/or any replies 
to it, and any attachments may be intercepted, copied or monitored by Databax 
Ltd for the purpose of monitoring or keep

Re: Help with CloudStack using Local Storage

2014-07-10 Thread Ian Duffy
Hi Hollman,

To bring up your system vms on a hypervisor with primary storage supplied
by local storage you will need to change the Global settings option
for system.vm.use.local.storage to be true.

You will need to create new service offerings and disk offerings as
required to enable local storage to be used on user brought up vms.

Hope this helps,

Ian


On 10 July 2014 17:42, Hollman Enciso R.  wrote:

> Hello all.
>
> I need to install a new instance of cloudstack for my developers. So I have
> a small infrastructure (1 hypervisor and 2 VM (nfs and management server))
>
> I installed the management server and deployed the zone ok using primary
> and secondary storage on the same VM (NFS) but i haven't enought memory.
> so. i wanna know how can i deploy my zone using the local storage of the
> hypervisor as a primary storage to run the proxy, SSVM and the client
> instances?
>
> Any reference or manual?
>
> thanks a lot
>
> --
> Hollman Eduardo Enciso R.
> http://algolibre.com
> @hollman
>


Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
Hello all.

I need to install a new instance of cloudstack for my developers. So I have
a small infrastructure (1 hypervisor and 2 VM (nfs and management server))

I installed the management server and deployed the zone ok using primary
and secondary storage on the same VM (NFS) but i haven't enought memory.
so. i wanna know how can i deploy my zone using the local storage of the
hypervisor as a primary storage to run the proxy, SSVM and the client
instances?

Any reference or manual?

thanks a lot

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: force to install template

2014-07-10 Thread Hollman Enciso R.
On Wed, Jul 9, 2014 at 6:45 PM, Nux!  wrote:

> Hi,
>
> Has rebooting the Secondary Storage VM accomplished anything?
>

yes.

it works just restarting the SSVM

thanks


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Windows Template Question

2014-07-10 Thread Nux!
Hi,

That is just normal behaviour with sysprepped Windows. You can't speed this 
process much. My templates exhibit the same issue.
If you don't sysprep the templates, you'll end up with other (more serious) 
problems.
Yes, Windows sucks. :-)

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



RE: Windows Template Question

2014-07-10 Thread John Muckley
I did indeed Sysprep it, yes.
I sysprep with /oobe /generalize /shutdown and /unattend




-Original Message-
From: Timothy Lothering [mailto:tlother...@datacentrix.co.za]
Sent: 10 July 2014 12:57
To: users@cloudstack.apache.org
Subject: RE: Windows Template Question

Hi John,

Did you sysprep the VM template?

Kind Regards,

Timothy Lothering

-Original Message-
From: John Muckley [mailto:j.muck...@databax.com]
Sent: 10 July 2014 01:31 PM
To: users@cloudstack.apache.org
Subject: Windows Template Question

Hello Chaps,

I have a question that nobody seems to be able to answer for me, so I thought 
I’d try my luck with you guys.

When I first deployed our CloudStack and captured a windows template, the 
resulting windows VMs would take about 2 minutes from being requested to being 
deployed and up. The problem here was that windows prompted for a product key 
prior to displaying the logon screen and wouldn’t allow logon (either local or 
remote) until that was entered.

Naturally I applied an unattend.xml (pasted Below) to put the product key in 
automatically which solved the problem and made everything work perfectly, 
however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 minutes… 
most of which is a black screen with ‘Preparing your computer for first use’ on 
it.

I realise that 12 minutes isn’t a bad time from request to being online and 
ready, however It would be brilliant if I could get this back down to the 
couple of minutes it was originally.

Any thoughts?

Thanks guys!!


UNATTEND.XML:




 
 true DBXCloud 
DBX 
X-X-X-X-X




http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
en-UK
en-UK
en-UK
en-UK

http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

true
true
Work









This is an e-mail from Databax Ltd (Company No.04085248). The contents of this 
e-mail are confidential. Databax Ltd does not accept responsibility for the 
accuracy or completeness of the contents of this e-mail as it has been 
transmitted over a public network.  If you receive this e-mail in error please 
accept our apology. If this is the case we would be obliged if you would 
contact the sender and then delete this e-mail. This e-mail and/or any replies 
to it, and any attachments may be intercepted, copied or monitored by Databax 
Ltd for the purpose of monitoring or keeping record of its business and for the 
purposes set out in the Telecommunications (Lawful Business Practices) 
(Interception of Communications) Regulations 2000. All statements made in this 
e-mail are subject to contract. The contents are not to be regarded as a 
contractual offer or acceptance. The sender is not authorised to bind Databax 
Ltd. The views expressed in this e-mail are those of the sender and not 
necessarily those of  Databax Ltd.
Feel free to visit the Databax web site at 
www.databax.com  to find out about our range of 
products and services, and for the latest Databax news and information.

<

>Please consider the environment before printing this email.
Timothy Lothering
Solutions Architect
Managed Services

T: +27877415535
F: +27877415100
C: +27824904099
E: tlother...@datacentrix.co.za


DISCLAIMER NOTICE:

Everything in this e-mail and any attachments relating to the official business 
of Datacentrix Holdings Ltd. and its subsidiaries
('Datacentrix') is proprietary to Datacentrix. It is confidential, legally 
privileged and protected by law. Datacentrix does not own and endorse any other 
content. Views and opinions are those of the sender unless clearly stated as 
being that of Datacentrix.
The person addressed in the e-mail is the sole authorised recipient. Please 
notify the sender immediately if it has unintentionally reached you and do not 
read, disclose or use the content in any way. Datacentrix cannot assure that 
the integrity of this communication has been maintained nor that it is free of 
errors, virus, interception or interference

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
__



This is an e-mail from Databax Ltd (Company No.04085248). The contents of this 
e-mail are confidential. Databax Ltd does not accept responsibility for the 
accuracy or completeness of the contents of this e-mail as it has been 
transmitted over a public network.  If you receive this e-mail in error please 
accept our apology. If this is the case we would be obliged if you would 
contact the sender and then delete this e-mail. This e-mail and/or any replies 
to it, and any attachments may be intercepted, copied or monitored by Databax 
Ltd for the purpose of 

Fwd: Citrix Webinar - July 17

2014-07-10 Thread Amy Lindberg
Citrix and Appcore are hosting a webinar on July 17. We would like to
invite all of you to attend and to share through your network. During the
webinar we will be comparing Citrix CloudPlatform to others in the market
as well as discussing common pitfalls of deploying a service provider
cloud.

Here is the link for more details:
http://www.citrix.com/cms/ready/citrix-ready-webinar-appcore/?pcode=acs

Thank you,

*Amy Lindberg*
Director of Operations

Office +1.800.735.7104  |  Direct +1.515.612.7792
Mobile +1.515.250.7003 |  www.appcore.com
--

The information in this message is intended for the named recipients only.
It may contain information that is privileged, confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or the taking
of any action in reliance on the contents of this message is strictly
prohibited. If you have received this e-mail in error, do not print it or
disseminate it or its contents. In such event, please notify the sender by
return e-mail and delete the e-mail file immediately thereafter. Thank you.


Cannot release reservation

2014-07-10 Thread Tejas Gadaria
Hi,

I am getting below logs on CS 4.3 on Xenserver 6.2 SP1
i m getting huge amount of of memory allocated to vms, where it is not
actully..

2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
(CapacityChecker:ctx-d205d3de) Done executing storage capacity update
2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl]
(CapacityChecker:ctx-d205d3de) Executing capacity updates for public ip and
Vlans
2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
(CapacityChecker:ctx-d205d3de) Done capacity updates for public ip and Vlans
2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl]
(CapacityChecker:ctx-d205d3de) Executing capacity updates for private ip
2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
(CapacityChecker:ctx-d205d3de) Done executing capacity updates for private
ip
2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl]
(CapacityChecker:ctx-d205d3de) Done recalculating system capacity
2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(HostReservationReleaseChecker:ctx-0828f975) Checking if any host
reservation can be released ...
2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation,
Found 4 VMs Running on

host 1
2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation,
Found 4 VMs Running on

host 5
2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation,
Found 1 VMs Running on

host 6
2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(HostReservationReleaseChecker:ctx-0828f975) Done running
HostReservationReleaseChecker ...


RE: Windows Template Question

2014-07-10 Thread Timothy Lothering
Hi John,

Did you sysprep the VM template?

Kind Regards,

Timothy Lothering

-Original Message-
From: John Muckley [mailto:j.muck...@databax.com] 
Sent: 10 July 2014 01:31 PM
To: users@cloudstack.apache.org
Subject: Windows Template Question

Hello Chaps,

I have a question that nobody seems to be able to answer for me, so I thought 
I’d try my luck with you guys.

When I first deployed our CloudStack and captured a windows template, the 
resulting windows VMs would take about 2 minutes from being requested to being 
deployed and up. The problem here was that windows prompted for a product key 
prior to displaying the logon screen and wouldn’t allow logon (either local or 
remote) until that was entered.

Naturally I applied an unattend.xml (pasted Below) to put the product key in 
automatically which solved the problem and made everything work perfectly, 
however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 minutes… 
most of which is a black screen with ‘Preparing your computer for first use’ on 
it.

I realise that 12 minutes isn’t a bad time from request to being online and 
ready, however It would be brilliant if I could get this back down to the 
couple of minutes it was originally.

Any thoughts?

Thanks guys!!


UNATTEND.XML:




 
 true DBXCloud 
DBX 
X-X-X-X-X




http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
en-UK
en-UK
en-UK
en-UK

http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

true
true
Work









This is an e-mail from Databax Ltd (Company No.04085248). The contents of this 
e-mail are confidential. Databax Ltd does not accept responsibility for the 
accuracy or completeness of the contents of this e-mail as it has been 
transmitted over a public network.  If you receive this e-mail in error please 
accept our apology. If this is the case we would be obliged if you would 
contact the sender and then delete this e-mail. This e-mail and/or any replies 
to it, and any attachments may be intercepted, copied or monitored by Databax 
Ltd for the purpose of monitoring or keeping record of its business and for the 
purposes set out in the Telecommunications (Lawful Business Practices) 
(Interception of Communications) Regulations 2000. All statements made in this 
e-mail are subject to contract. The contents are not to be regarded as a 
contractual offer or acceptance. The sender is not authorised to bind Databax 
Ltd. The views expressed in this e-mail are those of the sender and not 
necessarily those of  Databax Ltd.
Feel free to visit the Databax web site at 
www.databax.com  to find out about our range of 
products and services, and for the latest Databax news and information.

<

>Please consider the environment before printing this email.
Timothy Lothering
Solutions Architect
Managed Services

T: +27877415535
F: +27877415100
C: +27824904099
E: tlother...@datacentrix.co.za


DISCLAIMER NOTICE: 

Everything in this e-mail and any attachments relating to the official business 
of Datacentrix Holdings Ltd. and its subsidiaries 
('Datacentrix') is proprietary to Datacentrix. It is confidential, legally 
privileged and protected by law. Datacentrix does not 
own and endorse any other content. Views and opinions are those of the sender 
unless clearly stated as being that of Datacentrix. 
The person addressed in the e-mail is the sole authorised recipient. Please 
notify the sender immediately if it has unintentionally 
reached you and do not read, disclose or use the content in any way. 
Datacentrix cannot assure that the integrity of this communication 
has been maintained nor that it is free of errors, virus, interception or 
interference


Windows Template Question

2014-07-10 Thread John Muckley
Hello Chaps,

I have a question that nobody seems to be able to answer for me, so I thought 
I’d try my luck with you guys.

When I first deployed our CloudStack and captured a windows template, the 
resulting windows VMs would take about 2 minutes from being requested to being 
deployed and up. The problem here was that windows prompted for a product key 
prior to displaying the logon screen and wouldn’t allow logon (either local or 
remote) until that was entered.

Naturally I applied an unattend.xml (pasted Below) to put the product key in 
automatically which solved the problem and made everything work perfectly, 
however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 minutes… 
most of which is a black screen with ‘Preparing your computer for first use’ on 
it.

I realise that 12 minutes isn’t a bad time from request to being online and 
ready, however It would be brilliant if I could get this back down to the 
couple of minutes it was originally.

Any thoughts?

Thanks guys!!


UNATTEND.XML:






true
DBXCloud
DBX
X-X-X-X-X




http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
en-UK
en-UK
en-UK
en-UK

http://schemas.microsoft.com/WMIConfig/2002/State"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

true
true
Work









This is an e-mail from Databax Ltd (Company No.04085248). The contents of this 
e-mail are confidential. Databax Ltd does not accept responsibility for the 
accuracy or completeness of the contents of this e-mail as it has been 
transmitted over a public network.  If you receive this e-mail in error please 
accept our apology. If this is the case we would be obliged if you would 
contact the sender and then delete this e-mail. This e-mail and/or any replies 
to it, and any attachments may be intercepted, copied or monitored by Databax 
Ltd for the purpose of monitoring or keeping record of its business and for the 
purposes set out in the Telecommunications (Lawful Business Practices) 
(Interception of Communications) Regulations 2000. All statements made in this 
e-mail are subject to contract. The contents are not to be regarded as a 
contractual offer or acceptance. The sender is not authorised to bind Databax 
Ltd. The views expressed in this e-mail are those of the sender and not 
necessarily those of  Databax Ltd.
Feel free to visit the Databax web site at 
www.databax.com  to find out about our range of 
products and services, and for the latest Databax news and information.

<

>Please consider the environment before printing this email.


RE: Failed to create Template from all child Snapshots

2014-07-10 Thread Venkata Suneel Babu Mallela
I've checked the ".vhd" and "template.proprties" files on first CloudStack 
setup(Healthy one).

In second CloudStack setup (Unhealthy one) ".vhd" and "template.properties" 
files are not creating while template creation. I'm able to create volumes from 
child snapshots.

The problem only with template creation from child snapshot.

Thank you,
Suneel Mallela

-Original Message-
From: Shweta Agarwal [mailto:shweta.agar...@citrix.com] 
Sent: Thursday, July 10, 2014 12:20 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

You can compare on your two setups whether template.properties files which its 
trying to find and failing to get in case of child snapshot, is available in 
secondary storage at specified location for child snapshots .


 

-Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Thursday, July 10, 2014 12:03 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

Please help me, how to solve this?

Thank you,
Suneel Mallela

-Original Message-
From: Venkata Suneel Babu Mallela 
Sent: Tuesday, July 8, 2014 6:17 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

Thanks for your reply, 

This is happening only for one CloudStack setup. I checked with other 
CloudStack setup, it's working fine.

I compared the following things for both setups,

Cloud database tables   -   cloud.volumes, cloud.snapshots and 
cloud.snapshots
Secondary Storage   -   from SSVM checked the physical vhd files using 
vhd-utils

Please suggest if anything I missed, I'm using ACS 4.2.0 and XenServer 6.0.2, 
6.2.0

Thank you,
Suneel Mallela

-Original Message-
From: Shweta Agarwal [mailto:shweta.agar...@citrix.com] 
Sent: Tuesday, July 8, 2014 5:50 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

This seems like a bug . Please go ahead and file a jira ticket for the same  .


Thanks
Shweta

-Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Tuesday, July 08, 2014 5:13 PM
To: users@cloudstack.apache.org
Subject: Failed to create Template from all child Snapshots

Hi All,

I tried to create a template from a volume snapshot and observed the following 
things.


1.   I'm able to create template from a snapshot which is not having child 
snapshots (Full BackUp).

2.   But, unable to create a template from any child snapshots and I'm keep 
getting the following error for all volumes.

" Failed to create templatejava.io.FileNotFoundException:
/mnt/SecStorage/7123f16b-4d6b-3dba-8554-2b71fdca8511/template/tmpl/58/482/template.properties
(No such file or directory) "

Please help me how to resolve this.

Thank you,
Suneel Mallela


Re: How to change primary storage

2014-07-10 Thread Giri Prasad
I have a new install of CS 4.1 on Ubuntu 12.04 LTS.  I currently dont have any 
vm's or applications or volumes configured or running on the CS 4.1. Basically 
a freshly installed Ubuntu kernel and CS 4.1.


The storage setup on the Ubuntu host pc is

XXX.XXX.1.5:/export/primary on /mnt/primary1

XXX.XXX.1.5:/export/secondary on /mnt/secondary

The external disk (My Book Live disk) is configured as 

XXX.XXX.1.20:/nfs/Public/primary on /mnt/primary

    This external disk is configured in Linux host using : apt-get install 
smbfs. The external disk is mounting and is read/write-able in the Linux host.

Now, I want to add the external disk (XXX.XXX.1.20) as the primary storage and 
remove the (local hdd) primary storage XXX.XXX.1.5:/export/primary.

 So, if I just add the XXX.XXX.1.20  as the primary storage in CS, and remove 
1.5:/export/primary will do? Or some other procedure?


Please take note that I have used only smfs, for mounting.


Regards,




 From: Prashant Kumar Mishra 
To: "d...@cloudstack.apache.org" ; Giri Prasad 
 
Cc: "users@cloudstack.apache.org"  
Sent: Monday, 7 July 2014 10:56 AM
Subject: RE: How to change primary storage
 

Manually changing the db can help you but I prefer These steps ,  can be done  
without any downtime .

1-add http://XXX.XXX.1.20 with /export/dd
2- migrate volumes from http://XXX.XXX.1.5 to http://XXX.XXX.1.20
3-put http://XXX.XXX.1.5 to maintains mode
4- remove http://XXX.XXX.1.5.

thanks

-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] 
Sent: Monday, July 07, 2014 10:48 AM
To: d...@cloudstack.apache.org; Giri Prasad
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

You can probably change the host_address field of the storage_pool table to 
change the IP address of your primary storage.

You will probably want to make sure you don't have any (non-deleted) volumes on 
the storage pool (primary storage) in question, though.

As you likely have seen, the volumes table is linked to the storage_pool table 
via the storage_pool.id and volumes.pool_id fields.

It might be easier for you to create new primary storage and migrate your 
volumes on the old primary storage to the new primary storage.


On Sun, Jul 6, 2014 at 11:07 PM, Giri Prasad 
wrote:

> Thanks.
>
> I want to change the primary storage IP address from 
> http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the 
> primary storage directory, from /export/aa to /export/dd.  What is the 
> procedure?
>
>
>
> 
>  From: Prashant Kumar Mishra 
> To: Giri Prasad ; "d...@cloudstack.apache.org" < 
> d...@cloudstack.apache.org>; "users@cloudstack.apache.org" < 
> users@cloudstack.apache.org>
> Sent: Monday, 7 July 2014 10:30 AM
> Subject: RE: How to change primary storage
>
>
> For error like "The storage pool will not be used but cleanup is needed"
> you should check global settings "global.clenup.interaval " ,For quick 
> cleanup you can set it to 300ms and check  parameter related to 
> cleanup like storage.template.cleanup.enable  , storage cleanup 
> enabled etc. If global settings are properly tuned I don't think  any 
> database modifications required
>
> ->cloud.volume  stores volumes information , if you are not able to 
> ->delete
> storage because"volume still exist on the storage" change the volume 
> state and delete.
>
> -> storage_pool, storage_pool_view  for primary storage
>
> Thanks
> Prashant
>
>
> -Original Message-
> From: Giri Prasad [mailto:g_p...@yahoo.com]
> Sent: Monday, July 07, 2014 10:00 AM
> To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
> users@cloudstack.apache.org
> Subject: Re: How to change primary storage
>
> Hello,
>
> Thanks for suggestion, which I will try.
>
> Btw, I saw a lead as:
> http://comments.gmane.org/gmane.comp.apache.cloudstack.user/7000
> Which says :
>
> when I've had issues deleting primary storages in the past, I've ended 
> up having to delete volumes that were still associated with the 
> datastore from the cloud.volumes table.
>
> Is cloud.volumes the mysql table, where all the primary/secondary 
> storage setups are stored? Or what is the exact db.tablename which 
> stores the primary/secondary storage setups?
>
>
> Regards,
> D.Giriprasad
>
>
>
> - Original Message -
> From: Prashant Kumar Mishra 
> To: "d...@cloudstack.apache.org" ; Giri 
> Prasad < g_p...@yahoo.com>; "users@cloudstack.apache.org" < 
> users@cloudstack.apache.org>
> Cc:
> Sent: Sunday, 6 July 2014 9:42 AM
> Subject: RE: How to change primary storage
>
>
> I would suggest add you new  primary storage ,migrate volumes  from 
> old storage to new storage and  then remove ur old primary storage 
> after enabling  maintenance mode.
>
> Thanks
> Prashant
>
>
>
> -Original Message-
> From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
> Sent: Saturday, July 05, 2014 10:16 AM
> To: users@cloudstack.apache.org; d...@cloudstac

RE: Assign Static IP to a guest VM

2014-07-10 Thread Venkata Suneel Babu Mallela
Thank you very much.

-Original Message-
From: Jayapal Reddy Uradi [mailto:jayapalreddy.ur...@citrix.com] 
Sent: Thursday, July 10, 2014 12:08 PM
To: 
Subject: Re: Assign Static IP to a guest VM

Hi Suneel,

While deploying VM you can specify the ip address for the VM in API.
If the vm is already deployed then you can acquire secondary ip to the nic and 
configure the ip in the VM using ip addr command.

Thanks,
Jayapal


On 10-Jul-2014, at 12:00 PM, Venkata Suneel Babu Mallela 

 wrote:

> Hi All,
> 
> How can I assign my own static IP address to a guest VM from CloudStack UI 
> when DHCP is enabled in the Virtual Router?
> 
> Thank you,
> Suneel Mallela
>