You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Sanjay Kumar <ss...@gmail.com> on 2024/10/10 19:18:14 UTC

ISCSI WITH KVM

Hi

We are trying to add iscsi with kvm in our infra with multiple host and it
is working with one host only. is there any guide line for iscsi use as
share storage with kvm.

Migration failed.
Exception during migrate: org.libvirt.LibvirtException: Unsafe migration:
Migration without shared storage is unsafe

Any help would be really appreciated. Thank you!

Regards,
SK

Re: ISCSI WITH KVM

Posted by Nux <nu...@li.nux.ro>.
Hi,

How exactly are you trying to use it?
For Cloudstack, you can have 2 options, both not ideal, but better than 
throwing hardware away:
1 - put a cluster filesystem on top of it, ie OCFS2
2 - use cluster aware LVM, ie cLVM

HTH

On 2024-10-10 20:18, Sanjay Kumar wrote:
> Hi
> 
> We are trying to add iscsi with kvm in our infra with multiple host and 
> it
> is working with one host only. is there any guide line for iscsi use as
> share storage with kvm.
> 
> Migration failed.
> Exception during migrate: org.libvirt.LibvirtException: Unsafe 
> migration:
> Migration without shared storage is unsafe
> 
> Any help would be really appreciated. Thank you!
> 
> Regards,
> SK

Re: ISCSI WITH KVM

Posted by Sanjay Kumar <ss...@gmail.com>.
Hello All,

Any help on this?

ACS_Verson: 4.19.1.1

On Fri, Oct 11, 2024 at 12:48 AM Sanjay Kumar <ss...@gmail.com> wrote:

>
> Hi
>
> We are trying to add iscsi with kvm in our infra with multiple host and it
> is working with one host only. is there any guide line for iscsi use as
> share storage with kvm.
>
> Migration failed.
> Exception during migrate: org.libvirt.LibvirtException: Unsafe migration:
> Migration without shared storage is unsafe
>
> Any help would be really appreciated. Thank you!
>
> Regards,
> SK
>
>
>
>
>
>
>
>
>

Re: ISCSI WITH KVM

Posted by Sanjay Kumar <ss...@gmail.com>.
Hello All,

Any help on this?

ACS_Verson: 4.19.1.1

On Fri, Oct 11, 2024 at 12:48 AM Sanjay Kumar <ss...@gmail.com> wrote:

>
> Hi
>
> We are trying to add iscsi with kvm in our infra with multiple host and it
> is working with one host only. is there any guide line for iscsi use as
> share storage with kvm.
>
> Migration failed.
> Exception during migrate: org.libvirt.LibvirtException: Unsafe migration:
> Migration without shared storage is unsafe
>
> Any help would be really appreciated. Thank you!
>
> Regards,
> SK
>
>
>
>
>
>
>
>
>

Re: ISCSI WITH KVM

Posted by Wei ZHOU <us...@gmail.com>.
It looks like a migrate flag UNSAFE needs to set
https://java.libvirt.org/javadoc/org/libvirt/Domain.MigrateFlags.html#UNSAFE

Can you file a github issue ?


-Wei

On Thu, Oct 10, 2024 at 9:18 PM Sanjay Kumar <ss...@gmail.com> wrote:

> Hi
>
> We are trying to add iscsi with kvm in our infra with multiple host and it
> is working with one host only. is there any guide line for iscsi use as
> share storage with kvm.
>
> Migration failed.
> Exception during migrate: org.libvirt.LibvirtException: Unsafe migration:
> Migration without shared storage is unsafe
>
> Any help would be really appreciated. Thank you!
>
> Regards,
> SK
>

Re: ISCSI WITH KVM

Posted by Wei ZHOU <us...@gmail.com>.
It looks like a migrate flag UNSAFE needs to set
https://java.libvirt.org/javadoc/org/libvirt/Domain.MigrateFlags.html#UNSAFE

Can you file a github issue ?


-Wei

On Thu, Oct 10, 2024 at 9:18 PM Sanjay Kumar <ss...@gmail.com> wrote:

> Hi
>
> We are trying to add iscsi with kvm in our infra with multiple host and it
> is working with one host only. is there any guide line for iscsi use as
> share storage with kvm.
>
> Migration failed.
> Exception during migrate: org.libvirt.LibvirtException: Unsafe migration:
> Migration without shared storage is unsafe
>
> Any help would be really appreciated. Thank you!
>
> Regards,
> SK
>

Re: ISCSI WITH KVM

Posted by Nux <nu...@li.nux.ro>.
Hi,

How exactly are you trying to use it?
For Cloudstack, you can have 2 options, both not ideal, but better than 
throwing hardware away:
1 - put a cluster filesystem on top of it, ie OCFS2
2 - use cluster aware LVM, ie cLVM

HTH

On 2024-10-10 20:18, Sanjay Kumar wrote:
> Hi
> 
> We are trying to add iscsi with kvm in our infra with multiple host and 
> it
> is working with one host only. is there any guide line for iscsi use as
> share storage with kvm.
> 
> Migration failed.
> Exception during migrate: org.libvirt.LibvirtException: Unsafe 
> migration:
> Migration without shared storage is unsafe
> 
> Any help would be really appreciated. Thank you!
> 
> Regards,
> SK