Hi Al,

With XenServer, its always issue with moving bigger volumes. (operation
just times out)

Here are the parameters that worked for me for bigger volume migrations in
past. (You may want to tweak as per your env. may increase a bit. )

migratewait: 36000
storage.pool.max.waitseconds: 36000
wait:18000

*wait *is most critical of all . You need to change this in global config
and this warrants management service restart.


For the VHD chain read -  https://support.citrix.com/article/CTX201296.
Understand this.

First, remove all the unnecessary snaps of disks etc. You need click on
scan (from xencenter) after you remove snap etc.

Good luck


--
Makrand


On Fri, Jul 20, 2018 at 1:12 PM, Alessandro Caviglione <
c.alessan...@gmail.com> wrote:

> Hi guys,
> we need to move all the VM's disk from one storage to another.
> Due to extremely slow performance of the source primary storage, migrate
> VMs and DATA disks from cloudstack does not work because of timeout.
> So, the alternative, is to move VHD files directly between the storage and
> change Cloudstack DB... but I see that each VM has a loooong VHD chain and
> CS DB point to the last one.
> So... first question is: WHY?
> Second question is: how can I consolidate all these files in a single one?
>
> vhd=88e504fa-08e8-4c82-abf6-1ebf8546ade2.vhd capacity=53687091200
> size=18344002048 hidden=1 parent=none
>    vhd=ecc7b0f1-63f1-4aac-9a69-39feb0db0b6e.vhd capacity=53687091200
> size=3526001152 hidden=1 parent=88e504fa-08e8-4c82-abf6-1ebf8546ade2.vhd
>       vhd=73353525-ef56-49db-bfdf-b4e87f668d40.vhd capacity=53687091200
> size=147194368 hidden=1 parent=ecc7b0f1-63f1-4aac-9a69-39feb0db0b6e.vhd
>          vhd=3c9c9803-dbd9-4993-98eb-78f9d5a9dd5a.vhd capacity=53687091200
> size=701923840 hidden=1 parent=73353525-ef56-49db-bfdf-b4e87f668d40.vhd
>             vhd=843874a3-6c2e-4e52-b3fd-f5cf6277d297.vhd
> capacity=53687091200 size=73650688 hidden=1
> parent=3c9c9803-dbd9-4993-98eb-78f9d5a9dd5a.vhd
>                vhd=1abe6e83-09a8-4ee0-a2b7-270b47c7a461.vhd
> capacity=53687091200 size=1235640832 hidden=1
> parent=843874a3-6c2e-4e52-b3fd-f5cf6277d297.vhd
>                   vhd=0cd07d92-d1d0-46f5-bc93-9f49bba72b74.vhd
> capacity=53687091200 size=82055680 hidden=1
> parent=1abe6e83-09a8-4ee0-a2b7-270b47c7a461.vhd
>                      vhd=f038eae3-6912-4d52-a39e-276052dee777.vhd
> capacity=53687091200 size=914149888 hidden=1
> parent=0cd07d92-d1d0-46f5-bc93-9f49bba72b74.vhd
>                         vhd=684abd94-f483-4721-9b1c-b8f82d6b7bd7.vhd
> capacity=53687091200 size=84156928 hidden=1
> parent=f038eae3-6912-4d52-a39e-276052dee777.vhd
>                            vhd=e9e152e4-87bf-430d-8ec6-7f7b0f45c27a.vhd
> capacity=53687091200 size=733442560 hidden=1
> parent=684abd94-f483-4721-9b1c-b8f82d6b7bd7.vhd
>                               vhd=9c01a612-99f7-4ba7-800f-c3c3b9d4b268.vhd
> capacity=53687091200 size=241750528 hidden=1
> parent=e9e152e4-87bf-430d-8ec6-7f7b0f45c27a.vhd
>
>  vhd=74fb956e-1699-481e-8cba-f2a898c5eebf.vhd capacity=53687091200
> size=752353792 hidden=1 parent=9c01a612-99f7-4ba7-800f-c3c3b9d4b268.vhd
>
> vhd=bbb7c296-db11-4989-87ba-ed2e1a0d6dab.vhd capacity=53687091200
> size=105169408 hidden=1 parent=74fb956e-1699-481e-8cba-f2a898c5eebf.vhd
>
>  vhd=d38c45ea-2c3d-42b8-b804-0010e8be2e52.vhd capacity=53687091200
> size=865821184 hidden=1 parent=bbb7c296-db11-4989-87ba-ed2e1a0d6dab.vhd
>
> vhd=1c61f78e-b526-4383-9783-a2f54dad4c53.vhd capacity=53687091200
> size=96764416 hidden=1 parent=d38c45ea-2c3d-42b8-b804-0010e8be2e52.vhd
>
>  vhd=21d75884-4976-400c-92b3-eed01dcbfde5.vhd capacity=53687091200
> size=1204122112 hidden=1 parent=1c61f78e-b526-4383-9783-a2f54dad4c53.vhd
>
> vhd=d9581bd3-c93d-4938-9e59-740fbaff8fb2.vhd capacity=53687091200
> size=96764416 hidden=1 parent=21d75884-4976-400c-92b3-eed01dcbfde5.vhd
>
>  vhd=ba3a708b-932c-4024-9051-9fe30694b03b.vhd capacity=53687091200
> size=912048640 hidden=1 parent=d9581bd3-c93d-4938-9e59-740fbaff8fb2.vhd
>
> vhd=6c75cb97-6f64-4699-a0d4-93f906401e72.vhd capacity=53687091200
> size=98865664 hidden=1 parent=ba3a708b-932c-4024-9051-9fe30694b03b.vhd
>
>  vhd=41960a95-78f6-4e4f-9ec3-2c0d34e0b33f.vhd capacity=53687091200
> size=815391232 hidden=1 parent=6c75cb97-6f64-4699-a0d4-93f906401e72.vhd
>
> vhd=e32e9562-6873-490c-bc03-ecc98dfc95a1.vhd capacity=53687091200
> size=79954432 hidden=1 parent=41960a95-78f6-4e4f-9ec3-2c0d34e0b33f.vhd
>
>  vhd=dd160ab4-ff9a-4da5-a453-a55426393b04.vhd capacity=53687091200
> size=836403712 hidden=1 parent=e32e9562-6873-490c-bc03-ecc98dfc95a1.vhd
>
> vhd=15f9de9c-2da7-469d-9b86-1ccf79064b09.vhd capacity=53687091200
> size=82055680 hidden=1 parent=dd160ab4-ff9a-4da5-a453-a55426393b04.vhd
>
>  vhd=6e87a6c6-9e30-4202-b301-5846d6464241.vhd capacity=53687091200
> size=899441152 hidden=1 parent=15f9de9c-2da7-469d-9b86-1ccf79064b09.vhd
>
> vhd=0743f4d0-cf96-4a5d-97d7-3f5451482eb0.vhd capacity=53687091200
> size=90460672 hidden=1 parent=6e87a6c6-9e30-4202-b301-5846d6464241.vhd
>
>  vhd=09ad513b-2d1d-4878-bd30-12064a989b02.vhd capacity=53687091200
> size=823796224 hidden=1 parent=0743f4d0-cf96-4a5d-97d7-3f5451482eb0.vhd
>
>   vhd=787efd1f-cad7-444c-a30d-8edcfcd2dbc6.vhd capacity=53687091200
> size=105169408 hidden=1 parent=09ad513b-2d1d-4878-bd30-12064a989b02.vhd
>
>      vhd=1e9c643f-551a-425b-abba-e10d03ed7ca8.vhd capacity=53687091200
> size=867922432 hidden=1 parent=787efd1f-cad7-444c-a30d-8edcfcd2dbc6.vhd
>
>         vhd=ffbdd502-4517-484a-b1d3-891e451145b0.vhd capacity=53687091200
> size=979288576 hidden=1 parent=1e9c643f-551a-425b-abba-e10d03ed7ca8.vhd
>
>            vhd=5d5a3373-886b-427c-98bf-01f700cbd861.vhd
> capacity=53687091200 size=1868116480 hidden=0
> parent=ffbdd502-4517-484a-b1d3-891e451145b0.vhd
>

Reply via email to