cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingärtner <rafaelweingart...@gmail.com>
Subject Re: Change scope of storage pool
Date Thu, 06 Apr 2017 14:58:19 GMT
This is another way to go. However, it is quite a hacking.
Do not forget that the hypervisor you are using has to have zone wide
primary storage support from ACS. I am not sure if every hypervisor has
such support.

On Thu, Apr 6, 2017 at 10:50 AM, Sergey Levitskiy <
Sergey.Levitskiy@autodesk.com> wrote:

> We made such changes once. You can run the following update statement
> against ACS DB and then un-manage/mange all clusters in the zone (replace
> vmware with your hypervisor name e.g Xen, KVM). Workjed just fine. Please
> test it in the Lab first.
>
> update storage_pool set scope=’ ZONE’, hypervisor=’VMware’, pod_id=null,
> cludter_id=null where uuid=’ XXXXXXXXXXXXXXX’
>
>
>
> On 4/6/17, 7:10 AM, "Rafael Weingärtner" <rafaelweingartner@gmail.com>
> wrote:
>
>     Cannot you plugin the new storage and then migrate VMs volumes for
> this new
>     one?
>     There is a command in the API that does just that:
>     https://cloudstack.apache.org/api/apidocs-4.9/apis/migrateVolume.html
>
>     2017-04-06 10:02 GMT-04:00 Ugo Vasi <ugo.vasi@procne.it>:
>
>     > Hello guys,
>     > I would like to know if it's possible change the scope of a storage
> pool
>     > (primary storage server) from CLUSTER to ZONE.
>     > I need to migrate some vm from an old storage to new one but the
> scope
>     > differ.
>     >
>     > Regards
>     > Ugo
>     >
>     > --
>     >
>     >   U g o   V a s i    <ugo.vasi@procne.it>
>     >   P r o c n e  s.r.l    >)
>     >   via Cotonificio 45  33010 Tavagnacco IT
>     >   phone: +390432486523 fax: +390432486523
>     >
>     > Le informazioni contenute in questo messaggio sono riservate e
>     > confidenziali ed è vietata la diffusione in qualunque modo eseguita.
>     > Qualora Lei non fosse la persona a cui il presente messaggio è
>     > destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
>     > gentilmente comunicazione.
>     > Per qualsiasi informazione si prega di contattare support@procne.it
> .
>     > Rif. D.L. 196/2003
>     >
>     >
>
>
>     --
>     Rafael Weingärtner
>
>
>


-- 
Rafael Weingärtner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message