On Monday 23 February 2015 03:01 PM, Devdeep Singh wrote:
Hi,

I was looking into implementing the ability to disable a storage pool for 
provisioning. I could think of two ways to do it

1. CloudStack admin could add a 'disabled' tag on the storage pool. The storage 
pool allocators would skip the pools for allocating volumes with the 'disabled' 
tag.
2. Other option would be to add 'Disabled' as one of the states of storage pool. This could be a state in 
addition to "Up", "Maintenance" etc. A storage pool in "Disabled" state will 
not be picked up for provisioning volumes. This would require new apis for disabling/enabling storage pool.


The first way is definitely bad, by relying on a tag which can be
modified by users.

The second way is more sane to add a state and use that state suitably
to reflect state of a storage pool.

Thoughts, comments?

Regards,
Devdeep

-----Original Message-----
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
Sent: Monday, February 23, 2015 3:48 AM
To: d...@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: Disable primary storage, not delete...

For my suggestion to work, though, your compute and disk offerings have to
be set up currently to make use of one or more storage tags.

The idea is then that these offerings would require your primary storage to
have a given tag or tags and it never will (effectively disabling that primary
storage from being used with your offerings).

On Sunday, February 22, 2015, Mike Tutkowski
<mike.tutkow...@solidfire.com>
wrote:

What about changing the storage tags field of your primary storage so
it doesn't serve as a match for any compute or disk offering?

On Sunday, February 22, 2015, Andrija Panic <andrija.pa...@gmail.com
<javascript:_e(%7B%7D,'cvml','andrija.pa...@gmail.com');>> wrote:

Hi folks,

I was wondering is it safe to change the Cluster Wide primary storage
to a Zone Wide primary storage (change the database,
cloud.storage_pool). This is ACS 4.3.0


Or actually better question - since I have some old NFS servers exist
as Primary Storage - is there any way to exclude this NFS (Cluster
Wide)  - or disable it, so the new Volume Uploads will not use that
NFS storage...

This is some trail from the history, that I can't really delete, but
would like to completely disable further usage of this NFS server...
if possible at all...

THanks,


--

Andrija Panić



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
<javascript:_e(%7B%7D,'cvml','mike.tutkow...@solidfire.com');>
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
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 Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
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 
SA Pty Ltd is a company registered by The Republic of South Africa and is traded 
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to