You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Alessandro Caviglione <c....@gmail.com> on 2021/05/07 08:22:16 UTC

Primary storage migration

Hi guys,
I've a big doubt for next few weeks.
Actually we're running CS 4.13 and one of the cluster we're managing is
based on xenserver 7.2.
Today, primary storage is provided through NFS share in 192.168.200.x
subnet but we've want to migrate to another storage that provide iSCSI lun
on 10.0.0.x subnet.
This iscsi subnet is an isolated subnet so no routing is possible.
What you suggests to do?
Is it possible to add a couple of nics to xenserver for iscsi and manage it
on CS?

Thank you!

RE: [!!Mass Mail]Primary storage migration

Posted by Дикевич Евгений Александрович <ev...@becloud.by>.
Hi
You can add new iSCSI SR in Xenserver Center and then add new Primary Storage in CS (PreSetup). If needed you can migrate VM from one datastore to another.

-----Original Message-----
From: Alessandro Caviglione [mailto:c.alessandro@gmail.com]
Sent: Friday, May 7, 2021 11:22 AM
To: users@cloudstack.apache.org
Subject: [!!Mass Mail]Primary storage migration

Hi guys,
I've a big doubt for next few weeks.
Actually we're running CS 4.13 and one of the cluster we're managing is based on xenserver 7.2.
Today, primary storage is provided through NFS share in 192.168.200.x subnet but we've want to migrate to another storage that provide iSCSI lun on 10.0.0.x subnet.
This iscsi subnet is an isolated subnet so no routing is possible.
What you suggests to do?
Is it possible to add a couple of nics to xenserver for iscsi and manage it on CS?

Thank you!
Внимание!
Это электронное письмо и все прикрепленные к нему файлы являются конфиденциальными и предназначены исключительно для использования лицом (лицами), которому (которым) оно предназначено. Если Вы не являетесь лицом (лицами), которому (которым) предназначено это письмо, не копируйте и не разглашайте его содержимое и удалите это сообщение и все вложения из Вашей почтовой системы. Любое несанкционированное использование, распространение, раскрытие, печать или копирование этого электронного письма и прикрепленных к нему файлов, кроме как лицом (лицами) которому (которым) они предназначены, является незаконным и запрещено. Принимая во внимание, что передача данных посредством Интернет не является безопасной, мы не несем никакой ответственности за любой потенциальный ущерб, причиненный в результате ошибок при передаче данных или этим сообщением и прикрепленными к нему файлами.

Attention!
This email and all attachments to it are confidential and are intended solely for use by the person (or persons) referred to (mentioned) as the intended recipient (recipients). If you are not the intended recipient of this email, do not copy or disclose its contents and delete the message and any attachments to it from your e-mail system. Any unauthorized use, dissemination, disclosure, printing or copying of this e-mail and files attached to it, except by the intended recipient, is illegal and is prohibited. Taking into account that data transmission via Internet is not secure, we assume no responsibility for any potential damage caused by data transmission errors or this message and the files attached to it.

Re: Primary storage migration

Posted by Alessandro Caviglione <c....@gmail.com>.
Yes, no problem to change the port from access to trunk, but I'm not sure
where I can create another interface with tagged VLAN on xenserver...

On Fri, May 7, 2021 at 11:15 AM Alex Mattioli <Al...@shapeblue.com>
wrote:

> Hi Alessandro,
>
> If the switchports for storage are in access mode then indeed you can't
> present another VLAN there.
> You might be able to create a new logical interface on Xen in the same
> VLAN with the new IP range, but that's not something I've tried before
> (works fine on ESX and KVM though).
>
> I'd always recommend to use Trunked ports everywhere, keeping your L2
> fabric as simple as possible and all the intelligence down in the
> hypervisor and not in the switch, this gives you much more flexibility. But
> of course, other ways of setting up are always valid, that's just my
> preferred one based on experience.
>
> Regards,
> Alex
>
>
>
>
> -----Original Message-----
> From: Alessandro Caviglione <c....@gmail.com>
> Sent: 07 May 2021 10:50
> To: users@cloudstack.apache.org
> Subject: Re: Primary storage migration
>
> Thank you Alex,
> iscsi subnet is present on same switch fabric so we can add it, but since
> xenserver port are actually in ACCESS with specific VLAN, how can I add an
> IP with a tagged VLAN on xenserver?
>
> On Fri, May 7, 2021 at 10:29 AM Alex Mattioli <Alex.Mattioli@shapeblue.com
> >
> wrote:
>
> > Hi Alessandro,
> >
> > Is the new iSCSI subnet present in the same L2 switching fabric? In
> > that case you just need  a VLAN interface on the 10.0.0.x network. If
> > it is in a separate switching fabric then you can add a couple extra
> > NICs to your host and connect to that network.
> >
> > Migration wise, as long as the XenServer host can mount SRs from both
> > storage servers then it should be able to migrate your VMs and volumes
> > across.
> >
> > Regards,
> > Alex
> >
> >
> >
> >
> > -----Original Message-----
> > From: Alessandro Caviglione <c....@gmail.com>
> > Sent: 07 May 2021 10:22
> > To: users@cloudstack.apache.org
> > Subject: Primary storage migration
> >
> > Hi guys,
> > I've a big doubt for next few weeks.
> > Actually we're running CS 4.13 and one of the cluster we're managing
> > is based on xenserver 7.2.
> > Today, primary storage is provided through NFS share in 192.168.200.x
> > subnet but we've want to migrate to another storage that provide iSCSI
> > lun on 10.0.0.x subnet.
> > This iscsi subnet is an isolated subnet so no routing is possible.
> > What you suggests to do?
> > Is it possible to add a couple of nics to xenserver for iscsi and
> > manage it on CS?
> >
> > Thank you!
> >
>

RE: Primary storage migration

Posted by Alex Mattioli <Al...@shapeblue.com>.
Hi Alessandro,

If the switchports for storage are in access mode then indeed you can't present another VLAN there.
You might be able to create a new logical interface on Xen in the same VLAN with the new IP range, but that's not something I've tried before (works fine on ESX and KVM though). 

I'd always recommend to use Trunked ports everywhere, keeping your L2 fabric as simple as possible and all the intelligence down in the hypervisor and not in the switch, this gives you much more flexibility. But of course, other ways of setting up are always valid, that's just my preferred one based on experience.

Regards,
Alex

 


-----Original Message-----
From: Alessandro Caviglione <c....@gmail.com> 
Sent: 07 May 2021 10:50
To: users@cloudstack.apache.org
Subject: Re: Primary storage migration

Thank you Alex,
iscsi subnet is present on same switch fabric so we can add it, but since xenserver port are actually in ACCESS with specific VLAN, how can I add an IP with a tagged VLAN on xenserver?

On Fri, May 7, 2021 at 10:29 AM Alex Mattioli <Al...@shapeblue.com>
wrote:

> Hi Alessandro,
>
> Is the new iSCSI subnet present in the same L2 switching fabric? In 
> that case you just need  a VLAN interface on the 10.0.0.x network. If 
> it is in a separate switching fabric then you can add a couple extra 
> NICs to your host and connect to that network.
>
> Migration wise, as long as the XenServer host can mount SRs from both 
> storage servers then it should be able to migrate your VMs and volumes 
> across.
>
> Regards,
> Alex
>
>
>
>
> -----Original Message-----
> From: Alessandro Caviglione <c....@gmail.com>
> Sent: 07 May 2021 10:22
> To: users@cloudstack.apache.org
> Subject: Primary storage migration
>
> Hi guys,
> I've a big doubt for next few weeks.
> Actually we're running CS 4.13 and one of the cluster we're managing 
> is based on xenserver 7.2.
> Today, primary storage is provided through NFS share in 192.168.200.x 
> subnet but we've want to migrate to another storage that provide iSCSI 
> lun on 10.0.0.x subnet.
> This iscsi subnet is an isolated subnet so no routing is possible.
> What you suggests to do?
> Is it possible to add a couple of nics to xenserver for iscsi and 
> manage it on CS?
>
> Thank you!
>

Re: Primary storage migration

Posted by Alessandro Caviglione <c....@gmail.com>.
Thank you Alex,
iscsi subnet is present on same switch fabric so we can add it, but since
xenserver port are actually in ACCESS with specific VLAN, how can I add an
IP with a tagged VLAN on xenserver?

On Fri, May 7, 2021 at 10:29 AM Alex Mattioli <Al...@shapeblue.com>
wrote:

> Hi Alessandro,
>
> Is the new iSCSI subnet present in the same L2 switching fabric? In that
> case you just need  a VLAN interface on the 10.0.0.x network. If it is in a
> separate switching fabric then you can add a couple extra NICs to your host
> and connect to that network.
>
> Migration wise, as long as the XenServer host can mount SRs from both
> storage servers then it should be able to migrate your VMs and volumes
> across.
>
> Regards,
> Alex
>
>
>
>
> -----Original Message-----
> From: Alessandro Caviglione <c....@gmail.com>
> Sent: 07 May 2021 10:22
> To: users@cloudstack.apache.org
> Subject: Primary storage migration
>
> Hi guys,
> I've a big doubt for next few weeks.
> Actually we're running CS 4.13 and one of the cluster we're managing is
> based on xenserver 7.2.
> Today, primary storage is provided through NFS share in 192.168.200.x
> subnet but we've want to migrate to another storage that provide iSCSI lun
> on 10.0.0.x subnet.
> This iscsi subnet is an isolated subnet so no routing is possible.
> What you suggests to do?
> Is it possible to add a couple of nics to xenserver for iscsi and manage
> it on CS?
>
> Thank you!
>

RE: Primary storage migration

Posted by Alex Mattioli <Al...@shapeblue.com>.
Hi Alessandro,

Is the new iSCSI subnet present in the same L2 switching fabric? In that case you just need  a VLAN interface on the 10.0.0.x network. If it is in a separate switching fabric then you can add a couple extra NICs to your host and connect to that network.

Migration wise, as long as the XenServer host can mount SRs from both storage servers then it should be able to migrate your VMs and volumes across.

Regards,
Alex

 


-----Original Message-----
From: Alessandro Caviglione <c....@gmail.com> 
Sent: 07 May 2021 10:22
To: users@cloudstack.apache.org
Subject: Primary storage migration

Hi guys,
I've a big doubt for next few weeks.
Actually we're running CS 4.13 and one of the cluster we're managing is based on xenserver 7.2.
Today, primary storage is provided through NFS share in 192.168.200.x subnet but we've want to migrate to another storage that provide iSCSI lun on 10.0.0.x subnet.
This iscsi subnet is an isolated subnet so no routing is possible.
What you suggests to do?
Is it possible to add a couple of nics to xenserver for iscsi and manage it on CS?

Thank you!