Re: Help with CloudStack using Local Storage
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 >
Re: Help with CloudStack using Local Storage
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: Help with CloudStack using Local Storage
> > 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
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: Help with CloudStack using Local Storage
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<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<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.
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
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<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<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.
Re: Help with CloudStack using Local Storage
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
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
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<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<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.
Re: Help with CloudStack using Local Storage
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: Help with CloudStack using Local Storage
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<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<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.
Re: Help with CloudStack using Local Storage
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
On Thu, Jul 10, 2014 at 11:25 PM, Suresh Sadhu wrote: > 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. > Thanks -- Hollman Eduardo Enciso R. http://algolibre.com @hollman
Re: Help with CloudStack using Local Storage
On Fri, Jul 11, 2014 at 12:01 AM, Harikrishna Patnala < harikrishna.patn...@citrix.com> wrote: > 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) > thanks a lot. it works now :D -- Hollman Eduardo Enciso R. http://algolibre.com @hollman